SOAP TO SOAP SYNCH SCENARIO_Good
SOAP TO SOAP SYNCH SCENARIO_Good
•PI can send data to Webservice and can receive data from it.
•
•Envelope:( Mandatory )
Defines the start and the end of the message.
•Header: ( Optional )
Contains any optional attributes of the message used in
processing the message, either at an intermediary point
or at the ultimate end point.
•Body:( Mandatory )
Contains the XML data comprising the message being
sent.
•Fault:
( Optional )
An optional Fault element that provides information
about errors that occurred while processing the
message.
Briefing:
In our scenario, we will be sending SOAP request to a webservice
for computing currency value between two countries. The
value is sent back as a SOAP response to the requester.
http://host:port/XISOAPAdapter/MessageServlet?
channel=party:service:channel
In our case we will send the SOAP message to the PI server,
so we could click the ‘Propose URL’ button to get the URL
automatically of the PI system.
12. Here we specify the interface which has to be exposed as
webservice-
13. Here we specify the Sender Communication Component-
14. Next we get the overview of the wizard, click ‘Finish’
15. A WSDL gets generated, save it in your local system and
click ‘Close’