I am having problems in connecting to a SOAP containing the following code:-
<soapenv:Envelope xmlns:soapenv=" xmlns:typ=" <soapenv:Header/>
<soapenv:Body>
<typ
ing>
<PingRQ_1>
<agencyCode>?</agencyCode>
<brandCode>?</brandCode>
<pointOfSaleId>?</pointOfSaleId>
</PingRQ_1>
</typ
ing>
</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.
<soapenv:Envelope xmlns:soapenv=" xmlns:typ=" <soapenv:Header/>
<soapenv:Body>
<typ
<PingRQ_1>
<agencyCode>?</agencyCode>
<brandCode>?</brandCode>
<pointOfSaleId>?</pointOfSaleId>
</PingRQ_1>
</typ
</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.