cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Sender Adapter

Former Member
0 Kudos

Hi,

I have tried the HTTP client code that was given in many of the forums to post the messages into XI. It works fine. But this is good for testing. How does a HTTP real time client sending a message gets posted into XI without sender information? Do we have to enforce the HTTP sender pattern in the query string or simply how does it work?

Thanks for any reply regarding this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes in the HTTP Sender you would have to add the query string with the URL to the XI Adapter ENgine which accpets the HTTP Request. Also all other params like userid and password should also be filled in. This is assuming you would have a user in XI System which has access for logging in as Service/COmmunication user in XI.

Thanks

Ashish

Answers (2)

Answers (2)

former_member187339
Active Contributor
0 Kudos

Hi Harika,

We have created a scenario in which ASP is communicating with XI. In that we had written a vbscript function which will create the XML object (which is to be send to the XI server). MSXML2.XMLHTTP object was then created and the above formed XML object was send as a STRING.

The communication string for opening the connection was the same as given by priyanka.

Hope this will be helpful.

Regards

Suraj

Former Member
0 Kudos

HI,

The format for passing a meesage to XI is:

String urlString = "http://<servername:portno>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface name>&service=<service name>&party=&agency=&scheme=&QOS=BE&sap-user=xiappluser&sap-password=satyam&sap-client=100&sap-language=EN";

If for eg: you are contacting XI from an ASP page then u need to post yr message in this format

regards

Priyanka