Listing 1: Sample WS-Context context embedded in a SOAP Header block

<env:Envelope xmlns:env="http://www.w3.org/2002/12/soap-envelope">
<env:Header>
<wsctx:context
xmlns:wsctx="http://www.webservicestransactions.org/schemas/wsas/2003/03"
timeout="0">
<wsctx:context-identifier>
http://www.arjuna.com/ws-ctx/123:abc:456:def
</wsctx:context-identifier>
<!-- Other protocols can extend context here -->
</wsctx:context>
</env:Header>
<env:Body>
<m:Message xmlns:m="http://example.org/MessageSchema"
<m:
</m:Message>
</env:Body>
</env:Envelope>