Instead of calling "main", try doing:

WSDLToJava w2j = new WSDLToJava(args);
ToolContext ctx = new ToolContext();
w2j.run(ctx);

When that completes, the ctx should have a LOT of stuff in it that may provide the information you need.

Dan





On Jul 7, 2008, at 11:11 PM, Tong Wang wrote:

Hi friends,



I am new to cxf, and trying to use wsdl2java APIs to generate the
server/client artifacts.

It may be similar to org.apache.cxf.tools.wsdlto.WSDLToJava.main.

But after that, I want to get more information about the generated code
in my program.

1.      The class name(s) of the SEI(s)

2.      The class name(s) of the WebServiceClient(s)/stub(s)

3.      The namespace and package name mappings.



Is it possible to get them?

I am not sure whether I describe clearly; any questions please also let
me know.

Thanks in advance!



Regards,
Tong 025-83242286-5020




---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to