You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by fire fox <fy...@gmail.com> on 2011/06/24 07:33:08 UTC

Axis2 1.4 / 1.5.5 works but NOT Axis2 1.6 for stub generation

Hi all,
      I tried to generate stubs for the attached WSDL with Axis2 1.4 and
1.5.5, and both of them worked. However, the *latest version Axis2 1.6
throws following error.*


Caused by: org.apache.axis2.schema.SchemaCompilationException: The
referenced element '{urn:/crmondemand/xml/Account/Data}ListOfAccount' was
not found!
       at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:752)
       at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:603)
       at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2063)
       at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1946)
       at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1155)
       at
org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:1054)
       at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1008)
       at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:644)
       at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:614)
       at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:422)
       at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:291)
       at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:102)

Could someone please help me with the solution.

Thanks.

Re: Axis2 1.4 / 1.5.5 works but NOT Axis2 1.6 for stub generation

Posted by fire fox <fy...@gmail.com>.
Reminding again since it's just an inconsistency across releases.

On Fri, Jun 24, 2011 at 11:03 AM, fire fox <fy...@gmail.com> wrote:

> Hi all,
>       I tried to generate stubs for the attached WSDL with Axis2 1.4 and
> 1.5.5, and both of them worked. However, the *latest version Axis2 1.6
> throws following error.*
>
>
> Caused by: org.apache.axis2.schema.SchemaCompilationException: The
> referenced element '{urn:/crmondemand/xml/Account/Data}ListOfAccount' was
> not found!
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:752)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:603)
>        at
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2063)
>        at
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1946)
>        at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1155)
>        at
> org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:1054)
>        at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1008)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:644)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:614)
>        at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:422)
>        at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:291)
>        at
> org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:102)
>
> Could someone please help me with the solution.
>
> Thanks.
>

Re: Axis2 1.4 / 1.5.5 works but NOT Axis2 1.6 for stub generation

Posted by fire fox <fy...@gmail.com>.
Reminding again since it's just an inconsistency across releases.

On Fri, Jun 24, 2011 at 11:03 AM, fire fox <fy...@gmail.com> wrote:

> Hi all,
>       I tried to generate stubs for the attached WSDL with Axis2 1.4 and
> 1.5.5, and both of them worked. However, the *latest version Axis2 1.6
> throws following error.*
>
>
> Caused by: org.apache.axis2.schema.SchemaCompilationException: The
> referenced element '{urn:/crmondemand/xml/Account/Data}ListOfAccount' was
> not found!
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:752)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:603)
>        at
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2063)
>        at
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1946)
>        at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1155)
>        at
> org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:1054)
>        at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1008)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:644)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:614)
>        at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:422)
>        at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:291)
>        at
> org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:102)
>
> Could someone please help me with the solution.
>
> Thanks.
>