Still trying to work through various issues setting up a web service to
perform a number of different functions.
Below should insert a record into the database. But I'm getting:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad
types (boolean -> class coldfusion.xml.rpc.QueryBean)
What's wrong with the type? "Boolean" is a correct value, right?
<cffunction name="newCLIENT"
access="remote"
returntype="boolean"
hint="Add a New Client" >
<cfargument name="WSClientName" type="string" />
<cfquery>
INSERT INTO ClientInfo
(ClientName)
VALUES
( <cfqueryparam cfsqltype="CF_SQL_VARCHAR"
null="false"
value="#WSClientName#" />)
</cfquery>
<cfreturn true>
</cffunction>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263792
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4