Jump to content
Sign in to follow this  

SOAP Client

Recommended Posts


I am trying to do an AutoIt SOAP Client to fetch weather data from NDFD SOAP XMLs. The WSDL is at http://www.weather.gov/forecasts/xml/DWMLg...dl/ndfdXML.wsdl This is an excerpt from my code.

$SOAPClient = objcreate("MSSOAP.SOAPClient")

$SOAPClient.mssoapinit ("http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl")

$strReturn = $SOAPClient.LatLonListCityNames(1234);

This function is just an example. Any function I use from the WSDL pops a Type Mismatch error. The data type for the 1234 I pass is called String in the schema but Integer on the help page. The name is displayLevel. Am I supposed to explicitly specify in passing that the value is for the parameter with this name?

Similarly, the NDFDgen function needs to be passed an array of boolean values. How do I do this in AutoIt? Will a general variant array suffice?

Has anybody tried NDFD with SOAP on AutoIT yet? If I get this working, I will post my code. Thanks in advance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.