TIA, but currently I am trying to make a soap call to an API and I am not able to get the soap body to conform properly.
The current soap body that I am generating is
Expand|Select|Wrap|Line Numbers
- <SOAP-ENV:Body>
- <ns1:CancelEnhancedListing xsi:type="ns1:135">
- <item><key>ListingID</key><value>12</value></item>
- </ns1:CancelEnhancedListing>
- </SOAP-ENV:Body>
Expand|Select|Wrap|Line Numbers
- <soap:Body>
- <ns1:CancelEnhancedListing xmlns="mynamespace">
- <Arguments>
- <ListingID>int</ListingID>
- </Arguments>
- </ns1:CancelEnhancedListing>
- </soap:Body>
This is what I have so far with somethings hidden for specific reasons
[PHP]
$param = new SoapVar(array('ListingID'=> 12), null, XSD_INT, "mynamespace");
client = new SoapClient('my wsdl location', array('trace'=>1));
$result = $client->CancelEnhancedListing($param);
[/PHP]
Thanks again for all your help,
Joe