jeudi 28 mars 2019

how to creating a web service out of this code

I was sent a soap (WSDL) code by the institute I work in and asked me for the URL (I guess its for the web server I'm supposed to create ) but I don't know what I'm supposed to do with the code or how to create a web service based on it. PS its for subscribing and unsubscribing from an SMS service the following code is a subscription example theirs one just like for unsubscribing

iv'e tried watching videos on creating web services but none of them tells me what to do with the code I have


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
   <soapenv:Body> 
      <ns1:syncOrderRelation xmlns:ns1="http://www.csapi.org/schema/parlayx/data/sync/v1_0/local"> 
         <ns1:userID> 
            <ID>8619800000001</ID> 
            <type>0</type> 
         </ns1:userID> 
         <ns1:spID>001100</ns1:spID> 
         <ns1:productID>1000000423</ns1:productID> 
         <ns1:serviceID>0011002000001100</ns1:serviceID> 
         <ns1:serviceList>0011002000001100</ns1:serviceList> 
         <ns1:updateType>1</ns1:updateType> 
         <ns1:updateTime>20130723082551</ns1:updateTime> 
         <ns1:updateDesc>Addition</ns1:updateDesc> 
         <ns1:effectiveTime>20130723082551</ns1:effectiveTime> 
         <ns1:expiryTime>20361231160000</ns1:expiryTime> 
         <ns1:extensionInfo> 
            <item> 
               <key>accessCode</key> 
               <value>20086</value> 
            </item> 
            <item> 
               <key>chargeMode</key> 
               <value>0</value> 
            </item> 
            <item> 
               <key>MDSPSUBEXPMODE</key> 
               <value>1</value> 
            </item> 
            <item> 
               <key>objectType</key> 
               <value>1</value> 
            </item> 
            <item> 
               <key>isFreePeriod</key> 
               <value>false</value> 
            </item> 
            <item> 
               <key>payType</key> 
               <value>0</value> 
            </item> 
            <item> 
               <key>transactionID</key> 
               <value>504016000001307231624304170004</value> 
            </item> 
            <item> 
               <key>orderKey</key> 
               <value>999000000000000194</value> 
            </item> 
            <item> 
               <key>keyword</key> 
               <value>sub</value> 
            </item> 
            <item> 
               <key>cycleEndTime</key> 
               <value>20130822160000</value> 
            </item> 
            <item> 
               <key>durationOfGracePeriod</key> 
               <value>-1</value> 
            </item> 
            <item> 
               <key>serviceAvailability</key> 
               <value>0</value> 
            </item> 
            <item> 
               <key>channelID</key> 
               <value>1</value> 
            </item> 
            <item> 
               <key>TraceUniqueID</key> 
               <value>504016000001307231624304170005</value> 
            </item> 
            <item> 
               <key>operCode</key> 
               <value>zh</value> 
            </item> 
            <item> 
               <key>rentSuccess</key> 
               <value>true</value> 
            </item> 
            <item> 
               <key>try</key> 
               <value>false</value> 
            </item>             
            <item> 
               <key>shortMessage</key> 
               <value>Hello world.</value> 
            </item> 
         </ns1:extensionInfo> 
      </ns1:syncOrderRelation> 
   </soapenv:Body> 
</soapenv:Envelope> `````




Aucun commentaire:

Enregistrer un commentaire