cancel
Showing results for 
Search instead for 
Did you mean: 

Checking IP address used in a web service

alejandro_gmez
Participant
0 Kudos

Hi gurus:

I have a web service that works. The problems appears when the external system change the IP associated to the endpoint of the web service. The SAP PI server retains the old IP address and continues sending requests to it.

I have configured the JVM to not cache the IP addresses. (TTL=0), I think.

How could I monitor the IP address that are used to access to the endpoint of the web service? In the SXI_Monitor transaction I can't see it.

Thanks in advance and regards,

Alejandro Gómez.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Alejandro,

Have you checked this http://help.sap.com/saphelp_nw73EhP1/helpdata/en/1b/1a7ea92aa74be2a042470b412ef60f/content.htm?frame...?

Also, you should take into account where is really cached the URL in your infraestructure, perhaps it could not be a PI problem.

Regards.

manigram
Active Participant
0 Kudos

Hi,

For this kind of issues you should always maintain host name instead of IP address.

Maintaining host name is the recommended way.

Regards,

Manigandan

alejandro_gmez
Participant
0 Kudos

Hi Manigandan:

I am using the hot name, no the IP address.

The issue appeas when The IP address associated to the host name changes: IP server no detects that change.

Thanks,

Alejandro Gomez.

manigram
Active Participant
0 Kudos

Hi,

Check with Basis team or IT team, where the NDS entry is made for that IP address and host name.

Regards,

Manigandan

alejandro_gmez
Participant
0 Kudos

Hi again:

At operating system level, the server obtains the correct IP address associated with the endpoint using DNS, but the J2EE no detects the change.

How could I monitor the IP address used in a request to a web service?

Thanks,

Alejandro.

rcsegovia
Active Participant
0 Kudos

Hi Alejandro,

You can use http://scn.sap.com/thread/1943967

but I would try with http://scn.sap.com/thread/3374627

regards,

Roberto.