Here is an example...
sSvcURL = "https://xxxx.dummy.com/Pr
sParams = "<?xml version=""1.0"" encoding=""utf-8"" ?>" & _
"<ProvisionRequest xmlns=""http://dummy.org/P
" <Credentials>" & _
" <Token>userid</Token>" & _
" <TokenKey>password</TokenK
" </Credentials>" & _
" <NewService serviceType=""GSM"">" & _
" <ServiceZip>11111</Service
" <Service>" & _
" <Plan>111</Plan>" & _
" <Options>" & _
" <Option>1</Option>" & _
" <Option>2</Option>" & _
" </Options>" & _
" </Service>" & _
" <Equipment>" & _
" <Existing serviceType=""GSM"">" & _
" <IMEI SIM=""00000000000000000000
" </Existing>" & _
" </Equipment>" & _
" </NewService> " & _
"</ProvisionRequest>"
sResult = GetPage(sSvcURL, Request_POST, sParams, "", "")
// in this example i submit a zip code, a simp number and some other information
// if i look at the result i get in the sResult data item i see resulting XML
// but, i do not get all of the information i need. i am told i need to give the vendor
// a url for them to use, then the XML i get back will be the entire result string
// currently all i am getting is an ACK or NACK and sometimes an error message.
//
// now normally i would transfer to another page and display the result (in this case the phone number assigned by the vendor)
// is the postback url just that (the page name i am going to next?) then at the start of that page i just have to find the XML string
// sent back, parse it and display it?
//
// Evertime i ask what a postback url is they say "it's where we send back the results".... not very helpfull
Main Topics
Browse All Topics





by: alorentzPosted on 2008-03-06 at 05:51:10ID: 21060083
Just as the client to clarify. "postback url" is not common terminology in this case, so you need to ask what they really want if that is what they said.
com/webtec h/110100-1 .shtml om/dom_htt p.asp
When sending XML, you send information to a page (vendor page maybe), and you get a response from that page that can contain anything they have on their page.
XML examples:
http://www.4guysfromrolla.
http://www.w3schools.com/d