Copy link to clipboard
Copied
Hi All
since we have updated our CF server from 8.0 (8.0.0.176276) to 8.0.1 (8.0.1.195765) our remorte call to a CFC using <cfinvoke>
stoppe dworking and now it returned this error :
............................................................................................................................................................................................................
Name: http://xxx/resource/component/phrasebook.cfc?wsdl. WSDL: http://xxx/resource/component/phrasebook.cfc?wsdl. org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: D:\ColdFusion8\stubs\WS100964810\resource\component\Phrasebook.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 to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.
............................................................................................................................................................................................................
I have tried access that CFC directly from the browser and it returning back with nopb the WSDL xml
Also tried renamed that CFC, adn it did work, but renaming is not an option in our case
did anyone come across the above error ?
thanks for your help in advance.
Regards
M
Copy link to clipboard
Copied
Have you tried deleting the .java source code file it mentions? It's just part of the web service stub compilation process, and will regenerate (and then get deleted) next time the WS is used.
--
Adam
Copy link to clipboard
Copied
Thanks Adam,
unfortunately no luck i have tried deleting that and still the same pb.
Regards
M
Copy link to clipboard
Copied
Hmmm.
OK. I've had this before, but cannot remember how I sussed out what the problem was. I think it's because CF can't interpret how to deal with a datatype the webservice says it uses, or something?
Have a troll through your CF & JRun logs to see if there's anything logged when the error occurs.
--
Adam
Copy link to clipboard
Copied
Thanks Adam
unfortunaly still no luck : (
here's the only error msg i am geting when i try to rebuild the wsdl manualy :
D:\ColdFusion8\runtime\bin>wsdl2java d:\temp\phrasebook.wsdl
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: resource\component\Phrasebook.java.
Hint: you may have mapped two namespaces with elements of the same name to the same package name.
at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:137)
at org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWriter.java:98)
at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:284)
at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:328)
at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:82)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:246)
at java.lang.Thread.run(Thread.java:619)
Regards
M
Copy link to clipboard
Copied
Hi,
Can you please post your wsdl code here?.