Skip to Content

SOAP/web service to RFC scenario

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Mar 24, 2009 at 04:54 PM

    Hi,

    Check the below threads

    rfc-to-web-service

    rfc-to-web-service

    Cheers

    Agasthuri Doss

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 05:20 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 25, 2009 at 03:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 25, 2009 at 06:56 AM

    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25, 2009 at 01:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Mar 25, 2009 at 01:52 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ravi,

      You say that creating the service/end point for the backend service is optional, please can you clarify.

      In the SOAP-XI-SOAP scenario surely the backend service/end point must be set up in SOAMANAGER otherwise how would the call be made?

      Thanks,

      Alan

  • Mar 25, 2009 at 04:28 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded