Skip to Content
0

Rest Adapter in sap po 7.5-Ping

Apr 07 at 07:49 AM

151

avatar image

Hi All,

We are working on Rest scenarios.We have configured both Rest sender and Receiver Channels.The Network team says that the IPs have been whitelisted

1)How to check from 3rd party(sender rest adapter) to PO communication

2)how to check from PO server to 3rd party(rest services) communication

and in this case what details should be provided from PO end to 3r party(AS WE PROVIDE WSDL FILE TO 3RD PARTY)

Thanks,

Guru

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Faison Li
Apr 08 at 02:48 AM
0

Hello Guru,

Firstly you could go to channel monitor in NWA.

http://host:port/nwa -> SOA -> Monitorning -> Communication Channel Monitor

Select the channel and click button "Ping Channel" then check result.

Moreover, the status can show you if this channel works fine or not.

You could follow following Help Documentation regarding how to configure Receiver REST Adapter. https://help.sap.com/saphelp_nw73ehp1/helpdata/en/b4/076c130bef4cd7b414d35a0f266fe5/content.htm?no_cache=true


Best Regards,

Faison

Show 1 Share
10 |10000 characters needed characters left characters exceeded

HI Fiason,

Thank you for the Input.I have pinged the Channel and I am getting below Error

1)Invalid URI Escaped Absolute Path not valid

2)Host is Not known

Thanks,

Guru

rest-error.png (2.3 kB)
0
Pavan Dogiparthy Apr 08 at 05:30 PM
0

Hi,

1)How to check from 3rd party(sender rest adapter) to PO communication

To test internally you can use soapui/postman/REST API , third party can check by calling end point from their application or using any of the mentioned tools

2)how to check from PO server to 3rd party(rest services) communication

and in this case what details should be provided from PO end to 3r party

you would have to take the end point url of third party and you need to share to public ips of PO to them, So that they can whitelist(if there is any restriction for incoming requests)

Regards

Pavan

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Pavan,

Thank you for the input.I have received the End Point URL and configured in the Receiver REST channel.I get below error.

1)Invalid URI Escaped Absolute Path not valid

2)Host is Not known

Thanks,

Guru

rest-error.png (2.3 kB)
0

Hi,

Is the URL is public accessible try open from the browser,also if there is any firewall in your landscape whitelist the ips shared by the partner.

Please share the communication channel screenshot

Regards

Pavan

0

Hi pavan,

We have whitelsited the IPs provided..Now the server is reachable from SAP PO.

But i get below error when i ping communication channel.

rest-error.png (18.7 kB)
0
Pavan Dogiparthy May 16 at 07:54 AM
0

Hi,

Can you provide communication channel configuration screen shots.

Refer below point from this link

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/b4/076c130bef4cd7b414d35a0f266fe5/frameset.htm

Receiver Ping:

When the user initiates a channel ping, the receiver channel tries to execute an HTTP HEAD call on the dynamic URL and displays the resulting HTTP header containing the URL-specific metadata. If this call executes successfully, the dynamic URL is valid.

If this call fails, the path of the URL might be wrong. The receiver channel then tries to execute an HTTP OPTIONS call, returning the resulting HTTP header with server-specific metadata. If this call executes successfully, the host and port are valid, but the dynamic URL is not correct.

If this call fails as well, the receiver simply tries to find and connect to the server. If the connection is successful, the server does not support HTTP or HTTPS. If this call fails, the host name and/or port are invalid or the server does not allow a connection at all.

Regards

Pavan

Share
10 |10000 characters needed characters left characters exceeded
Pavan Dogiparthy May 16 at 07:54 AM
0

Hi,

Can you provide communication channel configuration screen shots.

Refer below point from this link

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/b4/076c130bef4cd7b414d35a0f266fe5/frameset.htm

Receiver Ping:

When the user initiates a channel ping, the receiver channel tries to execute an HTTP HEAD call on the dynamic URL and displays the resulting HTTP header containing the URL-specific metadata. If this call executes successfully, the dynamic URL is valid.

If this call fails, the path of the URL might be wrong. The receiver channel then tries to execute an HTTP OPTIONS call, returning the resulting HTTP header with server-specific metadata. If this call executes successfully, the host and port are valid, but the dynamic URL is not correct.

If this call fails as well, the receiver simply tries to find and connect to the server. If the connection is successful, the server does not support HTTP or HTTPS. If this call fails, the host name and/or port are invalid or the server does not allow a connection at all.

Regards

Pavan

Share
10 |10000 characters needed characters left characters exceeded