Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to SOAP

Status
Not open for further replies.

MinalMoe

IS-IT--Management
Mar 25, 2004
62
GB
I am having problems in connecting to a SOAP containing the following code:-

<soapenv:Envelope xmlns:soapenv=" xmlns:typ=" <soapenv:Header/>
<soapenv:Body>
<typ:ping>
<PingRQ_1>
<agencyCode>?</agencyCode>
<brandCode>?</brandCode>
<pointOfSaleId>?</pointOfSaleId>
</PingRQ_1>
</typ:ping>
</soapenv:Body>
</soapenv:Envelope>

I am using the following code in MX7 to connect to it:-

<cfscript>
SOAP_Transfer = structnew();
SOAP_Transfer.agencyCode="5985";
SOAP_Transfer.brandCode="1";
SOAP_Transfer.pointOfSaleId="1";
SOAP_Transfer.language="en";
</cfscript>

<cfinvoke
webservice=" method="ping"
returnvariable="aPingRS">
<cfinvokeargument name="pingRQ_1" value="#SOAP_Transfer#"/>
</cfinvoke>

I get an error message:-

Web service operation "ping" with parameters {pingRQ_1={{BRANDCODE={1},LANGUAGE={en},POINTOFSALEID={1},AGENCYCODE={5985},}},} could not be found.

Any ideas on why it's not working?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top