subscribeService

Request from BOSS to Mediation Server

<soapenv:Envelope 
          xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
          xmlns:pcrf="http://www.examplenetwork.com/PCRF/" 
          xmlns:pcrf1="pcrf:soap">
   <soapenv:Header>
      <pcrf:Header>
         <Address></Address>
         <Username>admin</Username>
         <Password>*****</Password>
         <time></time>
         <serial></serial>
      </pcrf:Header>
   </soapenv:Header>
   <soapenv:Body>
      <pcrf1:subscribeService>
         <inPara>
            <subscriber>
               <attribute>
                <key>usrIdentifier</key>
                <value>008613705162222</value>
               </attribute>
            </subscriber>
            <subscribedService>
            <attribute>
              <key>ServiceCode</key>
              <value>21012501234567890123456789011111</value>
            </attribute>
            <attribute>
              <key>ServiceBillingType</key>
              <value>1</value>
            </attribute>
            <attribute>
              <key>ServiceStartDateTime</key>
              <value>20140701000000</value>
            </attribute>
            <attribute>
              <key>ServiceEndDateTime</key>
              <value>20140801000000</value>
            </attribute>
            <attribute>
              <key>ServiceUsageState</key>
              <value>1</value>
            </attribute>
            <attribute>
              <key>operateTime</key>
              <value>20140620182010</value>
            </attribute>
          </subscribedService>
         </inPara>
      </pcrf1:subscribeService>
   </soapenv:Body>
</soapenv:Envelope>

Response from Mediation Server to BOSS

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:subscribeServiceResponse xmlns:ns1="pcrf:soap">
         <result xmlns:ns2="http://www.chinamobile.com/PCRF/">
            <resultCode>0</resultCode>
         </result>
      </ns1:subscribeServiceResponse>
   </soap:Body>
</soap:Envelope>

Request from Mediation to SPR

    <ns1:processTransaction>
      <![CDATA[<req name="insert" resonly="y">
        <ent name="Service" ns="policy"/>
        <set>
          <expr>
            <attr name="operateTime"/>
            <value val="20140620182010"/>
          </expr>
          <expr>
            <attr name="ServiceEndDateTime"/>
            <value val="20140801000000"/>
          </expr>
          <expr>
            <attr name="ServiceCode"/>
            <value val="21012501234567890123456789011111"/>
          </expr>
          <expr>
            <attr name="ServiceBillingType"/>
            <value val="1"/>
          </expr>
          <expr>
            <attr name="ServiceStartDateTime"/>
            <value val="20140701000000"/>
          </expr>
          <expr>
            <attr name="ServiceUsageState"/>
            <value val="1"/>
          </expr>
        </set>
        <where>
          <expr>
            <attr name="MSISDN"/>
            <op value="="/>
            <value val="008613705162222"/>
          </expr>
        </where>
      </req>
      ]]>
    </ns1:processTransaction>

Response from SPR to Mediation Server

    <ns1:message error="0">
      <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
      <req name="insert" resonly="y">
        <res affected="1" error="0"/>
      </req>]]>
    </ns1:message>