on 03-24-2009 4:48 PM
Hi,
I've just created a prototype inside-out scenario by generating a web service from a function group for two function modules in R/3 transaction SE37 then creating the required configuration in transaction SOAMANAGER for the end point/binding and this works fine using the web service navigator test tool which I run from the PI system
As we wish to use PI as our integration broker I would like to model the same scenario (a SOAP web service call to an R/3 RFC) using PI.
Obviously I need to import the RFC definitions but I'm unsure what I should map into the message interface and whether I can simply use this for the source/target message.
Would someone please briefly describe the objects,settings and links required in the Integration Repository and how to determine the URL that will be called to execute the service, I can't find any relevant documentation for this use case.
Thanks,
Alan
Presumably one of the downsides with exposing the RFC as a web service is that the endpoint/binding and related configuration must be done in the backend R/3 system to release the web service then similar configuration would need to be done in the Integration Directory as this will define the source point where the process starts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For my scenario of exposing an RFC as a web service via PI is there any advantages to using SOAP-PI-SOAP vs SOAP-PI-RFC?
Which would SAP recommend for standard practice?
Thanks,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan,
As you have already mentioned, if you use PI it will align with your general landscape of using PI as the common EAI tool. Obviously you have a single point of monitoring all your interfaces running across your organisation. This approach is recommended rather than a direct connection. In PI 7.1 you also have the option of direct connection using PI 7.1. Here PI's routing and mapping functions are not completely used.
Regards
Jai
Hi Alan,
SOAP-XI-SOAP would be the correct way to go.
Say, you have another system which wants to call RFC, it would have to use a JCo call or something like that.
It involves huge costs as JCo is a proprietary software.
Whereas Web Services being Open, can be called from most other systems also(Apart from XI).
The step that you decide to use SOAP-XI-SOAP over SOAP-XI-RFC is the first step towards a SOA Implementation, which is where every company, sooner than later, will move towards.
Regards,
Ravi Kanth Talagana
Hi Tarang,
I beg to differ with your stance.
If you go for SOAP-XI-RFC scenario, you are creating a webservice with a wsdl corresponding to a structure specific to one specific Busness system.
That structure may or may not be reusable across the different partners of the company
Also, assume a hypothetical scenario where there is no XI involved at all.
Then calling a RFC would require proprietary coding which involves a Huge cost.
If the RFC is exposed a webservice, it can be invoked by any system which supports open standards without any additional cost overhead.
Regards,
Ravi Kanth Talagana
HI Alan,
Yes you are right in what you have said. But having said that, the step of creating the Binding and Service from the backend WSDL is optional in your case.
Dear Tarang,
You are right when you say we have to expose the Webservice out of XI finally in both cases.
But why i am suggesting exposing the RFC as webservice from back end is, that exposed webservice(from backend) is easier for any other systems to consume as well.
As an analogy, you can see SAP creating webservices for most of the BAPIs that are already there.
What I feel is SAP would not have gone for exposing the BAPIs as webservices if it would not foresee some benefit out of it.
Regards,
Ravi Kanth Talagana
P.S: Sorry Alan, if you feel we are hijacking your thread.
Dear Ravi,
Are you saying that you want the option of using that BAPI via 2 ways :
1. through XI....but here also you can just publish that wsdl generated by XI in service registry and others can use it...but yes the data will go though XI...
2. independently ...point to point connection without XI
Edited by: Tarang Shah on Mar 27, 2009 8:07 AM
Hi,
I understand that I need to map the web service request to the RFC request but what step do I need to do to implement this after I've imported my RFC definition.
As the parameter interface is the same what do I add to my message interface as the source target - i.e. do I need to create a message type in the IR for the web service request or can I simply use the RFC by dragging and dropping the definition and from what to where.
Thanks,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no need to create any message types.
directly drag and drop the same RFC in the source as well as target section of the message mapping and do one to one mapping....
obviously u will have to create one Outbound Asyn and one Inbound Asyn interface but the message type in both of them will be the same RFC
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan,
In IR,
u need to create following objects:
1..Import RFC
2..create Message interface for webservice message (synchronous, outbound)
3...create mapping between webservice request and rfc request, rfc response and webservice response.
4..create interface mapping where source will be webservice interface and target will be RFC
In ID,
1...U need to create web service which will be used to test ur scenaio.
2...sender agreement
3..receiver determination
4...interface determination
Regards,
Manisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey ,
If you want to send a RFC request via Webservice call then you need to create a mapping b/n soap request and RFC request and needs to map the RFC response to the soap response in case of sync scenario
once this is done you need to generate a Webservice and need to provide the WSDL to the consumer
Rajesh
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.
User | Count |
---|---|
86 | |
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.