firstaspect has asked for the wisdom of the Perl Monks concerning the following question:
I'm using the following code to try to generate that same thing for SOAP::Lite:<ListOfAccountContactInterface> <Account> <CompanyId>1029843</ConnectCompanyId> <ListOfContact> <Contact> <ContactId>CON12347</ContactId> </Contact> </ListOfContact> </Account> </ListOfAccountContactInterface>
But then when I pass that through SOAP::Lite using the below it just gets left out of the request header:my $param = SOAP::Data->name("ListOfAccountContactInterface" => \SOAP: +:Data->value( SOAP::Data->name("Account" => \SOAP::Data->value( SOAP::Data->name("CompanyId" => '1029843'), SOAP::Data->name("ListOfContact" => \SOAP::Data->value( SOAP::Data->name("Contact" => \SOAP::Data->value( SOAP::Data->name("<ContactId>" => 'CON12347') )) )) )) ));
Hope that makes sense, and any help would be greatfully received.my $soap_result = SOAP::Lite -> service('file:/home/wsdl/Contact_Interface.wsdl') -> ContactInsertOrUpdate($param);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Soap::Lite and Complex Types with WSDL
by Anonymous Monk on May 11, 2011 at 14:19 UTC | |
by firstaspect (Initiate) on May 11, 2011 at 14:27 UTC | |
by Anonymous Monk on May 11, 2011 at 14:34 UTC | |
by firstaspect (Initiate) on May 11, 2011 at 14:37 UTC | |
by Anonymous Monk on May 11, 2011 at 14:41 UTC | |
|