1, 用org.apache.cxf.jaxws.JaxWsProxyFactoryBean配置
<bean id="financeAdaptor" class="com.cernet.soa.FinanceAdaptor" factory-bean="financeAdaptorSrvcFactory" factory-method="create"/>
<bean id="financeAdaptorSrvcFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass" value="com.cernet.soa.FinanceAdaptor" />
<property name="address" value="${host.url}/financeAdaptor" />
<property name="outInterceptors">
<list>
<bean class="org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor" />
<ref bean="wss4jOutConfiguration" />
</list>
</property>
<property name="inInterceptors">
<list>
<bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" />
<ref bean="wss4jInConfiguration" />
</list>
</property>
</bean>
2, 用标签<jaxws:client直接配置:
<jaxws:client id="orderClient" serviceClass=
"demo.order.OrderProcess" address=
"http://localhost:8080/orderapp/OrderProcess" />
它都有什么属性或子元素可配?
cxf-2.2.8.jar下,/schemas/jaxws.xsd文件中有这个标签"<jaxws:client"的schemas
3, 用<cxf:bus> + <http:conduit方式:
apache-cxf-2.2.8\samples\configuration_interceptor\client.xml中的实例