Hi, I have a problem using Axis2-std.1.0 WSDL2Java returning "No service element found in the WSDL"
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:94) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: org.apache.axis2.AxisFault: No service element found in the WSDL; nested exception is: org.apache.axis2.AxisFault: No service element found in the WSDL at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:243) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:87) ... 2 more Caused by: org.apache.axis2.AxisFault: No service element found in the WSDL at org.apache.axis2.description.WSDL2AxisServiceBuilder.findBinding(WSDL2AxisServiceBuilder.java:267) at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:225) ... 3 more It compiles fine with Axis-1_2_1 I dont have the option of using Axis-1_2_1 as it doesn't support the <xsd:union> tag Does anyone know a way round this Stephen Milne --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
