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