here it is.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 12:22 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java Exception When Return Type is in Another Package.

WSDL2Java supports multiple namespaces. Each namespace would get mapped to its own package unless you use the -p option (which you have) in which case everything goes into the package you've defined. There's probably something wrong with the namespaces in your WSDL. Could you show it to us?

Russell Butek
[EMAIL PROTECTED]

Please respond to [EMAIL PROTECTED]

To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: WSDL2Java Exception When Return Type is in Another Package.



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.

Attachment: Ecass2k.wsdl
Description: Binary data

Reply via email to