This documentation is for WSO2 Enterprise Service Bus version 4.8.0 . View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adding action header to rest to soap scenario

...

Code Block
languagehtml/xml
<definitions xmlns="http://ws.apache.org/ns/synapse">
   <proxy name="StockQuoteProxy" transports="http https" startOnLoad="true">
      <target>
         <endpoint>
            <address uri="http://localhost:9000/services/SimpleStockQuoteService"
                     format="soap11"/>
         </endpoint>
         <outSequence>
            <send/>
         </outSequence>
         <inSequence>
            <header name="Action" value="urn:getQuote"/>
         </inSequence>
      </target>
   </proxy>   
</definitions>

...