Unable to connect to SAP system from SNOW(Integration Issue)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 11:09 PM
Hi Experts,
Here I have a requirement to extract some information from the SAP system and to populate it in the SNOW.I will be sending the Employee ID from SNOW to SAP and in the return requires the manager information from the SAP system and needs to populate in one of the Maintain item in the SNOW.
So while trying to connect the SAP system through Outbound web services(SOAP message),I am getting the below mentioned error.
I have already provided the SNOW IP to the customer and they allowed those IP inside their Firewalls.
But not getting anything from the error where is the cause so as its not connecting to the SAP system.
Appreciate your quick and sincere response on this.
Thanks in Advance!!
java.net.SocketTimeoutException: connect timed out
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382)
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:365)
java.net.Socket.connect(Socket.java:527)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:577)
com.glide.communications.GlideSSLProtocolSocketFactory.createSocket(GlideSSLProtocolSocketFactory.java:141)
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
com.glide.communications.HTTPClient.executeMethod(HTTPClient.java:280)
sun.reflect.GeneratedMethodAccessor421.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:239)
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1201)
org.mozilla.javascript.gen.c308.call(sys_script_include.860655720a0a0b61002e116c36243127:103)
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1201)
org.mozilla.javascript.gen.c47444.call(sys_script_include.b682fe0a0a0a0bd075b62d71a3690a69:185)
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1201)
org.mozilla.javascript.gen.c47432.call(sys_script_include.170a6cb60a0a0b114776fbaee3d46612:207)
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1201)
org.mozilla.javascript.gen.c47421.call(<refname>:4)
org.mozilla.javascript.gen.c47421.exec(<refname>)
com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:162)
com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:176)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:68)
com.glide.script.Evaluator.evaluateString(Evaluator.java:161)
com.glide.script.Evaluator.evaluateString(Evaluator.java:156)
com.glide.script.GlideRhinoHelper.evaluateAsString(GlideRhinoHelper.java:91)
com.glide.script.ActionScript.conditionalEval(ActionScript.java:80)
com.glide.script.ActionScript.execute(ActionScript.java:66)
com.glide.script.ActionScriptProcessor.processScript(ActionScriptProcessor.java:122)
com.glide.script.Action.process(Action.java:113)
com.glide.ui.RedirectTransaction.invokeAction(RedirectTransaction.java:413)
com.glide.ui.RedirectTransaction.handleActions(RedirectTransaction.java:382)
com.glide.ui.RedirectTransaction.inboundActions(RedirectTransaction.java:218)
com.glide.ui.RedirectTransaction.process(RedirectTransaction.java:87)
com.glide.ui.GlideServletUITransaction.process(GlideServletUITransaction.java:75)
com.glide.processors.Processor.runProcessor(Processor.java:358)
com.glide.processors.Processor.processTransaction(Processor.java:163)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:146)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:36)
com.glide.ui.GlideServlet$1.run(GlideServlet.java:408)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
java.lang.Thread.run(Thread.java:682)
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 11:23 PM
It seems like service now is not able to reach to Sap System. If the Sap System is connected to your organizations Local Network connection then you may need to Use a mid server for the same.You could find 'Use Mid server' option for SOAP Message Function. Look at section 2.7 from below link.
Outbound SOAP Web Service - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2015 12:11 AM
Thanks Gurpreet for looking into this.
Is that related to the certificate issues as here the Network team confirming about giving the SNOW IP access to their firewall so that we can access the SAP system from Public IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2015 12:31 AM
its not about certificate but network. Are you able to access Sap System from external network or without VPN? Mid server is a kind of bridge between service now and your organization's local network.
MID server really required for web service integration?
MID Server Installation - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2015 12:38 AM
I am able to access the SAP end point system from the External Network with out VPN.
So what would be other challenges which obstacles to connect the SAP system.