Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Outbound SOAP function failing to reach the endpoint. But same request is working from SOAPUI

Padmaraj Doolla
Tera Contributor

Hi All,

Currently I am working on an integration with PeopleSoft to hit it's endpoint with SOAP message. I am getting the following response when I test the function from ServiceNow. But when I test the same sample request from SOAPUI it is giving the proper response. 

Response: Request not sent to uri= ***EndPoint*** : java.net.SocketException: Network is unreachable (connect failed)

 

Can anyone please help on this where it is going wrong. I could not able to find root cause and suspecting it could be issue with SOAP endpoint may reside behind a firewall that is blocking inbound communication to peoplesoft from the ServiceNow instance.

1 ACCEPTED SOLUTION

If PeopleSoft is behind a firewall/only available on your company network, then that's the reason. You'll need to use a MID Server to facilitate the communication between SN and any internal endpoints. 

View solution in original post

4 REPLIES 4

Mike_R
Kilo Patron
Kilo Patron

Is this running through a MID Server? If so, check to make sure the firewall is not blocking the endpoint.

Nope, It's not through a MID Server.

If PeopleSoft is behind a firewall/only available on your company network, then that's the reason. You'll need to use a MID Server to facilitate the communication between SN and any internal endpoints. 

Snow113
Tera Contributor

Hi @Mike_R 

 

Same problem i am facing like @Padmaraj Doolla 's issue
My integration is Soap outbond integration between SN to SAP  thorugh flow designer

Same error getting : 

Response: Request not sent to uri= ***EndPoint*** : java.net.SocketException:connection timed out

Here we are using Mid Server and basic authentication
I have connected with firewall team they said no errors or delays from firewall

I have tested this integration with Beeceptor tool so the request is sending to Beeseptor and getting response in Servicenow

Can you please help me with this ?