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 Keith Bohnenberger <kb...@mcdonaldbradley.com> on 2007/08/21 19:00:56 UTC

xs:redefine problem with axis2-1.3

I am having a problem running wsdl2java in axis2-1.3 against a schema
that uses the xs:redefine element.  The error is: error: src-resolve:
type 'myType@myNameSpace' not found.  myType@myNameSpace (real names
changed to protect the innocent) is the type that is being redefined.


Interestingly enough, the following will generate the code without
error:
java -Xmx256m -classpath "$AXIS_LIB/xbean-2.2.0.jar:
$AXIS_LIB/stax-api-1.0.1.jar:$JAVA_HOME/lib/tools.jar"
org.apache.xmlbeans.impl.tool.SchemaCompiler -out /tmp/xmltypes.jar
My.wsdl 


What is axis wsdl2java doing above and beyond what xmlbeans
SchemaCompiler does?

Thanks

Keith


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