How to: |
You can configure synchronous event processing using iWay Explorer to trigger a Web service after an event occurs in the SAP system. The event response that is received can then be routed to another disposition for further processing.
To configure synchronous event processing:
soap:[wsdl-url];soapaction=[myaction]; method=[web service method];namespace=[namespace]; responseTo=[pre-defined port name or another disposition URL]; errorTo=[pre-defined port name or another disposition url]
The following table lists and describes the parameters for the disposition.
Parameter | Description |
---|---|
wsdl-url | The URL to the WSDL file that is required to create the SOAP message, for example: http://localhost:7001/ibse/IBSEServlet/test/
webservice.ibs?wsdl where:
To find this value, you can navigate to the iWay Business Services tab and open the Service Description link in a new window. The WSDL URL appears in the Address field. Alternatively, you can open the WSDL file in a third-party XML editor (for example, XMLSPY) and view the SOAP request settings. |
soapaction | Method that is called by the SOAP disposition, for example: webservice.method@test@@ where:
To find this value, you can navigate to the iWay Business Services tab, open the Service Description link in a new window, and perform a search for soapAction. Alternatively, you can open the WSDL file in a third-party XML editor (for example, XMLSPY) and view the SOAP request settings. |
method | Web service method you are using. This value is in the WSDL file. |
namespace | The XML namespace you are using. This value is in the WSDL file. |
responseTo | Location to which responses are posted. Can be a predefined port name or another URL. Optional. The URL must be complete, including the protocol. |
errorTo | Location where error documents are sent. This can be a predefined port name or another full URL. Optional. |
Note: To use the SOAP disposition with a synchronous event, use Remote Function Modules to generate the schema and WSDL file instead of using the Business Object Repository for any RFC or BAPI.
The following is an example of a completed SOAP disposition:
soap:http://localhost:7001/ibse/IBSEServlet/test/soapWS.ibs?wsdl; soapaction=soapWS.GETLISTRequest@test@@;method=GETLIST; namespace=urn:iwaysoftware:ibse:jul2005:GETLIST; responseTo=ifile://c:\output\sap\soapOut.xml
A Web service for an SAP Remote Function Module, for example, BAPI_MATERIAL_GETLIST, is triggered after an event occurs in the SAP system. The response document is returned and routed to a file location.
iWay Software |