Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: help, trying to use MSXML instead of MSSoap object!

From: Martin Honnen <mahotrash@-----.-->
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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent