4.1.2.Introduction of SOAP
SOAP (Simple Object Access Protocol)
SOAP is a protocol specification for exchanging structure information during web service calls
SOAP Format
Header is optional
Inside the body we will send the actual content of the message
<?xml version="1.0" encoding="utf-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/""> <SOAP-ENV:Header> <SMSGW:UserId SOAP-ENV:mustUnderstand=1> Username </SMSGW:UserId> <SMSGW:Password SOAP-ENV:mustUnderstand=1> Password </SMSGW:Password> <SMSGW:ChannelId SOAP-ENV:mustUnderstand=1> "GSM_Standard_1" </SMSGW:ChannelId> </SOAP-ENV:Header> <SOAP-ENV:Body> <SMSGW:SubmitReq> <SourceAddress> SourceAddress </SourceAddress> <DestAddress> <Number> DestAddress </Number> </DestAddress>"); <Message><![CDATA[""]]></Message> <DataCoding></DataCoding> <RegisteredDelivery>0</RegisteredDelivery> </SMSGW:SubmitReq> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Communication example
Last updated
Was this helpful?