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

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

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
                <soap:body namespace="InputMessageNamespace"
parts="SSMReqHeader Payload" use="literal"/>
                <soap:body namespace="OutputMessageNamespace"
parts="SSMResponseHeader SSMResponseMessageStatus" use="literal"/>
            <wsdl:fault name="ProductDetailsFaultMessage">
                <soap:fault name="ProductDetailsFaultResponse"
namespace="FaultMessageNamespace" use="literal"/>

So in Perl I have no problem accessing the method

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 ->

    my $result = $productMessage -> UpsertProductDetails(

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.

Site Timeline