Anyone try the latest Axis2 1.0's WSDL2Java against
Amazon's web services?  I get a cryptic "Type missing"
error (it'd be nice if it printed out what type it's
looking for so we'd have a better clue about what's
going wrong ;-)

Here's the WSDL URL (I use Ant to pull the WSDL file
down locally though):
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl

This WSDL works fine w/ Axis 1.x...

 ken

     [java] Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException:
org.apache.axis2.schema.SchemaCompilationException:
Type missing!
     [java]     at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(C
odeGenerationEngine.java:185)
     [java]     at
org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
     [java]     at
org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
     [java] Caused by: java.lang.RuntimeException:
org.apache.axis2.schema.Schem
aCompilationException: Type missing!
     [java]     at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.eng
age(SimpleDBExtension.java:117)
     [java]     at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(C
odeGenerationEngine.java:140)
     [java]     ... 2 more
     [java] Caused by:
org.apache.axis2.schema.SchemaCompilationException:
Type
missing!
     [java]     at
org.apache.axis2.schema.writer.JavaBeanWriter.addPropertyEntr
ies(JavaBeanWriter.java:464)
     [java]     at
org.apache.axis2.schema.writer.JavaBeanWriter.populateInfo(Ja
vaBeanWriter.java:426)
     [java]     at
org.apache.axis2.schema.writer.JavaBeanWriter.getBeanElement(
JavaBeanWriter.java:403)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to