HI Mario, According to our requirements we have to deploy same service several times and we need a way to identify each of this service separately that why we try to have different namespace for each service instance. Once we want to add a new service instance we need to change the namespace and deploy the service unit again.
Thanks, Thushara On Mon, Feb 22, 2010 at 4:12 PM, Mariusz Brylant <[email protected]> wrote: > Hi Thushara, > > Just curious., why do you need to change the namespace of the service > during runtime? Would not that be sort of confusing for the clients > consuming your service? > > /Mario > > > Thushara Seneviratne wrote: > >> Hi , >> >> We have a specific requirement to change service's "targetNamespace" >> during >> the run time only using configuration. if we use @WebService annotation , >> either we have to recompile the code or need to do some byte code >> processing >> in order to change the "targetNamespace" value, it would be nice if we can >> provide the "targetNamespace" in the xbean.xml or any other configuration >> file , any one have any idea about how to do this with SMX ? >> >> >> @WebService(name = "SimpleService", targetNamespace = " >> http://my.simple.org/CoC1/") >> >> >> Thanks, >> >> Thushara >> >> >> >
