Hello,
I have read the same question in the list and the reply is that:
the object to be serialized has to be a java bean
I have the same problem:
I try to Java2WSDL and I get the result:
Java2WSDL etm.axis.tmapi.TopicMapObjectAxis
- The class etm.axis.tmapi.LocatorAxis 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.
and the object I am trying to serialize is a java bean I thing:
package etm.axis.tmapi;
public class LocatorAxis
{
private String notation;
private String reference;
public LocatorAxis ()
{
}
public void setNotation (String s)
{ notation = s; }
public String getNotation ()
{ return notation; }
public void setReference (String s)
{ reference = s; }
public String getReference ()
{ return reference; }
}
Is it something I am missing here?
Thank you for your hints.
Cheers
George
____________________________________________________________________
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
http://www.freemail.gr - free email service for the Greek-speaking.