axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonali J. Kanaujia" <>
Subject Java2WSDL can't expand other interfaces referenced from an interface?
Date Thu, 09 Nov 2006 02:31:03 GMT

I'm using Axis 1.2.1 Java2WSDL tool on an interface that has methods
that reference other interfaces. When I run the tool it complains that
it can't convert the other interfaces to xml schema types as they are
not beans classes (See error/warning below).

Is there any option/mechanism to auto-convert other interfaces to
portTypes(?) and related xml schema elements as well, except converting
all the referenced interfaces to impl bean classes.


Nov 8, 2006 3:23:44 PM org.apache.axis.wsdl.fromJava.Emitter

WARNING: Please register a typemapping/beanmapping for
Nov 8, 2006 3:23:44 PM org.apache.axis.wsdl.fromJava.Types

WARNING: The class
com.sonicsw.bpel.service.mgmtapi.runtime.IProcessInstanceCounts does not
contain a default constructor, which is a requirement for a bean class.
The class cannot be converted into an xml schema type.  An xml schema
anyType will be used to define this class in the wsdl file.

View raw message