Support Article

Connect-SOAP rule throws RemoteApplicationException



When you invoke a Connect-SOAP rule, it fails with the below error.

Error Messages

Error in JSP execution SOAP service failed

Steps to Reproduce

1) Invoke a Connect-SOAP rule

Root Cause

The out of the box Soap connect activity in PRPC throuws RemoteApplicationException when the response from the SOAP service provider is not null and not a Java IO exception. The behavior is as per design of the activity invokeAxis2 and not a bug. To prevent the RemoteApplicationException we need to update the invokeAxis2 step 15 to Handel the customer specific error response   


Perform the following local-change: 

Modify invokeAxis2 step # 15 code and replace

throw new RemoteApplicationException("SOAP service failed", e);
oLog.error("SOAP service failed", e);

Related PDN link

​This will print the stack trace in the log file but the activity execution will continue. One can write customized log messages as well along with the fault messages received from the service provider. 

Published March 16, 2016 - Updated October 8, 2020

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.