E
Ernie
I'm trying to write a client that fetches a weather forecast using soap4R.
require 'soap/wsdlDriver'
weather = SOAP::WSDLDriverFactory.new(
"http://www.nws.noaa.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl"
).create_driver
This works ok and weather is created.
My problem is how do I enter the parameters for the function call
the parameters are:
<part name="latitude" type="xsd:decimal" />
<part name="longitude" type="xsd:decimal" />
<part name="product" type="typensroductType" />
<part name="startTime" type="xsd:dateTime" />
<part name="endTime" type="xsd:dateTime" />
<part name="weatherParameters" type="typens:weatherParametersType" />
The weatherParameters variable is an array of booleans eg. maxt, mint,
others
sReceived=NDFDgen("What goes here"........)
Any help would be appreciated.
Ernie
require 'soap/wsdlDriver'
weather = SOAP::WSDLDriverFactory.new(
"http://www.nws.noaa.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl"
).create_driver
This works ok and weather is created.
My problem is how do I enter the parameters for the function call
the parameters are:
<part name="latitude" type="xsd:decimal" />
<part name="longitude" type="xsd:decimal" />
<part name="product" type="typensroductType" />
<part name="startTime" type="xsd:dateTime" />
<part name="endTime" type="xsd:dateTime" />
<part name="weatherParameters" type="typens:weatherParametersType" />
The weatherParameters variable is an array of booleans eg. maxt, mint,
others
sReceived=NDFDgen("What goes here"........)
Any help would be appreciated.
Ernie