hi all...

I have searched for some solution to my problem at the old messages
refering to this subject but I couldn't find anything...

My wsdl file imports a "schema" that imports other "schemas" recursively.

I was using Axis-1.2RC2 and the WSDL2Java was working fine, but now I
decided to try the Axis-1.2.1 (final version) and these problems started
to appear...


At the schema I define the element

<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
<complexType name="SignaturePropertyType" mixed="true">
    <choice maxOccurs="unbounded">
      <any namespace="##other" processContents="lax"/>
      <!-- (1,1) elements from (1,unbounded) namespaces -->
    </choice>
    <attribute name="Target" type="anyURI" use="required"/>
    <attribute name="Id" type="ID" use="optional"/>
</complexType>



but when I try to generate the classes with WSDL2Java, I receive the well
known error:

 [java] java.io.IOException: Type
{http://www.w3.org/2000/09/xmldsig#}SignatureProperty is referenced but
not defined.
     [java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665)
     [java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545)
     [java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
     [java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
     [java]     at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
     [java]     at java.lang.Thread.run(Thread.java:595)


I already tryed to set the namespaces and all tips I've found, but it just
doesn't work.

I was wondering if this is like a bug or something because I just can't
solve it (I've wasted hours...)

Well, I hope someone could help me.

PS: I'm using: Axis-1.2.1, Tomcat-5.5.9, J2SE-1.5.0, Ant-1.6.2

Thanks in advance...

==============================================
    Quia natura mutari non potest idcirco
 verae amicitiae sempiternae sunt - (Horace)
             RAFAEL J. DEITOS
    Automação - UFSC - Florianópolis - SC
       http://www.das.ufsc.br/~deitos
==============================================

Reply via email to