axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Perez Jorge <>
Subject Re: How to publish two class with one WSDL?
Date Thu, 21 Oct 2004 08:34:13 GMT


  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>.


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

View raw message