Skip to main content
Omnitracs Knowledge Base

Workflow Security

Workflow Security Overview

WMC Web Service Security

Both forward and return message services require Username Token authentication . The WS security header element requires two nested elements, Timestamp and UsernameToken. Any other elements contained in the security element will result in a failure. Here is an example of a valid SOAP message generated from a .NET client.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"

  xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"

  xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

  <soap:Header>

    <wsa:Action></wsa:Action>

    <wsa:MessageID>uuid:cf120f55-2726-4193-b943-69a0e6e35257</wsa:MessageID>

    <wsa:ReplyTo>

      <wsa:Address>[http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous]</wsa:Address>

    </wsa:ReplyTo>

    <wsa:To>[https://ovdw-int.qualcommapps.com/ovdw-service/services/ovdw]</wsa:To>

    <wsse:Security soap:mustUnderstand="1">

      <wsu:Timestamp wsu:Id="Timestamp-e6570416-ea52-4005-815d-f5c54626ad42">

        <wsu:Created>2008-07-31T17:53:00Z</wsu:Created>

        <wsu:Expires>2008-07-31T17:58:00Z</wsu:Expires>

      </wsu:Timestamp>

      <wsse:UsernameToken

        xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

        wsu:Id="SecurityToken-e05c0e33-180c-42b2-b5d5-490604009ea5">

        <wsse:Username>user</wsse:Username>

        <wsse:Password

          Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">

          password

        </wsse:Password>

        <wsse:Nonce>8orTSg3lKUnjX1gxCHjPZQ==</wsse:Nonce>

        <wsu:Created>2008-07-31T17:53:00Z</wsu:Created>

      </wsse:UsernameToken>

    </wsse:Security>

  </soap:Header>

  <soap:Body>

    <send xmlns="http://service.web.ovdw.qdc.qualcomm.com/">

      <arg0 xmlns="">

        <acctno>33344444</acctno>

        <data></data>

        <seqno>8881</seqno>

        <ua>105055349</ua>

      </arg0>

    </send>

  </soap:Body>

</soap:Envelope>

  • Was this article helpful?