Hi Jorge,

You should be able to configure at least some of these using the
jaxws:endpoint Spring configuration.  See these docs for details:
http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html

I think you're required to use annotations for the targetNamespace and
enpointInterface though...

-Chris

-----Original Message-----
From: Jorge Ramirez [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 23, 2007 1:58 PM
To: cxf-user@incubator.apache.org
Subject: Use of xml config to override annotations in source code

HI All,

 All CXF generated service implementation classes contain annotations,
for
example:

@javax.jws.WebService(name = "MyService",
                      serviceName = "MySOAPService",
                      portName = "MySOAPPort",
                      targetNamespace = "http://www.test.com";,
                      wsdlLocation = "file:./test.wsdl" ,
                      endpointInterface = "com.test.MyService")

Can these values be provided by an XML file instead of being hard-coded
like
above?

Thanks,

--Jorge

Reply via email to