So I tried it out as user 1 and got the message bellow. I see the "You are out of credits for this method!" custom exception.

error output: coldfusion.xml.rpc.ServiceProxy$ServiceInvocationException: Could not perform web service invocation "getResourceFeedService" because AxisFault faultCode: http://schemas.xmlsoap.org/soap/envelope/:Server.generalException faultString: [org.apache.axis.AxisFault : ; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.CustomException : You are out of credits for this method!][]; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [org.apache.axis.AxisFault : ; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.CustomException : You are out of credits for this method!][] faultActor: null faultDetail: stackTrace: [org.apache.axis.AxisFault : ; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.CustomException : You are out of credits for this method!][]; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [org.apache.axis.AxisFault : ; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.CustomException : You are out of credits for this method!][] at <SNIP>

On Jun 7, 2004, at 12:50 AM, Bryan F. Hogan wrote:

Following up with this discussion from Friday. I believe I have found a way to show the correct type in the WSDL and throw a meaningfull message in the AxisFault. Could someone test the following WSDL in an application that will return the fault like Flash?

http://www.cfm-applications.com/expressive_v1_b2/webservice.cfc?wsdl

The userID is 1 and you have 5 credits. It will return my RSS feeds if you invoke it correctly. I want someone to try and invoke it with a userID of 2 and invoke it with a userID of 1 and invoke it more than 5 times with userID of 1.

Could someone please let me know if it returns a meaningfull error?

Thanks
Bryan

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to