cancel
Showing results for 
Search instead for 
Did you mean: 

successfully configured http receiver adapter, unable to post the payload

Former Member
0 Kudos

Hi ALL,

After searching lots of sdn forums and blogs, I was able to configure the HTTP receiver adapter which will ping the remote client system from the PI system. The configuration I have followed:

Creation of RFC destination of type G in SM59 of PI system

Technical settings -> the details of host, port and path prefix of the remote client system

Configuration of the certificate in strust and using the same under SSL status of logon and securities as the url is of https.

After the connection test we are getting a http 200 which means successfully pinged the remote client system.I am using the RFC destination while configuration the HTTP receiver adapter in the ID configuration part.

During the end-to-end testing, in RWB -> Message Monitoring

It shows that the message has been successfully send to the remote client. However, when we logon to their system we find none of the message that we have send.

so i guess the current configuration is unable to post the payload(message) into the clients server.

We are unable to trace what has gone wrong.

Any kind of reply will be greatly appreciated.

Kindly help on this.

thanks,

Lalitkumar.

Accepted Solutions (1)

Accepted Solutions (1)

sunil_pandey6
Explorer
0 Kudos

Look at this blog this may help you

/people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter

With Regards

Sunil

Answers (16)

Answers (16)

Former Member
0 Kudos

Hi All,

The issued is solved and now we are able to post the data.

the solution was the networks team did the firewall settings for this particular URL and traced whether payload has been sent out of the network or not...

after the analysis of the log we found the payload has been send.

so issue Solved.

thanks for all the inputs.

cheers,

Lalitkumar.

Former Member
0 Kudos

Hi Pooja,

thanks for your inputs ...

thanks,

lalitkumar.

Former Member
0 Kudos

Hi Pooja,

Thanks for your reply....

Do you logon with the individual id or any system user( like j2ee_admin)...?

thanks,

Lalitkumar.

Former Member
0 Kudos

Hi Lalit,

I Logged On with my individual Id.

Regards,

Pooja

Former Member
0 Kudos

Hi Pooja,

Thanks for your reply....

to do logon with the individual id or any system user( like j2ee_admin)...?

thanks,

Lalitkumar.

Former Member
0 Kudos

Hi Pooja,

The adapter_plain service is active in SICF.

when i test the service it asks for the logon credentials, after providing the IE display nothing except the 'stopped' in the bottom of the page.

is it normal or any issue...?

Thanks,

Lalitkumar.

Former Member
0 Kudos

Hi Lalit

It looks like der is some problem else it would have not given "stopped". Though not very sure what the problem is.

Regards,

Pooja

Former Member
0 Kudos

Hi Lalit,

Can u pls check the transaction SICF of PI system, here a service "adapter_plain" should be activated else you wont be able to communicate through HTTP adapter.

The exact path is transaction: SICF

default_host-> sap->xi->adapter_plain

If this service is in gray, its deactive. try activating it as this service refer to "IE: Inbound adapter for freely definable payload"

Hope this might help you.

Regards,

Pooja

Edited by: PoojaSri on Jan 17, 2011 9:52 AM

Former Member
0 Kudos

Hi javaguy,

I'm still unable see any improvement or any solution for this issue.

thanks,

Lalitkumar.

Former Member
0 Kudos

Hi JAVAGUY ,

i'm using PI 7.1 system. i wouldn't find any of the tools in component mointoring....

what you mentioned was for PI 7.0 or 7.1...?

thanks,

Lalitkumar.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

In all version of PI and xi.

again component monitoring --> adapter engine --> test message tab on the below. But this is for the http sender side.

your case is HTTP Receiver.

Possible ways

Test via browser with your http receiver URL and make query string something as below for your input parameters ...

Example http://hostname:port/servlet/screen.jsp?Q=Fred&Q=Sally

or

Use java program to send post method

http://www.aviransplace.com/2008/01/08/make-http-post-or-get-request-from-java/

Former Member
0 Kudos

Hi Abhishek ,

I will ask the team to provide us the logs if they have any...

In the meanwhile are there any tools to test this http connection and which posts the data to the server directly...

thanks,

Lalitkumar.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>>> in the meanwhile are there any tools to test this http connection and which posts the data to the server directly...

Go to Runtime workbench screen --> component monitoring --> down you will see test message tab. click on it and add send message details, interface details, user/password information and put message in the payload. This is one way you can post HTTP message to the server.

Former Member
0 Kudos

Hi Everyone..

Still the issue is unsolved..

looking for any help....

thanks,

Lalitkumar.

former_member200962
Active Contributor
0 Kudos
Since itu2019s a third party system we donu2019t have access to see logs.

at least try to get information from those who have access...

Former Member
0 Kudos

Hi Rahul,

The http connection (http connection of type G on the ABAP stack) from PI tries to establish the connection with the external system. When we test the connection its successfully pings the server.

Below I have mentioned the o/p of the connection test

Status HTTP Response	200
Status Text	OK
Duration Test Call	4914 ms

The same RFC destination we have used in the Http Receiver Adapter.

Since itu2019s a third party system we donu2019t have access to see logs.

Thanks,

Lalitkumar.

Former Member
0 Kudos

Hi Rahul,

Can please elaborate on the clients logsu2026?

Here you addressed the client as external server (third party system)u2026?

I didnu2019t understand what logs to seen in client

thanks,

Lalitkumar.

RKothari
Contributor
0 Kudos

Hi,

Yes, the client is third party system.

Logs refer to system logs like we have in our SAP system.

If you try to post anything to your client system: it will first try to access or establish a connection with your client system.

This details I suppose are captured in form of system logs.

In our client system the details were maintained and they provided us the logs.

You can also try to post the data using different HTTP tools.

-Rahul

Former Member
0 Kudos

Hi All,

Any inputs on this issue...

thanks,

Lalitkumar.

RKothari
Contributor
0 Kudos

Hi,

Can you check the logs in your client system, if it is receiving any HTTP hit.

we had some issues in our project with HTTP adapter and client has shared the logs.

It was quite helpful for us.

Also, verify the data and structure you are sending to client system.

Former Member
0 Kudos

Hi,

Thank you all for the inputs.

In sxmb_moni of PI system i would see that the message is still waiting for acknowledgement.

During the testing the configuration in ID it showing that the message is successfully processed.

but the problem still exists.

please help..

thanks,

Lalitkumar.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>>> We are unable to trace what has gone wrong.

Any kind of reply will be greatly appreciated.

Kindly help on this.

This link will answer your question

former_member182004
Contributor
0 Kudos

Hey,

I guess you should look for it in the ABAP Monitor, not in the RWB because the HTTP Plain adapter is a fully ABAP based connector. Maybe there you can see any error.

Regards,

Juan.