cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP or HTTP

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

Yes, you could use HTTP adapter for your requirement. You may use adapter-specific parameters to pass this data using HTTP post.

Regards,

Prateek

former_member568822
Active Participant
0 Kudos

Hi,

For you information XI also support http string call. Please use http adapter for this not soap adapter.

Please refer this blog:

Best regard,

Gan

Former Member
0 Kudos

Thanks Prateek and Gan,

But we have Http to RFC scenario, where as in the above blog Http is on the receiver end.

and for sender Http we don't create a sender communication channel.

so can please suggest further on how to implement the scenario.

prateek
Active Contributor
0 Kudos

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

former_member568822
Active Participant
0 Kudos

Hi,

It actully almost same as soap to rfc. Just change the soap sender adapter to http adapter.

Please use the search function on SDN. You can refer this blog which is http to rfc scenario.

Regard,

GAN

Former Member
0 Kudos

Hi Experts,

As the requirement is just make a call to RFC in R/3

can we just pass a RFC call through XI to R/3 instead of passing the message.

or

Is it possible to call RFC directly from the intranet application( using Javascript) with out using XI

Thanks in Advance.

MK

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

HI MK

Check this it will give you a good idea

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80fa3dff-ce76-2a10-3f94-f3df8f2d...

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

former_member568822
Active Participant
0 Kudos

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