> >UPDATE:
> >
> >DOH!  I changed the webserice and forgot to refresh it in CF Admin....I
> no
> >longer get that error....but the dump of the query returned by the
> >webservice sure looks like  a CF query object and NOT XML??
> >
> >arrgghhhhh....what am I not seeing here??
> >
> >so...output="no" returntype="query"
> >
> >called as webservice....MM says all webservices create XML...I "seem" to
> be
> >getting a query back and NOT XML

CFCs (well... "remote" methods on CFCs) only send XML if CALLED as web
services.  There are two ways:

+) Via SOAP request (using myService.cfc?wsdl and, for example, cfinvoke) -
this will return your result as SOAP XML.

+) Via the command line (using something like
mySerice.cfc?method=myMethod&MyParam=value) - this will return your result
as WDDX XML.

Until you do that your content is NOT XML - CFDUMPing from within the
WebService will always return CF native objects.

Note also that if you invoke the service from CF it will automatically do
the XML conversion for you - you'll never see it.  So CFDUMPing from the
invocation will ALSO return CF native objects.

You can see the XML if you watch the HTTP transfer however - I use HTTPWatch
for Internet Explorer and I believe theirs a tool that does the same for
FireFox.  This will show you everything that's being trading across HTTP.

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215922
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to