You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by RickCromer <ri...@stratustelecom.com> on 2009/02/26 03:34:54 UTC
cxf-servlet.xml question
I deployed a SOAP server with two services specified in the cxf-servlet.xml file shown below. The second service doesnt have an interface so I specified the implementation class in both the serviceClass and the bean class.
If you dont have an interface, how should this get configured?
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:soap="http://cxf.apache.org/bindings/soap"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
<jaxws:server id="apService" serviceClass="com.enticews.autoprovisioning.AutoProvisioningService" address="/AutoProvisioning">
<jaxws:serviceBean>
<bean class="com.autoprovisioning.AutoProvisioningServiceImpl" />
</jaxws:serviceBean>
</jaxws:server>
<jaxws:server id="metaService" serviceClass="com.enticews.webservices.MetaServiceImpl" address="/Meta">
<jaxws:serviceBean>
<bean class="com.enticews.webservices.MetaServiceImpl" />
</jaxws:serviceBean>
</jaxws:server>
</beans>
Regards,
Rick Cromer