Hi,

I have 2 WSDL's that import the same XSD; they define 2 services/approaches
to communicate with the web service.

I noticed that the generated classes for server and client
are exactly the same, except for some holder classes
and the WSDL webservice specific classes. In my case, I end up
with 4 copies of all classes.

Is there any way to only generate the webservice specific
classes, and re-use the type classes? I tried running WSDL2Java with -n
but that yields this error:

 java.io.IOException: Element {someNamespace}someElementName is referenced but 
not defined.

I consider the type classes generated from the external XSD as a separate
API jar, when both client and server use axis. I'm implementing both a server
and a client system and I like to avoid duplicate classes.

I'm sure this is documented somewhere, but I scoured the wiki and the userlist
and couldn't find any information.

Thanks,

        Kenney

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to