users@jax-rpc.java.net

Re: Same WSDL different environment - help please

From: Bobby Bissett - Javasoft <robert.bissett_at_sun.com>
Date: Tue, 23 Mar 2004 10:43:25 -0500

> In my scenario everything is same excet the service location. If it
>
> development environment then ist http:\\localhost....
> if its production then it is http:\\abc.com\

Anne is correct that you can have multiple wsdls that only differ in
location and import the rest. However, with the jaxrpc si, you can
deploy the same war file on "localhost" and on "abc.com" with no changes
and the jaxrpc servlet that serves the wsdl will replace the location
with the proper value for you. This is a feature of Sun's implementation
that may exist in other implementations as well.

Cheers,
Bobby

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