Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object Rexx and MSSOAP

Status
Not open for further replies.

smithwick

Technical User
Feb 18, 2004
1
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top