montaseri has asked for the wisdom of the Perl Monks concerning the following question:
I have simplified this request, but sufice to say that getAllLocalGroups() method is supposed to take an unsignedShort. The WSDL defines the request as<S:Body> <getAllLocalGroups xmlns="http://www.xxx.com">1</getAllLocalGroups> </S:Body>
And the style is literal/document-wrapped. Currently, my unit test client is generating a payload like<xs:element name="getAllLocalGroups" type="xs:unsignedShort"/>
Note how evsId is a nested element under getAllLocalGroups(). But can I somehow force SOAP::Lite to compose the request the way I want it, i.e use the methodName and place value of evsId in methodName element. Thanks Medi<soap:Body> <ns0:getAllLocalGroups xmlns:ns0="http://www.bluearc.com/BAService +/LocalGroupProvider"> <ns0:evsId xsi:type="xsd:unsignedShort">1</ns0:evsId> </ns0:getAllLocalGroups> </soap:Body>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP::Lite method with one param
by Anonymous Monk on Jan 20, 2015 at 03:29 UTC | |
by Anonymous Monk on Jan 20, 2015 at 03:32 UTC | |
by montaseri (Initiate) on Jan 21, 2015 at 21:03 UTC | |
by montaseri (Initiate) on Jan 21, 2015 at 21:18 UTC | |
by Anonymous Monk on Jan 21, 2015 at 21:51 UTC | |
by montaseri (Initiate) on Jan 22, 2015 at 02:22 UTC | |
by Anonymous Monk on Jan 22, 2015 at 03:38 UTC | |
|