Support Article

Unable to connect to the target system via Connect-Soap

SA-33094

Summary



The user has imported the wsdl and created the connector rules but when they try to connect to the target system, 404 error is thrown.

Error Messages



com.pega.pegarules.pub.services.RemoteApplicationException: SOAP service failed
at com.pegarules.generated.activity.ra_action_invokeaxis2_fd4db51a50ad5c984eb38a1d1387cc20.step18_circum0(ra_action_invokeaxis2_fd4db51a50ad5c984eb38a1d1387cc20.java:4318)
at com.pegarules.generated.activity.ra_action_invokeaxis2_fd4db51a50ad5c984eb38a1d1387cc20.perform(ra_action_invokeaxis2_fd4db51a50ad5c984eb38a1d1387cc20.java:359)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_invoke_c28ff8c27ac24045d30f5561679549d1.step8_circum0(ra_action_invoke_c28ff8c27ac24045d30f5561679549d1.java:1037)
at com.pegarules.generated.activity.ra_action_invoke_c28ff8c27ac24045d30f5561679549d1.perform(ra_action_invoke_c28ff8c27ac24045d30f5561679549d1.java:189)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_updateorderstatus_94c560dd43e9728cd045c4774c3f6054.step24_circum0(ra_action_updateorderstatus_94c560dd43e9728cd045c4774c3f6054.java:2074)
at.perform(ra_action_invokeaxis2_fd4db51a50ad5c984eb38a1d1387cc20.java:342)
... 64 more


Steps to Reproduce

  1. Create a service
  2. Upload the WSDL file and create connector.
  3. Create an activity and form the request parameters, then call the target system via Connect-SOAP method.


Root Cause



An issue in the custom application code or rules : In the endpoint URL user has not given the absolute host name


Resolution



Perform the following local-change: Changed the endpoint url with absolute hostname and it worked

Published January 31, 2017 - Updated February 18, 2017

Have a question? Get answers now.

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