I can't remember the error I was getting, but I do remember having some web service weirdness and ended up running this to fix it: <cfset application.ISIwsdl = createObject("java", "coldfusion.server.ServiceFactory").XmlRpcService.refreshWebService(wsdl) />
I'm not sure exactly what it does and can't remember where i got it, but it may be worth a try. I'm also not sure if I was running it before or after the web service creation. Just a shot in the dark. On Fri, Jun 20, 2008 at 11:07 AM, Brad Wood <[EMAIL PROTECTED]> wrote: > Ok, here's a nice one. One of my coworkers is running into this problem when > he tries to invoke a ColdFusion web service he wrote. He didn't have any > problems on our dev environment, but the test environment is puking out. > Unfortunately, Dev is CF7 Ent and test is CF7 standard. Not that it SHOULD > make any difference... > > Before I start pasting in miles of indecipherable code, I wanted to see if > anyone has gotten this dreaded > org.apache.axis.wsdl.toJava.DuplicateFileException error before and can help. > I have Googled, and there seem to be NO results related to ColdFusion out > there, and the results I did find were instances where people were creating > their own WSDL which is obviously not the case here. > > Let me know what additional information might help figure this out-- like the > names of the methods in the web service, etc. > > Also, I have manually deleted those stub files, cleared the template cache > and restarted the server to no avail. > > Thanks. > > ~Brad > > Could not generate stub objects for web service invocation. > > Name: > http://testtempest.nationsts.com/webservices/integrations/FNC/AppraisalPort/appraisalPort.cfc?wsdl. > WSDL: > http://testtempest.nationsts.com/webservices/integrations/FNC/AppraisalPort/appraisalPort.cfc?wsdl. > org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: > /opt/coldfusionmx7/stubs/WS-1435972790/webservices/integrations/FNC/AppraisalPort/AppraisalPort.java. > Hint: you may have mapped two namespaces with elements of the same name to > the same package name. It is recommended that you use a web browser to > retrieve and examine the requested WSDL document for correctness. If the > requested WSDL document can't be retrieved or it is dynamically generated, it > is likely that the target web service has programming errors. > -- Matt Williams "It's the question that drives us." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307841 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4