<% Function PostXmlAndGetResponse (PostToUrl, XmlBody) set xhttp = createObject ( "Microsoft.XMLHTTP") xhttp.open "POST", PostToUrl, False xhttp.send XmlBody PostXmlAndGetResponse = xhttp.responseText set xhttp = nothingEnd Function
if Request.form.count> 0 ThenPosttourl = "http://211.140.11.43/dsmp/dsmp.wsdl" xmlbody = XMLBODY " "& vbrlfxmlbody = xmlbody " "& vbcrlfxmlbody = XMLBODY "& vbcrlfxmlbody = xmlbody " 0024030301050 TransactionID> "& vbcrlfXmlBody = XmlBody " SOAP-ENV: Header> "& vbcrlfXmlBody = XmlBody " "& vbcrlfXmlBody = XmlBody " " & required.form ("Version") & " version>" & vbrlfxmlbody = xmlbody "& Req UEST.FORM ("MSGTYPE") & " msgtype>" & vbrlfxmlbody = xmlbody "& vbcrlfxmlbody = xmlbody " & Request.form ("Send_address_DeviceType") &
" DeviceType>" & vbcrlfXmlBody = XmlBody "" & request.Form ( "Send_Address_DeviceID") & " DeviceID>" & vbcrlfXmlBody = XmlBody " Send_Address>" & vbcrlfXmlBody = XmlBody "" & vbcrlfXmlBody = XmlBody " "& request.Form (" Dest_Address_DeviceType ") &" DeviceType> "& vbcrlfXmlBody = XmlBody " "& request.Form (" Dest_Address_DeviceID ") &" DeviceID> "& vbcrlfXmlBody = XmlBody " Dest_Address> "& vbcrlfXmlBody = XmlBody " "& vbcrlfXmlBody = XmlBody " "& request.Form (" FeeUser_ID_UserIDType ") &" UserIDType> "& vbcrlfXmlBody = XmlBody " "& request.Form (" FeeUser_ID_MSISDN ") &" MSISDN> "& vbcrlfXmlBody = XmlBody " "& vbcrlfXmlBody = XmlBody " FeeUser_ID> "& vbcrlfXmlBody = XmlBody " "& vbcrlfXmlBody = XmlBody " "& request.Form (" DestUser_ID_UserIDType ") &" < / UserIDType> "& vbcrlfXmlBody = XmlBody " "& request.Form (" DestUser_ID_MSISDN ") &" MSISDN> "& vbcrlfXmlBody = XmlBody " "& vbcrlfXmlBody = XmlBody " DestUser_ID> "& vbcrlfXmlBody = Xm LBODY "& vbcrlfxmlbody = XMLBody "
"& Request.Form (" ServiceIDType ") &" ServiceIDType> "& vbcrlfXmlBody = XmlBody " "& request.Form (" SPID ") &" SPID> "& vbcrlfXmlBody = XmlBody " "& request.Form ( "SPServiceID") & " SPServiceID>" & vbcrlfXmlBody = XmlBody "" & vbcrlfXmlBody = XmlBody "" & vbcrlfXmlBody = XmlBody " Service_ID>" & vbcrlfXmlBody = XmlBody "" & vbcrlfXmlBody = XmlBody " UnSubscribeServiceReq>" & vbcrlfXmlBody = XmlBody " SOAP-ENV: Body>" & vbcrlfXmlBody = XmlBody " SOAP-ENV: Envelope>" ReturnValue = PostXmlAndGetResponse (PostToUrl, XmlBody) response.Write (ReturnValue) else%>