The operations which have multiple arguments are not recognized when using WL 10.3 WSDL . How to make VA generated operations/method with multiple arguments for SOAP 2.0.
WSDL generated by WL(Web Logic) 10.3 is using SOAP 2.0 (Style Documenet/ literal )
WSDLgenerated by WL 8.1.6 is using SOAP 1.x. (Style RCP/encodeing)
WL 8.1.6 - SOAP 1.1
VA parses WSDL and uses "Part" element and replaces "with:"
so smalltalk generates method "createTransaction: with:" from the following elements of the WSDL using (SstWSWsdlStrategy>>createDeploymentDescriptor:)
- <message name="createTransaction">
<part xmlns:partns="java:com.capgroup.afs.webservices" name="aFSBlisRequest" type="partns:AFSBlisRequest" />
<part xmlns:partns="java:com.capgroup.afs.lampdb" name="cASTransaction" type="partns:CASTransaction" />
</message>
WL 10.3 - SOAP 2.0
- <s0:message name="createTransaction">
<s0:part element="s1:createTransaction" name="parameters" />
</s0:message>
Smalltalk only generates createTransaction: one agruments.
1.Following is the smalltalk code works for WL8.1.6 generated WSDL not WL 10.3 what can be changed?
Container
SstWSContainer
containerNamed: 'ClientContainer'
ifNone: [SstWSContainer createContainerNamed: 'ClientContainer']
Creating service
[aService := (self container deploy: self class LampOracleWebServicesWSDL) first]
when: SgmlException
do:[Exception block]
aService isNil ifTrue:[self service: (
((self container managerNamed: ##wsServiceDefinitionsManager) managedObjects)
objectNamed: 'casWs'
inNamespace: 'http://dev:1080/casservice/casservice')]
ifFalse:[self service:aService].
Using default Strategy. Also tried SstWSWsdlStrategy
2. Is the following code VA bug?
SstWSDeploymentManager>>strategyForUrl:
Method below expects URL to have a .wsdl extension. I changed to follow
to work with my URL http://dev:1080/casservice/casservice?wsdl
=======================================
strategyForUrl: aUrl
^ ( self class strategyFor: (aUrl subStrings: $? ) last ) ifNil:[ self indeterminateDeploymentStrategy ]
========================================
Any info will help
Thanks