cancel
Showing results for 
Search instead for 
Did you mean: 

Send parameters to XI by HTTP

Former Member
0 Kudos

Hi friends,

I would like to offer an interface in XI to establish a synchronous communication for adapters HTTP or XI.

Would need to run the service in XI from a URL like:

http://host_xi:port_xi/path_xi/service_xi?parameter1=X&parameter2=Y&.

And capture in XI a message with the parameters through a HTTP request to the URL above.

I have seen examples of this, but sending the message in XML format from the client HTTP.

Is it possible to do what I need?

Thanks,

Jose.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

XI is midderware so you can't trigger the request from XI to HTTP you need to have the Sender system for it.

XI will catch the response and will revert back to sender system. Even you can go for SOAP adapter

Refer

HTTP to RFC - A Starter Kit

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

Thanks

Swarup

Former Member
0 Kudos

Thanks Swarup,

But the Sender System sending can not be changed. This system sends the HTTP requests with the format of URLs that he commented.

Is it not possible to send a GET parameters of a communication HTTP and XI that transforms these parameters to a data type?

Thansk,

Jose.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi friends,

I think I already have the solution. To enable communication HTTP and send the parameters by GET method from the sender system, performed as follows:

  • With a BSP application is able to capture the parameters by GET method.

  • In a Controller of the BSP is assign the class controller that processes requests HTTP. This class inherits from the controller class CL_BSP_CONTROLLER2.

  • It reimplement the method DO_REQUEST, and this prepares the URL with the necessary parameters and XML Payload to be sent to Integration Engine of SAP XI.

Thank you all for the help,

Jose.

Edited by: Jose Mª Mudarra Lara on Jun 4, 2008 11:50 AM

Former Member
0 Kudos

hi,

HTTP To RFC Synchronous Scenario - FAQs

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&

Regards