This documentation is for WSO2 Enterprise Integrator version 6.1.1 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To invoke the main sequence using curl, a request file should be created as shown below. This file is named  stockQuoteReq.xml in this example.

    Code Block
    languagexml
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:m0="http://services.samples" xmlns:xsd="http://services.samples/xsd">
    	<soap:Header/>
    	<soap:Body>
        	<m0:getQuote>
            	<m0:request><m0:symbol>IBM</m0:symbol></m0:request>
            	<m0:request><m0:symbol>WSO2</m0:symbol></m0:request>
            	<m0:request><m0:symbol>MSFT</m0:symbol></m0:request>
        	</m0:getQuote>
    	</soap:Body>
    </soap:Envelope>
  • See Prerequisites to Start See the prerequisites for starting the ESB Samples for other prerequisites.

...

This configuration file synapse_sample_18.xml is available in the <ESB<EI_HOME>/repositorysample/samplesservice-bus directory.

To build the sample, start the ESB with the sample 18 configuration. For instructions on starting a sample ESB configuration, see Starting the ESB with a sample configuration.
The operation log keeps running until the server starts, which usually takes several seconds. Wait until the server has fully booted up and displays a message similar to "WSO2 Carbon started in n seconds."

...

Code Block
languagexml
<?xml version='1.0' encoding='utf-8'?>
<soap:Envelope xmlns:m0="http://services.samples" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://services.samples/xsd">
    <soap:Body>
   	 <m0:getQuote>
   		 <m0:checkPriceRequest><m0:code>IBM</m0:code></m0:checkPriceRequest>
   		 <m0:checkPriceRequest><m0:code>WSO2</m0:code></m0:checkPriceRequest>
   		 <m0:checkPriceRequest><m0:code>MSFT</m0:code></m0:checkPriceRequest>
   	 </m0:getQuote>
    </soap:Body>
</soap:Envelope>

 <m0Note that <m0:request><m0:symbol>IBM</m0:symbol></m0:request> in the request has been changed to <m0:checkPriceRequest><m0:code>IBM</m0:code></m0:checkPriceRequest>.

...