Greetings all,

I have just started using Axis and I'm having a problem with the WSDL2Java
tool.  It always gives me a deploy.wsdd file containing only an empty
<deployment> tag.  Here's the steps I take.

1. Generate the WSDL file from an existing Java interface, using Java2WSDL.
There are no errors, and the WSDL file seems to be valid.  I have attached
it, with only the method names changed.
2. Run the WSDL2Java tool, with the following command line:

  java -classpath (snipped) org.apache.axis.wsdl.WSDL2Java -o . -d
Application -s -p myapi.webservice MyAPI.wsdl

3. WSDL2Java runs without errors.  All of the generated files (stub, impl,
etc.) are fine except that the deploy.wsdd and undeploy.wsdd are empty.
I've attached the generated deploy.wsdd.

OS: Windows 2000
JDK: 1.4.1_01
Axis: tried both 1.0 and 1.1 beta with same results.

Any ideas?

Thanks in advance.

Attachment: MyAPI.wsdl
Description: Binary data

Attachment: deploy.wsdd
Description: Binary data

Reply via email to