Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - help, trying to use MSXML instead of MSSoap object! >Thread Next - Re: help, trying to use MSXML instead of MSSoap object! Re: help, trying to use MSXML instead of MSSoap object!To: NULL Date: 12/1/2006 2:32:00 PM Robert Daley wrote: > I am trying to use MSXML to post a request to get exchange rates from > http://www.newyorkfed.org/markets/fxrates/WebService/v1_0/FXWS.wsdl > without using the MSSoap object (I don't want to have to distribute the > Soap Toolkit files). I ran a trace when I sent the request using soap > and formulated the soap envelope (see code below) based on the captured > data. Every time I run my non MSSoap version it only returns the WSDL > file instead of my result set (exchange data). > sURL = > "http://www.newyorkfed.org/markets/fxrates/WebService/v1_0/FXWS.wsdl" Try setting the URL to http://www.newyorkfed.org/markets/fxrates/WebService/v1_0/FXWS.cfc > objDAVMethod.setRequestHeader "soapAction", "FXWS:getAllLatestNoonRates" I think it should be objDAVMethod.setRequestHeader "SOAPAction", """FXWS:getAllLatestNoonRates""" see <http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383528> -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
