axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject Re: "Type missing!" error using Axis2 WSDL2Java w/ Amazon WS
Date Wed, 28 Jun 2006 05:07:03 GMT
Hi,
What is the data binding you tried ? Can you try with XMLBeans (-d xmlbeans) ?

Ajith

On 6/27/06, Ken Yee <kenkyee@yahoo.com> wrote:
> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message