I decided to use MSSOAP with Object Rexx. However, when I run the following program, I get back the xml tags, but no actual data between the tags. Am I missing something here?
Rexx Program:
wsdl_url = '
zip = "30107"
SoapClient = .OLEObject~New("MSSOAP.SoapClient30")
SoapClient~mssoapinit(wsdl_url)
xml = SOAPClient~GetWeatherReport(zip)
Exit
Trace:
2 *-* wsdl_url = ' >L> " >>> " 4 *-* zip = "30107"
>L> "30107"
>>> "30107"
6 *-* SoapClient = .OLEObject~New("MSSOAP.SoapClient30")
>V> "The OLEOBJECT class"
>L> "MSSOAP.SoapClient30"
>>> "MSSOAP.SoapClient30"
>M> "an OLEOBJECT"
>>> "an OLEOBJECT"
7 *-* SoapClient~mssoapinit(wsdl_url)
>V> "an OLEOBJECT"
>V> " >>> " >>> "The NIL object"
9 *-* xml = SOAPClient~GetWeatherReport(zip)
>V> "an OLEOBJECT"
>V> "30107"
>>> "30107"
>M> "<Weather><City></City><State></State><County></County><Fahrenheit></Fahrenheit><Celsius></Celsius><Condition></Condition><Humidity></Humidity><Wind></Wind><Sunrise></Sunrise><Sunset></Sunset><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport></Weather>"
>>> "<Weather><City></City><State></State><County></County><Fahrenheit></Fahrenheit><Celsius></Celsius><Condition></Condition><Humidity></Humidity><Wind></Wind><Sunrise></Sunrise><Sunset></Sunset><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport></Weather>"
11 *-* Exit
Rexx Program:
wsdl_url = '
zip = "30107"
SoapClient = .OLEObject~New("MSSOAP.SoapClient30")
SoapClient~mssoapinit(wsdl_url)
xml = SOAPClient~GetWeatherReport(zip)
Exit
Trace:
2 *-* wsdl_url = ' >L> " >>> " 4 *-* zip = "30107"
>L> "30107"
>>> "30107"
6 *-* SoapClient = .OLEObject~New("MSSOAP.SoapClient30")
>V> "The OLEOBJECT class"
>L> "MSSOAP.SoapClient30"
>>> "MSSOAP.SoapClient30"
>M> "an OLEOBJECT"
>>> "an OLEOBJECT"
7 *-* SoapClient~mssoapinit(wsdl_url)
>V> "an OLEOBJECT"
>V> " >>> " >>> "The NIL object"
9 *-* xml = SOAPClient~GetWeatherReport(zip)
>V> "an OLEOBJECT"
>V> "30107"
>>> "30107"
>M> "<Weather><City></City><State></State><County></County><Fahrenheit></Fahrenheit><Celsius></Celsius><Condition></Condition><Humidity></Humidity><Wind></Wind><Sunrise></Sunrise><Sunset></Sunset><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport></Weather>"
>>> "<Weather><City></City><State></State><County></County><Fahrenheit></Fahrenheit><Celsius></Celsius><Condition></Condition><Humidity></Humidity><Wind></Wind><Sunrise></Sunrise><Sunset></Sunset><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport><DailyReport><Day></Day><HighFahrenheit></HighFahrenheit><HighCelsius></HighCelsius><LowFahrenheit></LowFahrenheit><LowCelsius></LowCelsius></DailyReport></Weather>"
11 *-* Exit