<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:getUsrLocation> <inPara> <subscriber> <attribute> <key>usrIdentifier</key> <value>008613705162222</value> </attribute> </subscriber> </inPara> </pcrf1:getUsrLocation> </soapenv:Body> </soapenv:Envelope>
<ns1:getUsrLocationResponse xmlns:ns1="pcrf:soap"> <result xmlns:ns2="http://www.chinamobile.com/PCRF/"> <resultCode>0</resultCode> <subscriber> <attribute> <key>usrIdentifier</key> <value>008613705162222</value> </attribute> </subscriber> <!—If the subscriber does not has any location info, then below message has 0 <subscribedUsrLocation> node --> <subscribedUsrLocation> <attribute> <key>ServiceCode</key> <value>21012501234567890123456789011111</value> </attribute> <attribute> <key>UsrLocation</key> <value>010</value> </attribute> </subscribedUsrLocation> </result> </ns1:getUsrLocationResponse>