I guess web service CFCs do the same thing when they return an object.

-----Original Message-----
From: Scott Keene [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 1:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] weather web service consumption questions


Brad, try this code here and when it dumps, you'll see that the service call
actually returns a Java object! This little snippet will show you all the
methods that the code is calling:

<cfinvoke 
        webservice="http://www.ejse.com/WeatherService/Service.asmx?WSDL";
method="GetWeatherInfo" zipCode="33609" returnVariable="oWeather"/>

<cfdump var="#oWeather#">

I found no mention of this on the site you pointed to, and the WSDL seems to
just say that it returns an XML complex type. Weird. Cool, but kind of
weird. I don't think CF converted this to an object either - take a look at
the label on the dump and you'll see it is a Java object of type
"com.ejse.WeatherService.WeatherInfo". Interesting.

--
Scott Keene
[EMAIL PROTECTED]
----------------------------------
CFOOP - Object Oriented ColdFusion
http://www.cfoop.com
--
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to