JBoss Community Archive (Read Only)

SwitchYard

SAP

The SAP binding in SwitchYard provides support for outbound and inbound communication to and from SAP systems using synchronous remote function calls, sRFC. The component uses the SAP Java Connector (SAP JCo) library to facilitate bidirectional communication with SAP. The SAP binding is built on top of JBoss Fuse camel-sap and supports most of options for this endpoint. Please refer JBoss Fuse documentation for a detailed description of them.

Binding Services with SAP

Following options can be applied to SAP service binding:

  • server : The name of a specific inbound connection from an SAP instance

  • rfcName : The name of the RFC handled by the endpoint when invoked from the connected SAP instance

  • transacted : When true, the endpoint will join or initiate a SAP transaction invoking an RFC call

Here's an example of what a sap service binding looks like:

<sca:composite name="switchyard-camel-sap-binding" targetNamespace="urn:org.switchyard.quickstarts:switchyard-camel-sap-binding:2.0.0-SNAPSHOT">
    <sca:service name="FlightBookingService" promote="FlightBookingService/FlightBookingService">
        <sap:binding.sap name="FlightBookingServiceBinding">
            <sap:server>nplServer</sap:server>
            <sap:rfcName>BOOK_FLIGHT</sap:rfcName>
        </sap:binding.sap>
    </sca:service>
</sca:composite>

Binding References with SAP

Following options can be applied to SAP service binding:

  • destination : The name of a specific outbound connection to an SAP instance

  • rfcName : The name of the RFC invoked by the endpoint in the connected SAP instance

  • transacted : When true, the endpoint will join or initiate a SAP transaction invoking an RFC call

Here's an example of what a sap reference binding looks like:

<sca:composite name="switchyard-camel-sap-binding" targetNamespace="urn:org.switchyard.quickstarts:switchyard-camel-sap-binding:2.0.0-SNAPSHOT">
    <sca:reference name="GetFlightConnectionListService" promote="FlightConnectionInfoService/GetFlightConnectionListService" multiplicity="0..1">
        <sap:binding.sap name="GetFlightConnectionListReferenceBinding">
            <sap:destination>nplDest</sap:destination>
            <sap:rfcName>BAPI_FLCONN_GETLIST</sap:rfcName>
        </sap:binding.sap>
    </sca:reference>
</sca:composite>
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 09:45:44 UTC, last content change 2014-11-17 13:34:49 UTC.