From: Charles <cha...@gm...> - 2008-02-20 23:02:19
|
Hi all, I am trying to create a SOAP request with the following schema: SOAPAction: "http://paypercall.ingenio.com/ListingsQuery" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <IngenioHeader xmlns="some namespace"> <pid>string</pid> <secCode>string</secCode> <version>string</version>xml </IngenioHeader> </soap:Header> <soap:Body> <listingsReq xmlns="some namespace"> <totalListingsCountLimit>int</totalListingsCountLimit> <ipAddress>string</ipAddress> </listingsReq> </soap:Body> </soap:Envelope> The problem is that the SOAPAction function is called ListingsQuery, so in the <soap:Body> I get an object named <ListingsQuery>. I know that you can use on_action to overwrite this, but how do I do this? At best, I've gotten the following structure: <soap:Body> <ListingsQuery xmlns="..."> <listingsReq xmlns="..."> ... </listingsReq> <ListingsQuery> </soap:Body> I'm not sure if I explained this well enough, but any help or example code would be greatly appreciated. Thanks! -Charles |