OVDW Web Service Integration Guide
OVDW Web Service Integration Guide.
CAUTION: This interface has been deprecated in the WMC product and is will be removed in the future.
Please refer to current documentation here.
The OVDW message service supports forward messages (mobile destination) and return messages (mobile originated) via SOAP web services. Our partners implement web service clients for both services. This means Forward messaging is a push model and return messages are pull. This document represents OVDW WSDL version as of 10/20/2009. The current WSDL is located on our production servers.
OVDW Web Service Information Covered
- WebService Methods
- WebService Security
- Forward Message Samples
- Return Message Samples
OVDW Web Service Methods
OVDW supports the following message invocations
- send
- getMessages
- getDeliveredMessages
The send method delivers a host workflow message to the mobile client.
The getMessages method retrieves responses from the mobile client that have not been delivered. Messages are queued for delivered on the OVDW message gateway until they are retrieved. An upper limit is imposed on the number of messages returned.
The getDeliveredMessages retrieves responses from the mobile client. This call enables the caller to fetch messages that may have already been delivered via getMessages. Caller specifies a date range and date type. An upper limit is imposed on the number of messages returned.
For problems generating the WSDL proxies in .NET, please download the Visual Studio 2008 project with C# example source code from here.
OVDW 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.
|
Forward Message Samples
Here are sample XML soap messages for forward messaging. Note: Soap Header information has been omitted for brevity.
Inbound Message - Sent from Dispatch to OVDW Web Service
|
Sample Un-encoded Payload - New Trip Plan
The following can be placed in the <data> block and sent to a test unit that is running the reference application for Driver WorkFlow on the MAS.
|
Sample Un-encoded Payload - Add Destination (Stop) to Trip Plan
The following can be Base64 encoded and placed in the <payload> and send to a test unit that is running the reference application for Driver WorkFlow on the MAS. It will add the stop to the above trip plan. If a trip plan with a different planId is already on the device, and error response return message will be received.
|
Sample Un-encoded Payload - Clear Trip Plan
The following can be Base64 encoded and placed in the <payload> and send to a test unit. It will clear any currently available trip plan from the device.
|
Sample Un-encoded Payload - Clear Pre-Plan
The following can be Base64 encoded and placed in the <payload> and send to a test unit. It will clear any currently available pre-plan from the device.
|
Outbound Message
|
Return Message Samples
Here are sample XML soap messages for return messaging. Note: Soap Header information has been omitted for brevity. See security section for details on the soap header.
Service Request Message - Request Messages From the Web Service
|
Service Reponse Message - MCP100 or MCP200 Mobile Message Delivery Confirmation Receipt
NOTE: That <lat> and <lon> values are provided as 1/30th of a second values. To get the number of seconds, divide by 30. To get the number of minutes, divide by 30*60=1800. To get the number of degrees, divide by 30*60*60=108000.
|
Service Response Message - Workflow Return Message with Workflow Data
This message is a sample of what is received when a message is delivered with Driver Workflow data contained in the message.
|