cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP client

Former Member
0 Kudos

Dear All

I have downloaded an HTTP client software on my to test an HTTP to HTTP scenario.

in order to configure the communication channel I need to provide a url (client)

The url of client on my system is not working and more over my system is unable to ping the PI server.

What can be done to test this scenario?

Sourabh

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member187339
Active Contributor
0 Kudos

Hi Sourabh,

>>The url of client on my system is not working and more over my system is unable to ping the PI server.

Did you tried with the IP address/FQDN of the PI server? Also hope you are sending the content to ABAP (http) port in PI server

Can you paste the url here?

Regards

Suraj

Former Member
0 Kudos

Hi Suraj

As HTTP client is an application I dont have url related with it and dont know what to put in my CC.

The HTTP client is downloaded from this url :http://sappihttpclient.codeplex.com/releases/view/26723

Edited by: Sourabh Nirmal on Feb 16, 2010 7:15 AM

former_member187339
Active Contributor
0 Kudos

Hi Sourabh,

Earlier we use to have this client page as a HTML page, so that that there might be some issues with the url.

So now coming to your page, did you tried giving ip address or FQDN of your PI server in textbox against Server?

Also the Port text box shoudl be filled with the ABAP port value

Regards

Suraj

Former Member
0 Kudos

Hi Suraj

In the HTTP Client application I have given the ip address of PI server and other details, the port value is also the ABAP port value.

As a SAP Client app URL is not available and I have to give something in "path" in receiver HTTP CC, I am unable to proceed.

former_member187339
Active Contributor
0 Kudos

Hi Sourabh,

>>As a SAP Client app URL is not available and I have to give something in "path" in receiver HTTP CC, I am unable to proceed.

So are you able to see a message in SXMB_MON of PI? I though your request from HTTP Client is not coming to PI itself.

>>As a SAP Client app URL is not available and I have to give something in "path" in receiver HTTP CC,

Can you explain the scenario?

Regards

Suraj

Former Member
0 Kudos

Hi Suraj

in moni I am getting "ICM_HTTP_CONNECTION_FAILED" when tested from RWB.

My scenario is where two systems have to exchange messages via HTTP send and receive synchronously and have to do a POC replicating the same

former_member187339
Active Contributor
0 Kudos

Hi Sourab,

>>in moni I am getting "ICM_HTTP_CONNECTION_FAILED" when tested from RWB.

As you mentioned you dont have the path for receiver SAP system to post the HTTP request, you are getting this error in Moni. Is it happening in the Call adapter stage?

>>My scenario is where two systems have to exchange messages via HTTP send and receive synchronously and have to do a POC replicating the same

Ok then in the receiver SAP system you should have a url to post the message from PI. IOF you dont have one try to get one either by basis or functional people.

Also just to see whether you are able to post a request

1. Go to SICF transaction

2. Take HTTP service

3. Try to find a correct service which is activated and where you can send some request (Right click the service and do a Test Service)

But this will just help to see the connectivity perspective of PI and the receiver system, you need to have the correct url to post the data

Regards

Suraj

Former Member
0 Kudos

Hi

I have tested with service "adapter_plain" and is working fine.

How can my client use this service, do I need to register HTTP Client??

former_member187339
Active Contributor
0 Kudos

Hi Sourabh,

I guess you are using windows based http client, I would ask you to use the old html http client page

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6...

copy the code in the notepad and save it as .html and run it.

The url which you get should be as below (use alert in javascript to show the url value).

http://hostname:port/sap/xi/adapter_plain?namespace=urn:Passthrough&interface=PassThrough_out&servic...

>>How can my client use this service, do I need to register HTTP Client??

you dont have to register the http client

Regards

Suraj

Former Member
0 Kudos

Hi

Thanks for the link. I have done that and now have the HTML based GUI running on my IE.

I have tested using this application now and got same error.

A quick correction reg configuration: do I need to configure a Sender HTTP adapter in this case?

former_member187339
Active Contributor
0 Kudos

Hi Sourabh,

>>I have tested using this application now and got same error.

Were you able to see where the request was send? Did you put alert and checked the url the http client used for posting the request?

>>A quick correction reg configuration: do I need to configure a Sender HTTP adapter in this case?

No no need of sender adapter

Regards

Suraj

Former Member
0 Kudos

I am not familiar with java script currently so have'nt checked with Alert now

But I am getting following output in url

http://10.224.10.21:8103/sap/xi/adapter_plain?namespace=Test&interface=WorkOrderCreateRequestSI_Outb...

Former Member
0 Kudos

Hi

I am able to connect to SAP PI via HTTP client after the basis fixed error no 500.

As my HTTP Client is an application and donot posses any address I dont know what parameter to give in the receiver communication channel to connect to it.

Any idea

Sourabh

Former Member
0 Kudos

Hi Friends

HTTP Client is useful for sending messages to PI and not in reverse direction

HTTP Client page as reeiver will not work.

For checking HTTP receiver adapter we can follow the blog

/people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter

Thanks

Sourabh

Former Member
0 Kudos

Hi Sourabh,

The url of client on my system is not working and more over my system is unable to ping the PI server.

What can be done to test this scenario?

I think there is some connection problem from the client to the server....

Better escalate the issue with BASIS team..

Babu