on 02-17-2009 11:11 AM
Hello,
I'm having the same issue as thread , meaning I'm trying to implement the following scenario:
Client Java proxy<>SAP PI <> RFC.
My requisite is that the client Java Proxy is addressed by a browser which would fire an HTTP GET request addressed to this PROXY. This proxy would be responsible to send the message to SAP PI and getting the RFC response to be displayed in the browser.
My problem is to figure out the URL to invoke my client java proxy. To which URL do I address my request?
Can you give me a hint?
Kindly Refer this Blog:
/people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
BR,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to write a servlet that calls the Java proxy EJB.
The servlet and the Java proxy have to run on same server.
Provide the URL of the servlet to the client.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your requirement is not very clear. Get method is used for retrieving data through URL. This would mean that it usually works with http receiver cases. Therefore while implentinng java proxy instead of http receiver, server proxy is implemented and not the client proxy as you are implementing here.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. So I guess the question further is
To which URL do I address my request?
This information would be needed to be filled in receiver XI communication channel. This would be the address of the java engine where the java proxy is deployed. e.g if it is the XI adapter engine, then
Target Host: adapter engine hostname
Service No: Port like 5xx00
Path: /MessagingSystem/receive/JPR/XI
Regards,
Prateek
Hello Prateek,
I think there is a tiny confusion, my first scenario was correct. What I want PI to do is to receive an HTTP GET Request, invoke an ABAP Proxy and send the response back.
So, it is a client proxy right? what you were suggesting was that PI would do the HTTP GET Request, right? But that is not the scenario, I really want to receive GET requests on PI and not invoking it.
Any idea?
Let me make you clear about one thing. XI does not support this Get method at sender
What type of application exist at sender? If you cannot change it to send the entire payload as message body (like an http client), then we must think of some alternative.
As it is http Get, I consider that your application sends all data through some payload. Now develop a client java proxy and deploy it on XI adapter engine. So your sender application will be triggering this client proxy and provied data to it. Send this data to XI as a normal client proxy scenario. Is this scenario feasible for you?
Regards,
Prateek
Hello Prateek,
Relating to PI not supporting HTTP GET Request, unfortunately I'm aware of it
In my scenario, the sender has a browser (IExplorer or firefox or whatever) which will do an HTTP get to an URL and sending the data through the URL.
You're absolutely right in the scenario you described it.
"As it is http Get, I consider that your application sends all data through some payload. Now develop a client java proxy and deploy it on XI adapter engine. So your sender application will be triggering this client proxy and provied data to it. Send this data to XI as a normal client proxy scenario. Is this scenario feasible for you?"
I'll have to develop the client proxy but my main problem is, how will my sender application trigger the client proxy? What's the URL that the sender will have to address?
Thank you very much for your suggestions
Kind Regards,
Gonçalo Mouro Vaz
What is the content type from JAVA PROXY?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.