Skip to content

Instantly share code, notes, and snippets.

@hasithaa
Last active December 21, 2015 07:38
Show Gist options
  • Select an option

  • Save hasithaa/6272328 to your computer and use it in GitHub Desktop.

Select an option

Save hasithaa/6272328 to your computer and use it in GitHub Desktop.
<bpel:copy>
<bpel:from>
<bpel:literal>
<eh2:echo2 xmlns:eh2="http://anotherexample.com">noValueDefined</eh2:echo2>
</bpel:literal>
</bpel:from>
<bpel:to header="echo2" variable="output"></bpel:to>
</bpel:copy>
<bpel:copy>
<bpel:from part="payload" variable="input">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
<![CDATA[tns:input]]>
</bpel:query>
</bpel:from>
<bpel:to header="echo2" variable="output"></bpel:to>
</bpel:copy>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<eh2:echo2 xmlns:eh2="http://anotherexample.com">inputValue</eh2:echo2>
</soapenv:Header>
<soapenv:Body>
<soapHeaderTestProcessResponse xmlns="http://wso2.org/bps/sample">
<tns:result xmlns:tns="http://wso2.org/bps/sample">result</tns:result>
</soapHeaderTestProcessResponse>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment