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

rpjoseph_at_gmail.com
Date: 02/16/05

  • Next message: netnews.agilent.com: "Re: Does anyone knows how to install the Time::HiRes Module?"
    Date: 16 Feb 2005 14:32:17 -0800
    
    

    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.


  • Next message: netnews.agilent.com: "Re: Does anyone knows how to install the Time::HiRes Module?"

    Relevant Pages

    • PHP XML-RPC client to Perl Web Service under MS IIS 4
      ... I have a web service written in Perl, which uses Frontier::RPC2, and ... I can access the web service using a client written ... MS IIS 4 or Apache on Linux. ... When I run the PHP client script, ...
      (comp.lang.php)
    • Frontier::RPC2 server on IIS inaccessible by PHP client
      ... I have a web service written in Perl, which uses Frontier::RPC2, and ... I can access the web service using a client written ... MS IIS 4 or Apache on Linux. ... When I run the PHP client script, ...
      (comp.lang.perl.modules)
    • Accessing .NET web service from Perl (SOAP::Lite) client
      ... I am trying to access a .NET web service using both a Perl ... The call from Web Service Studio ...
      (microsoft.public.dotnet.framework.aspnet.webservices)
    • SMS in Perl using a Web service
      ... There's been a few requests for sending SMS via Perl. ... sample code that uses a Web service to send SMS in Perl with coverage ... # Download the free Web Services Analyzer to interactively invoke this ... # Registered Users: Use your UserID and Password with this code instead ...
      (comp.lang.perl.misc)
    • Re: Execute Windows program from Perl script (??)
      ... Tony McGuire wrote: ... Perl is up to the task. ... Doing it via web request is the problem. ... web service uses is not an administrator. ...
      (comp.lang.perl.misc)