Current CXFservletTransportFactory don't support the connduit Initator
interfance
---------------------------------------------------------------------------------
Key: CXF-821
URL: https://issues.apache.org/jira/browse/CXF-821
Project: CXF
Issue Type: Bug
Components: Transports
Affects Versions: 2.0
Reporter: willem Jiang
Fix For: 2.0.1
one can not put both server and client in one spring context... just like this
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
.......
<jaxws:endpoint id="helloWorld"
implementor="com.net2com.webservice.HelloWorldImpl"
address="/HelloWorld" />
<bean id="client" class="com.net2com.webservice.HelloWorld"
factory-bean="clientFactory" factory-method="create"/>
<bean id="clientFactory"
class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass"
value="com.net2com.webservice.HelloWorld"/>
<property name="address"
value="http://localhost:8080/interface/webservice/HelloWorld"/>
</bean>
</beans>
When we need an spring application be both the web service provider and
consumer, current CXF servlet transport is not support yet,
Because there is no http conduit initiatior defined in the servlet transport
factory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.