I've got a web service set up for consumption but the only returnType that I
can get to work is numeric. All other returnTypes in the cffunction tag cause
the invocation to fail with the following error:
"validateKBUser" because AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode:
faultString: org.xml.sax.SAXException: Bad types (boolean -> double)
faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:
org.xml.sax.SAXException: Bad types (boolean -> double)...

The above error happens when set returnType to boolean. But sting, struct,
etc. all cause similar errors...




CFC CODE:
<cfcomponent output="false" displayname="User Validation for StellarBASE">
<cfsetting requestTimeOut = "120">
<cffunction name = "validateKBUser" returnType="boolean" output = "no"
access = "remote">
<cfargument name = "cid" type = "string" default="ane8">
<cfargument name = "pw" type = "string" default="ane8">


<cfreturn true>
</cffunction>

</cfcomponent>

INVOCATION CODE:
<cfinvoke webservice ="http://xx.xx.xx.xxx/stellarBASE/kblogin.cfc?wsdl"
method ="validateKBUser"
returnVariable="validUserID">
<cfinvokeargument name="cid" value="#form.cid#">
<cfinvokeargument name="pw" value="#form.pw#">
</cfinvoke>