I'm trying to return a java class (ServiceResponseImpl) defined in another
package than my web service, but I get the following exception when running
WSDL2Java.


C:\bis-axis\snap>java org.apache.axis.wsdl.WSDL2Java -o c:\bis-axis\snap -p
gov.doc.bis.ecass2k.soap.snap --server-side
--skeletonDeploy true Ecass2k.wsdl
java.io.IOException: Type {http://util.cbd.gosps.com}ServiceResponseImpl is
referenced but not defined.
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.j
ava:461)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:377)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:364)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:350)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:244)
        at java.lang.Thread.run(Thread.java:536)

Does anyone know if returning a class defined in another package is possible
with Axis?

Thanks.

Reply via email to