on 06-04-2008 8:51 AM
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¶meter2=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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
HTTP To RFC Synchronous Scenario - FAQs
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.