> anyone see what's wrong with this code? Why this would work
> as a web service on one server but not another?
>
> <cfcomponent>
>
> <cffunction name="getthisweek" access="public"
> returntype="query" hint="This returns the anniversaries
> happening this week as a query ">
Rather than answer your question (which I can't without more information -
there's nothing code-specific here), I'll just point out that if you want
people to consume your web services with something other than CF, you should
avoid returning query objects, as there's no standard for how to describe
them that is understood by all other languages. Instead, define complex
types and return them. You can do that by creating another CFC which does
nothing but describe itself using CFPROPERTY, and specifying the name of
that CFC within the RETURNTYPE attribute of your CFFUNCTION.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

