Inbound Integration / WCTP Connections |
To link users with a WCTP source, a user must be created to support WCTP. This user account will send the messages.
If a WCTP message starts with the text Subject:, VMP uses the rest of the line containing this text as the subject field for the message. VMP then skips one empty line and extracts the remaining data as the body of the message.
The following is a simple example of a WCTP XML payload that overrides the default subject:
<?xml version="1.0"?> <!DOCTYPE wctp-Operation SYSTEM "http://dtd.wctp.org/wctp-dtd-v1r1.dtd"> <wctp-Operation wctpVersion="wctp-dtd-v1r1"> <wctp-SubmitRequest> <wctp-SubmitHeader submitTimestamp="2010-03-31T01:00:56"> <wctp-Originator senderID="166.214.43.65:8088/WCTP" securityCode=""/> <wctp-MessageControl messageID="5345-21" transactionID="5345-21" allowResponse="false" notifyWhenDelivered="false" deliveryPriority="HIGH" preformatted="true"/> <wctp-Recipient recipientID="12345"/> </wctp-SubmitHeader> <wctp-Payload> <wctp-Alphanumeric>Subject: This is a subject. This is a message body</wctp-Alphanumeric> </wctp-Payload> </wctp-SubmitRequest> </wctp-Operation>