Hi,

As we can specify service name(which is a QName) for cxf se endpoint, so I believe you can specify your targetNamespace in xbean.xml.
Just add

service attribute for your cxf se endpoint should be ok.

Something like

service="your_prefix:SimpleService"

and add your_prefix declaration (xmlns:your_prefix="http://my.simple.org/CoC1/ ") for your xbean.xml.

You need use servicemix-cxf-se 2009.02 or later version.

Freeman
On 2010-2-22, at 下午6:16, 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


--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to