function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ron WildRon Wild 

Debugging Web Services Calls in Eclipse?

    I'm getting the following error when I invoke a web service using the Apex classes generated from a WSDL and need to dig into the actual soap header being returned.

20080222192322.832:Class.pmt.apiAuthorizeNetSoapV1.ServiceSoap.CreateCustomerProfile: line 812, column 13:     Created Web Service callout to endpoint: https://api.authorize.net/soap/v1/Service.asmx
20080222192322.832:Class.pmt.apiAuthorizeNetSoapV1.ServiceSoap.CreateCustomerProfile: line 812, column 13:     Sending callout request
20080222192322.832:Class.pmt.apiAuthorizeNetSoapV1.ServiceSoap.CreateCustomerProfile: line 812, column 13:     Reading callout response
System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element https://api.authorize.net/soap/v1/=resultCode

Is there a way to dump the soap header to my debug log inside eclipse?

And is there documentation on the Apex WebServiceCallout.invoke method?


e r i c.ax249e r i c.ax249
Everyone who reaches this thread with the same question, please promote this:  http://ideas.salesforce.com/article/show/10098116