How to
define an interface in wsdl?
Java to wsdl:
How to
handle these warnings..when I tried to convert Java to wsdl?
Jul 12, 2006 6:18:27 PM
org.apache.axis.wsdl.fromJava.Types isBeanCompatible
WARNING: The class <interface class > 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 def
ine this class in the wsdl file.
WARNING: The class <interface class > 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 def
ine this class in the wsdl file.
[BUT the interface will not contain
any default constructors.. so what to do about this]
It says 'anyType' will be defined for the interface
class. But, I cannot find a anyType defined
in the wsdl file I got after doing a
Java2wsdl.
WSDL to Java:
I wanted to use the wsdl I got to do a wsdl2java. When I tried with the
file I got from doing Java2wsdl.
As it can not find the definition for that particular parmeter,
it says..
java.io.IOException: Type
{http://security.framework.rumba.med.ge.com}IUser is referenced but not
defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Please help
me.
Thanks,
Nandita
