4.1 GetServiceInfo
An OMS client can submit a GetServiceInfo request with an empty parameter with the following code:
-
<?xml version="1.0" encoding="utf-8"?> <Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <Body> <GetServiceInfo xmlns="http://schemas.microsoft.com/office/Outlook/2006/OMS" /> </Body> </Envelope>
The protocol server receives this request and creates an appropriate response, similar to the following code:
-
<?xml version="1.0" encoding="utf-8"?> <serviceInfo> <serviceProvider>ABC Company</serviceProvider> <serviceUri>http://www.abc.com.cn/OMS3/XMS.asmx</serviceUri> <signUpPage>http://www.abc.com.cn/ws/xmssignup.aspx/</signUpPage> <targetLocale>2052</targetLocale> <localName>ABC Mobile Service</localName> <englishName>ABC Mobile Service</englishName> <authenticationType>other</authenticationType> <batchSize>255</batchSize> <supportedService> <SMS_SENDER maxRecipientsPerMessage="50" maxMessagesPerSend="20" maxSbcsPerMessage="140" maxDbcsPerMessage="70" > <LONG_SMS_SENDER maxRecipientsPerMessage="50" maxMessagesPerSend="255" maxSbcsPerMessage="153" maxDbcsPerMessage="67" /> </SMS_SENDER> <MMS_SENDER supportSlide="true" maxRecipientsPerMessage="100" maxSizePerMessage="30000" maxSlidesPerMessage="10" /> </supportedService> </serviceInfo>