The previous article is about the C # implementation of CMPP3.0, I in order to test the provision interface, using the System.Net.HttpWebRequest class will be "Misc System SMS SP Access Guide-Interface transformation fascicle" Document of the sample XML sent to the WEB Service and returns the corresponding RESP package (also a section of XML) from the WEB service, the following code is posted:
1, syncorderrelationreq package of XML content:
<soap-env:envelope xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd= "http://www.w3.org/2001/ XmlSchema "xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/"xmlns:soap-enc=" http://schemas.xmlsoap.org /soap/encoding/">
<SOAP-ENV:Header>
<transactionid xmlns= "http://www.monternet.com/dsmp/schemas/" >00110318384464</TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<syncorderrelationreq xmlns= "http://www.monternet.com/dsmp/schemas/" >
<Version>1.5.0</Version>
<MsgType>SyncOrderRelationReq</MsgType>
<Send_Address>
<DeviceType>0</DeviceType>
<DeviceID>0011</DeviceID>
</Send_Address>
<Dest_Address>
<DeviceType>400</DeviceType>
<DeviceID>0</DeviceID>
</Dest_Address>
<FeeUser_ID>
<UserIDType>1</UserIDType>
<MSISDN>13456781234</MSISDN>
<PseudoCode></PseudoCode>
</FeeUser_ID>
<DestUser_ID>
<UserIDType>1</UserIDType>
<MSISDN>13456781234</MSISDN>
<PseudoCode></PseudoCode>
</DestUser_ID>
<LinkID>SP</LinkID>
<ActionID>1</ActionID>
<ActionReasonID>1</ActionReasonID>
<SPID>419000</SPID>
<SPServiceID>-YYXXYYXX</SPServiceID>
<AccessMode>3</AccessMode>
<FeatureStr>MTA2NjIxNDQgREE=</FeatureStr>
</SyncOrderRelationReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>