Click here to get back home

SOAP::Lite WSDL method with multiple soap:body parts

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
SOAP::Lite WSDL method with multiple soap:body parts rpjoseph 02-16-2005
Posted by rpjoseph on February 16, 2005, 3:32 pm
Please log in for more thread options


Hi. I am attempting to consume a web service via Perl and SOAP::Lite.
I utilize WSDL as an API for the Web Service. I have rtfm'd over and
over again and can't find any help on this particular problem (even
though I know it must be simple)...

The WSDL method looks like so:

<wsdl:operation name="UpsertProductDetails">
<wsdl:documentation>The operation has no
documentation</wsdl:documentation>
<soap:operation
soapAction="/ProcessDefinitions/km/KMProductsSOAPReceiver"
style="document"/>
<wsdl:input>
<soap:body namespace="InputMessageNamespace"
parts="SSMReqHeader Payload" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body namespace="OutputMessageNamespace"
parts="SSMResponseHeader SSMResponseMessageStatus" use="literal"/>
</wsdl:output>
<wsdl:fault name="ProductDetailsFaultMessage">
<soap:fault name="ProductDetailsFaultResponse"
namespace="FaultMessageNamespace" use="literal"/>
</wsdl:fault>
</wsdl:operation>

So in Perl I have no problem accessing the method
'UpsertProductDetails'

My problem is when I am trying to build the two separate elements
'SSMReqHeader' and 'Payload'. I just don't know how to access them.

My Perl looks like:
my $productMessage = SOAP::Lite ->
service("http://$requestingServer/cct_product_details_client.wsdl");

        my $result = $productMessage -> UpsertProductDetails(
#listofvalues;
);

I of course need to reference the two different elements so that my
body envelope has the two different elements - but I don't know how.

Please let me know if I did not provide enough information and THANK
YOU for any help.



Similar ThreadsPosted
SOAP::Lite and WSDL namespace - please help November 4, 2005, 10:43 am
SOAP::Lite and .wsdl files April 7, 2006, 11:36 am
SOAP::Lite POD::WSDL and .NET clients April 25, 2007, 12:41 pm
How to generate WSDL file from SOAP::Lite May 25, 2007, 5:48 am
SOAP::LITE Can't read entity body July 1, 2005, 5:34 pm
SOAP::Lite : Problem of # sign added by SOAP::Lite in the sent SOAPActionstring November 5, 2004, 8:45 pm
Writing a HTML/ASP SOAP client for a SOAP::Lite destination March 16, 2005, 5:19 pm
RFC: SOAP module with implicit WSDL generation April 4, 2008, 2:38 pm
SOAP::WSDL error accessing remote site. July 19, 2007, 3:14 am
Help with SOAP::Lite January 19, 2005, 11:35 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap