axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Armstrong" <jarms...@carl.org>
Subject RE: newbie question: axis is complaining about a default constructor
Date Wed, 31 May 2006 16:52:24 GMT
Hi,
I am running the ant task: axis-java2wsdl. 

Question: what is the standard way of providing a "Typemapping" for an
exception that may be passed back.

Question: if I provide a default constructor, will it negatively impact the
implementation? Is there a work around?

I am getting the following errors:

java2wsdl:
[axis-java2wsdl] Java2WSDL org.carl.entry.IEntryWebService
[axis-java2wsdl] May 31, 2006 10:35:41 AM
org.apache.axis.wsdl.fromJava.Types is BeanCompatible
[axis-java2wsdl] WARNING: The class org.carl.entry.category.Category 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.
 [axis-java2wsdl] May 31, 2006 10:35:41 AM
org.apache.axis.wsdl.fromJava.Emitter writePartToMessage
[axis-java2wsdl] WARNING: Please register a typemapping/beanmapping for
'org.carl.entry.InvalidEntryException'
[axis-java2wsdl] May 31, 2006 10:35:42 AM
org.apache.axis.wsdl.fromJava.Emitter writePartToMessage
[axis-java2wsdl] WARNING: Please register a typemapping/beanmapping for
'org.carl.entry.category.InvalidCategoryException'
     [echo] java2wsdl has been completed.

TIA,
James



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


Mime
View raw message