You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tom Boulos <TB...@grandcentral.com> on 2002/01/10 19:59:49 UTC

Bug: duration not understood

I am generating stubs from wsdl.  One of the schema elements in the types
area is of type
xsd:duration (in the http://www.w3.org/2001/XMLSchema namespace), and I get
the following
behavior:

java.io.IOException: Type http://www.w3.org/2001/XMLSchema:duration is
referenced but not defined.
        at
org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(SymbolTable.java,
Compiled Code)
        at org.apache.axis.wsdl.toJava.SymbolTable.add(SymbolTable.java:308)
        at org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:163)
        at org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:135)
        at org.apache.axis.wsdl.WSDL2Java.emit(WSDL2Java.java:301)
        at org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java, Compiled
Code)

Also, what would be the anticipated java type that this will map to, Long?
(This was done using the 1/4 nightly build.)

Thank you,

Tom Boulos <tb...@grandcentral.com>
Grand Central Communications
http://www.grandcentral.com