[
https://issues.apache.org/jira/browse/CXF-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539876#comment-13539876
]
Torben Vesterager commented on CXF-4719:
----------------------------------------
My experience is that you need a spring xml file, which defines the endpoint in
order to 'activate' CXF:
{code:xml}
<beans>
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
<jaxws:endpoint id="propertiesService"
implementor="no.kommune.bergen.soa.skjema.properties.PropertiesService"
address="/int/bk/skjema2/PropertiesService-v1"
publishedEndpointUrl="http://soat1i-u.usrv.ubergenkom.no/int/bk/skjema2/PropertiesService-v1"/>
</beans>
{code}
You can already import resources via. the spring annotation:
{code}@ImportResource(value = {"classpath:META-INF/cxf/cxf.xml",
"classpath:META-INF/cxf/cxf-servlet.xml"}){code}
But there is no CXF annotation to define the endpoint.
> Annotation for web service endpoint
> -----------------------------------
>
> Key: CXF-4719
> URL: https://issues.apache.org/jira/browse/CXF-4719
> Project: CXF
> Issue Type: Improvement
> Reporter: Torben Vesterager
>
> CXF is the only thing I'm using that still needs a spring configuration XML.
> All other components are configurable via annotations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira