Reply
Member
Posts: 3
Registered: ‎06-14-2013

Help with error message trying to intergate with Ax 2009

    xmlUrl          = 'https://apitest.authorize.net/soap/v1/Service.asmx'; // Set the URL
    interopPermission = new InteropPermission(InteropKind::ComInterop);
    InteropPermission.assert();
    objXHTTP = new COM(#serverxmlHttp);
    objXHTTP.settimeouts(#xmlResolve, #xmlConnect, #xmlSend, #xmlReceive);
    objXHTTP.Open("POST", xmlUrl, false);
    objXHTTP.setRequestHeader("Content-Type", "text/xml");
    objXHTTP.setRequestHeader("SOAPAction", "https://apitest.authorize.net/soap/v1/#CreateCustomerProfile"); 

 

The new error is as follows:

 

Server did not recognize the value of HTTP Header SOAPAction: https://apitest.authorize.net/soap/v1/#CreateCustomerProfile

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Help with error message trying to intergate with Ax 2009

If you going to send xml, why not use the CIM XML?

Member
Posts: 3
Registered: ‎06-14-2013

Re: Help with error message trying to intergate with Ax 2009

What do you mean by using CIM XML.. Do you have an example?

 

Thanks

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Help with error message trying to intergate with Ax 2009