Hi,

You will have to tell axis what is the implementation class; for example in Java2WSDL you will have to use option "-i".

Axis seems unable to get debug info about parametes of methods in java interfaces, or abstract methods in classes.

The EJBProvider will be using the local or remote interface to get info about the business methods you will like to publish, but will be unable to get debug information about parameters (even if compiled with debug info). It would have to use the implementation class of the local or remote interface:

* for a stub-non-proxy ejb implementation it could be the stub class, but it have to be compiled with debug information.

* the bean implementation (the one that extends SessionBean; don't forget to compile with debug info.)

Java2WSDL is the command-line tool to generate WSDL, but the EJBProvider can also generate the WSDL (when the URL ends with "?wsdl"). In deploy.wsdd I doubt if you can specify the equivalent "-i" option of Java2WSDL.

Finally, I recommend you to use Java2WSDL and, to get .wsdl files from a "?wsdl"-type url, include a "wsdlFile" element in deploy.wsdd as explained in "http://www.osmoticweb.com/axis-wsdd/wsdlFile.htm";.

Cheers,

Adrian P.J.

Eliot Stock wrote:

How do I get parameter names like 'aNumberAreaCode' into the WSDL in place of 'in0'?

I've seen this same question asked on the list years ago with no response, so I hope this is possible somehow:

http://marc.theaimsgroup.com/?l=axis-user&m=103639142708155&w=2 <http://marc.theaimsgroup.com/?l=axis-user&m=103639142708155&w=2>

Cheers,

Eliot Stock.




Reply via email to