Stephen, Try using the nightly build (1.1) and see if it works: http://people.apache.org/dist/axis2/nightly/
-----Original Message----- From: Stephen Milne [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 8:38 AM To: [email protected] Subject: Axis2-std.1.0 WSDL2Java returning No service element found in the WSDL 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>(CodeGenerationEngi ne.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(WSDL2Ax isServiceBuilder.java:243) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngi ne.java:87) ... 2 more Caused by: org.apache.axis2.AxisFault: No service element found in the WSDL at org.apache.axis2.description.WSDL2AxisServiceBuilder.findBinding(WSDL2AxisSe rviceBuilder.java:267) at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2Ax isServiceBuilder.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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
