Hi,
Following your question, I will present a use case.
Imagine we have two "from java" webservices named FromJavaWS1 and FromJavaWS2.
Theses two webservices use MyPojo and MyException in their messages.
When deployed theses webservices triggers the generation of WSDLs and XSDs
with wsgen.
How do we specify that they must use common XSDs ?
On the client part we can use wsimport to generate FromWSDLWSClient1 and
FromWSDLWSClient2.
Is there some howto about using depends/produce wsimport directives in a such
common case ?
Paul
Le Thursday 14 August 2008 13:46:38 Kenneth Clark, vous avez écrit :
> Hi
>
> I am sitting with a situation where by I have a stack of web services. Now
> to make them more manageable I can divide them into smaller service sets.
> The only problem is that they share the same objects. Now here is where the
> problem comes in, the front end defines the shared objects in different
> namespaces which means there are duplicate objects. So is there any way to
> have the WSDL share the Entity definitions? Do I have to manually write the
> WSDL in order to achieve this and use the @WebService(wsdlLocation)?
>
> Does anyone have any pointers on anything like this?
>