users@jax-rpc.java.net

How to generate/compile wsdl complex types into a diff package

From: Ewan Harrow <3mkrc7902_at_sneakemail.com>
Date: 25 Mar 2004 16:01:10 -0000

I'm not sure this is possible or I just missed it in the doco but how can I gen/compile server classes that are in a different pkg from my service classes.

The reason I want to do this is to resolve some dependencies between packages. Say currently I have business objects in pkg.a and my server interfaces/impl are in pkg.a.remote which also includes some complex types such as MyRequest.java there is now a dependency from pkg.a to pkg.a.remote as the business objects process MyRequest.java. I'd like to move MyRequest.java to pkg.a and make pkg.a.remote have a dependency on pkg.a instead. Unfortunately wscompile won't let me and insists on generating the stubs etc. in pkg.a.remote everytime.

The wsdl mentions nothing about packages so I was wondering if this is possible.

rgds

ewan



--------------------------------------
Protect yourself from spam,
use http://sneakemail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net