Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cflenster #1
AxisFault errors in Web Service Invocation
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>
cflenster Guest
-
Event Service errors
My server log and exception log both contain this error string when I restart the service. Unable to initialize Event service:... -
Web Service Stub Errors 6.1 Updater 1
I am starting to dabble in Web Services and having problems creating a very simple web service from a CFC. I am running MX 6.1 Updater 1 on Dell... -
ODBC Service Errors
Windows 2003 Server running ColdFusion MX 6.1 with Updater Installed. Every two to three minutes there is a new error in the Event... -
Web Service invocation from behind proxy behind firewall
hi, i have a webservice and it's client in dotnet. the client is coded to assign the proxy property to the service object, with the proxy url and... -
Time Service errors
Hello: We have only 1 NT domain and put the first Windows Server 2003 AD DC in this past weekend. Everything seems to be working fine except the...



Reply With Quote

