title: WSO2: Stream Processor
body: <p>How can i configure @sink to call a soap based web api? where can i specify the soap action? reference i found online aren't working properly? </p>
  
  <pre><code>    @sink(type='http',publisher.url='http://localhost:8009/foo', method='{POST}',headers="'content-type:xml','content-length:94'", client.bootstrap.configuration="'client.bootstrap.socket.timeout:20', 'client.bootstrap.worker.group.size:10'", client.pool.configuration="'client.connection.pool.count:10','client.max.active.connections.per.pool:1'", @map(type='xml', @payload('{&lt;events&gt;
      &lt;event&gt;
          &lt;symbol&gt;WSO2&lt;/symbol&gt;
          &lt;price&gt;55.6&lt;/price&gt;
          &lt;volume&gt;100&lt;/volume&gt;
      &lt;/event&gt;
  &lt;/events&gt;,
  POST,
  Content-Length:24#Content-Location:USA#Retry-After:120}')))
  </code></pre>