|
The data that I am sending to it does not reference
a type, though, what the server is looking for is:
<otherParams xsi:type="soapenc:Array"
soapenc:arrayType="xsd:anyType[5]" xmlns:soapenc="http://schemas.xmlsoaporg/soap/encoding/">
<item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[2]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding"> <item xsi:type="xsd:string">domain_name</item> <item xsi:type="xsd:string">tyfdwefgdytwed.weduhwe</item> </item> <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[2]" xmlns:ns3="http://www.w3.org/2002/12/soap-encoding"> <item xsi:type="xsd:string">seller_id</item> <item xsi:type="xsd:string">1</item> </item> </otherParams> Here is my code:
my $otherparams = SOAP::Data->name('otherParams'
=>
\SOAP::Data->value( SOAP::Data->name("item" => \SOAP::Data->value( SOAP::Data->type('string')->name('item' => 'domain_name'), #domain name SOAP::Data->type('string')->name('item' => 'xmltester.com') #domain name ) ), SOAP::Data->name("item" => \SOAP::Data->value( SOAP::Data->type('string')->name('item' => 'seller_id'), #???? SOAP::Data->type('string')->name('item' => '0') #???? ) ) ); There is a corresponding wsdl file, though, the
server admin hasn't loaded it yet. I placed a copy of it on my site and tried to
refernce my copy with no luck. Don't know if that would even be
helpful.
Thanks for the help,
Tom
|
