cancel
Showing results for 
Search instead for 
Did you mean: 

Problems sending HTTP request to PI

Former Member
0 Kudos

In order to receiver a HTTP request from HTTP server onto PI, what things needs to be defined in PI?

there is an HTTP application which can connect to other PI server in my environment without any issues, but when I point it to intended PI server, it is throwing exceptions. Where am I doing wrong? do I need to create a some RFC destination for this?

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Nothing has to be created at PI. Just adapter_plain service should be active.

Regards,

Prateek

Former Member
0 Kudos

Thanks for the replies;

When the URL is formatted in the HTTP server, it is framing http%3A//test.com/NS/sample instead of http://test.com/NS/sample

What is the reason? how to set this?

thanks in advance

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

Can you please check the below url is working for you

http://hostname:8000/sap/xi/cache?sap-client=100&mode=F&consumer=_INTEGRATION_SERVER_&consumer_mode=...

Thanks

Kiran Kumar Nekkanti

0 Kudos

Hello!

Since you are talking about "PI" I believe you're using 7.1X.

From this, check this link: http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/bcd15381f456a1e10000000a1553f6/frameset.htm

Also, when you go to the INTEGRATION_DIRECTORY_HMI, the result

should be 500 "Internal Server Error" and not the 200 Ok that we're used to

Hope it helps!

Regards,

Caio Cagnani

Former Member
0 Kudos

Do I need to create a new RFC destination for receiving a message from HTTP server? I think No?

the problem is I could receive the message from HTTP test application and cannot receive the message actual server after giving the same entries as for test appln.

Similarly the HTTP server is working as expected when it was re connected to a different PI box.

any clues !!!!

Former Member
0 Kudos

You can go ahead with the testing..It will not create any problem..special characters will be converted to Hex code I suppose.

Former Member
0 Kudos

YOu are right. This is working from httpTester.html. But when I send it from the actual application it is not working?

This actual application when pointed to second PI server in my environment, is working fine.

Where could things go wrong?

N

Former Member
0 Kudos

Hi,

you dont need to use the RFC destinations any for this..

you need to make use of the service sap/xi/adapter_plain available in SAP for this...

you need to pass the request in the desire format...there is a test tool avaialbe in WIKI section

http://sappihttpclient.codeplex.com/ for testing the http scenario..

have a look on that...it will help you based on that you can post the original request

HTH

Rajesh

Edited by: Rajesh on Jul 16, 2010 10:20 AM