cancel
Showing results for 
Search instead for 
Did you mean: 

Sender HTTP adapter

Former Member
0 Kudos

Hi,

I have been working with SOAP sender / receiver adapters.. Now I am working on a new scenario where I am developing scenarios from and to HTTP servers.

1. I use http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel URL to call PI from web server using SoAP adapter. sap help suggests to use http://<hostname:port>/<path>?<query-string>; for calling PI from HTTP server... Can someone tell me in detail what is path and query string values to call PI?

2. I use soap sonar or soap UI to call PI using these web services. IS there any equivalent tool to test HTTP - PI communication? If yes can I do that with the WSDL?

3. While sending messages from PI to HTTP box, there is 404 not found error message.. But when I logged onto the target server, the URL seems to be right. I know it is not trying to find the correct resource. Plese throw some light on how do I validate the URL?

THanks,

~N

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

also for testing purpose use;

http://sappihttpclient.codeplex.com/

Former Member
0 Kudos

Thanks Shabarish.

do I need to create RFC destn or perform some settings on PI in order to receive the message from HTTP server?

For some reason, it is not working from the server. I have not tried with the test tool yet; will update once I finish testing using it.

~N

Former Member
0 Kudos

Hi Nikhil,

You dont need a RFC destination for this. You can create the url and give to the end user and ask them to post it to that url. It should work. Make sure you have the complete domain name in url. First you can test it and with either altova or any other tool and then give to him.

Regards,

---Satish

Former Member
0 Kudos

I have given complete domaign name and added entry in hosts file.

I tried sending messages from HTTP tool given by Shabarish, (there is no place to enter the URL there) so I have given correct system details, Message interface, NS etc and sent some sample XML data using it; it did not give me any error message... but it said its "DONE" but I dont see any entries in SXI_MONITOR.

where can I debug? where can I check if the message has hit PI or no?

Former Member
0 Kudos

Hi,

Did you crosschecked the details..

i.e. host name port name (port should be 8000..check smicm for port name if to know the http port used.. . and client details..too...

Also you can enable the trace using smicm....

HTH

Rajesh

Answers (2)

Answers (2)

vikas112
Explorer
0 Kudos

All,

Please help me test my latest version, which is released as Beta.

SAP PI HTTP Client 3.0

Regards,

Vikas

Shabarish_Nair
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi,

When I place the URL suggested by Shabarish in the browser it says 404 Not found.

I created URL http://server:port/sap/xi/adapter_plain?namespace=<xxx>&interface=<xxx>&service=<xxx>&sap-user=<xxx>...; and pasted on the browser and it is giving 404 not found error. Someone pelase suggest...