on 12-05-2008 2:38 AM
Hi Experts,
we currenlty have the below scenario:
Intranet application(using Java script) makes a Http request to the SAP BC (Business connector) to call a RFC in R/3.
For eg:
Password check process :
When a user opens the web page and enters the userid and password to Login.
The intranet application sends the string (userid and password) with the Http request to BC to call RFC PASSWORD_CHECK in R/3.
We are now moving to XI, so to implement the scenario I thought of using SOAP u2013RFC but I have been advised that the intranet application cannot consume the WSDL document to call the webservice in XI.
As the requirenment is just to call a RFC in R/3 and get the response back with out any mapping rules, please suggest on how to implement the scenario.
Is it possible to forward string like in example (userid and password) to XI using Http? If yes, please explain how?
Many thanks,
MK
Yes, you could use HTTP adapter for your requirement. You may use adapter-specific parameters to pass this data using HTTP post.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for sender Http we don't create a sender communication channel.
This is applicable for a general case. Yours is not a general one
You can create sender channel and sender agreement if you want to use adapter-specific attributes in the message header for the plain HTTP inbound channel.
Check the adapter-specific attributes section here
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm
Regards,
Prateek
Hi MK
Your requirement looks like straight HTTP -> RFC scenario. So whats the problem in this .
Coming back to your questions
To call RFC through XI you need a message(payload) to trigger this.
You can expose RFC as a web service that you can invoke through a script of any SOAP client.
Thanks
Gaurav
Hi Gaurav,
the issue is that i have been told that the intranet application is incapable of producing xml messages,
so it just passes a string with the http request and also expects the string response.
can you please explain how can we expose the RFC as webservice in R/3 and how to consume it in the intranet application.
Many Thanks,
MK
HI MK
Check this it will give you a good idea
More over you can get parameters using ASMA for the HTTP. Get these in mapping and then call the RFC and response also you can create query String using UDF and post using HTTP adapter.
Thanks
Gaurav
Hi,
"can we just pass a RFC call through XI to R/3 instead of passing the message."
How you want to pass a RFC call?? My opinion is if you can pass the RFC call through XI then why not you just pass the RFC call to R/3? If not then you have to use http adapter on XI.
"Is it possible to call RFC directly from the intranet application( using Javascript) with out using XI"
What i know is its possible to call RFC directly using JAVA connector. Please refer to the forum on SDN.
Best regard,
GAN
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.