cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Burgato <john.burg...@atkinsglobal.com>
Subject Getting objects defined in cxf.xml
Date Tue, 21 Oct 2008 12:59:56 GMT

Is it possible to get hold of the objects that are automatically built by CXF
from the definition in cxf.xml?

I have an endpoint in cxf.xml:

<jaxws:endpoint id="mtomTest"
implementor="demo.mtom.server.TestMtomPortTypeImpl">
   <jaxws:properties>
      <entry key="mtom-enabled" value="true"/>
   </jaxws:properties>
</jaxws:endpoint>

I have left out the address and the wsdl on purpose, because these are not
static, but retrieved from a separate configuration manager. Is it possible
to get hold of the endpoint created here and then publish it to my own
address? The fact that I give the endpoint an ID suggests that I can.

I have tried:
Endpoint ep = Endpoint.create(new TestMtomPortTypeImpl());
ep.publish(address);

but the returned endpoint does not have any properties.

Thanks in advance.
-- 
View this message in context: http://www.nabble.com/Getting-objects-defined-in-cxf.xml-tp20089730p20089730.html
Sent from the cxf-dev mailing list archive at Nabble.com.


Mime
View raw message