Where is the createobject for appcfcs.data_manip? This:
appcfcs.data_manip.queryToXML(MyQuery,"Table","Rows")
says invoke the queryToXML method in the object data_manip which is
part of a structure appcfcs (or similar). You need
CreateObject("component","appcfcs.data_manip").queryToXML(MyQuery,"Table","Rows")
On 8/19/05, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> Hey All,
>
> OK...I know there is a known bug in CF MX 6.1 about webservices not being
> able to see CF mappings....but this is happening on CFMX 7 and seems a tad
> different:
>
> I have a simple test webservice that creates a query and then calls a local
> CFC to convert that query to XML.
>
> here's the code that doesn't work:
>
> <cfcomponent displayname="test" output="false">
>
> <cffunction name="getStuff" access="remote" returntype="string"
> output="false">
>
> <cfset MyQuery = QueryNew("col1,col2")>
> <!--- add a row to the query --->
> <cfset SomeRows = QueryAddRow(MyQuery,1)>
> <cfset temp = QuerySetCell(MyQuery,"col1","foo",1)>
> <cfset temp = QuerySetCell(MyQuery,"col2","bar",1)>
>
> <cfreturn toString(appcfcs.data_manip.queryToXML(MyQuery,"Table","Rows"))>
>
> </cffunction>
>
> </cfcomponent>
[snip]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:215740
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54