axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dacheng" <...@comp.leeds.ac.uk>
Subject Re: How to publish two class with one WSDL?
Date Thu, 21 Oct 2004 12:41:26 GMT
Can you do me a favor to give me an example?

Cheers

Dacheng
----- Original Message ----- 
From: "Adrian Perez Jorge" <aperez@ignos.com>
To: <axis-user@ws.apache.org>
Sent: Thursday, October 21, 2004 9:34 AM
Subject: Re: How to publish two class with one WSDL?


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


Mime
View raw message