View Single Post
  #2 (permalink)  
Old September 20th, 2004, 04:42 AM
pgtips pgtips is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Two things I can see wrong:
1. on this line
SubmitURL = SubmitURL "https://www.myyellow.com/dynamic/services/servlet"
you're missing the & to join the 2 strings

2. you can't add your CONTROLLER argument in this way. ServerXMLHTTP doesn't support it. You must put the "CONTROLLER=com.yell.ec.inter.yfsratequote.httpcon troller.RateQuoteAPIController" bit in the sFormData variable along with all the other params.

Also, you should check the responseStatus = 200 before you try to read the responseText or responseXML. (Edit: the property name is status not responseStatus)

hth
Phil
Reply With Quote