I tried that try/catch with the [coldfusion.server.ServiceFactory] "refreshWebService" call and still can't get it to work. The problem occurs right after we restart our coldFusion servers.
This is the error message that I get when I call refreshWebService: coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 1 syntax error in "F:/CFusionMX7/stubs/WS-1575360704/com_achex_webservices/ExtendedDetail.java": 8. package .com_achex_webservices; <> *** Syntax: Unexpected symbol ignored . Thanks, Ryan On 9/11/06, Ryan, Terrence <[EMAIL PROTECTED]> wrote: > Have you tried resetting the webservice in the factory before making a call > to it. Basically it causes the stub object to be re-written (as far as I can > remember.) > > <cfset wsdl="http://www.achex.com/ws/Authorization.wsdl" /> > <cfset createObject("java", > "coldfusion.server.ServiceFactory").XmlRpcService.refreshWebService(wsdl) /> > > I just wrap every delicate webservice call I make in a try/catch block, and > then reset it in case of an error and rerun. It eliminates a lot of the > problems I've had with calling webservices. > > Terrence Ryan > Senior Systems Programmer > Wharton Computing and Information Technology > E-mail: [EMAIL PROTECTED] > > > -----Original Message----- > From: Ryan Duckworth [mailto:[EMAIL PROTECTED] > Sent: Monday, September 11, 2006 10:30 AM > To: CF-Talk > Subject: Could not perform Web service invocation > > I recently integrated with TeleCheck to accept eChecks on our sites. > Everything seems to work perfectly except for ColdFusion's ability to > generate and hold onto the stub code for the webservice. > > The worst kind of problem too... it is intermittent with no obvious pattern. > > The WSDL files look good. TeleCheck web service calls will work great, but > after we restart a server SOMETIMES we receive the "Could not perform web > service invocation" error. > > Test Server: > http://test.achex.com/ws/Authorization.wsdl > > Production Server: > http://www.achex.com/ws/Authorization.wsdl > > I have tried to search forums for a possible solution, but can't seem to get > it to work. > > Personally, I believe this is a bug with ColdFusion. Some forums have > mentioned that ColdFusion does not handle complex web service types very > well. However, TeleCheck wrote the web service and I can not change their > data types. > > I have also read that ColdFusion "flushes" the stub objects from memory. We > have installed Cumulative Hot Fix 7.0.2 which stated that it solved some web > service flushing problems. > > The only way we have been able to somewhat solve this problem temporarily is > to delete everything in the \CFusionMX7\stubs before restarting ColdFusion. > This solution is not acceptable for our production environment and I would > like a true solution to this problem. > > This problem has lasted for many months and it is critical that we be able to > restart our CF servers without messing with this problem. > > Any suggestions? > > Thanks, > Ryan > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253617 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4