System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: COMMERCE-ERR:For input string: “” faultcode=soapenv:Server faultactor= in Salesforce

System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: COMMERCE-ERR:For input string: “” faultcode=soapenv:Server faultactor= in Salesforce

1. Do the SOAP Call Out from tools like SOAP UI and make sure it is working.

2. Try to do the call out from developer console.

The debug log will include the CALLOUT_REQUEST and CALLOUT_RESPONSE messages that will include the raw SOAP request and response.

Log level “callout” Includes the request-response XML that the server is sending and receiving from an external web service. Useful when debugging issues related to using Lightning Platform web service API calls or troubleshooting user access to external objects via Salesforce Connect.

Leave a Reply