Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Call web service with public IP

0 Kudos

Hello,

We have the following scenario:

- Web Application on a server that is calling a web service in our ERP system - http call.

- We have asked our service desk to open a port for the server ip. Also they provided a public ip with port 7788 that is re directed to private ip with port 8000 (http) - working fine - service desk can see our access and the conversion is taking place fine.

3. The issue comes now that we get no answer from the web service ... if we call the web service in our network (with private ip) is working fine but if we call it with the public IP that is converted to the private ip is not working.


Question is: beside the public ip and port conversion do we need to do something else? on SAP server? Basically our understanding is that once we passed the firewall and the ip conversion took place we are calling the web service with private ip and port.


xhr.open('POST', 'http://X1X.XX.XXX.XX:77XX/sap/bc/soap/rfc?sap-client=XXX', true, encodeURIComponent('user'),encodeURIComponent('password'));

where X1X.XX.XXX.XX:7788 is the public ip.



1 REPLY 1

Former Member
0 Kudos

Hey Nicu,

Are you familiar with the concept of a "white list"?  Some folks have their systems set where you need to allow specific IPs/hosts or ranges before the system can be accessed.

Do a google search for SAP and white list and you should find that.  There is a table on the abap stack that addresses that.  The java stack also has a white list setting that defaults (or at least it used to) where you had to add that range or a "*" before it would work.

You could also "tail" the icmhttp.log file from the OS level to see if you are really hitting it, by that, I mean are you seeing a HTTP response code from SAP and you can bump up the logging level in SMICM.

Hope that helps

NICK