Hello,
I'm using axis 1.2 beta 2. I was recently given a wsdl document which I'm running through the Wsdl2Java tool to generate the java code for invoking the service. I end up getting the following error: org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: C:\niscdev\ivue_soma_integration_good\tip\java\generatedSrc\org\multispeak\w ww\Schema\Version2_2\Status.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:113) at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:112) at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGenera torFactory.java:411) at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:518) at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:405) at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:44) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:335) at java.lang.Thread.run(Unknown Source) After investigating the wsdl document, there are two types declared with the same name but in mixed case, one being 'Status' and the other 'status'. The creator of the wsdl document used the Microsoft WSDl.exe tool from microsoft to generate the c# code they used for access and didn't run into any problems. I'm relatively new to web services, so I'm not quite sure if this is a problem with the WSDL document that I should see if they can change it or if there is a work around or option I can set when running WSDL2Java. Any help or advice would be greatly appreciated, James |