Hi,
Use --input option of Java2WSDL; you will have to generate the wsdl for class A, then generate wsdl for class B but include A's wsdl file with --input. If you have also a class C then you will have to generate C's wsdl including B's wsdl using --input, and so on.
Having a single WSDL file has some benefits, <joke-mode>like .net "hability" (pre 2.0) to reuse common types</joke-mode>.
Cheers,
Adrian P.J.
Dacheng wrote:
Hi, every fellow:
I met a new problem. I implemented two classes A and B. I want to publish them as a Web service, that is, I want to use a single WSDL file to describe these two class. Could anyone please tell me how to achieve that?
Thank you in advance
Dacheng