Client Soap1.2 CXF


	<bean id="clientOtrasConsultasFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
		<property name="serviceClass" value="es.depontevedra.soap.cargows.services.OtrasConsultas" />
		<property name="address" value="#{url}otrasconsultasws" />
		<property name="bindingId" value="http://www.w3.org/2003/05/soap/bindings/HTTP/" />
	</bean>
	<bean id="clientOtrasConsultas" 
		class="es.depontevedra.soap.cargows.services.OtrasConsultas"
		factory-bean="clientOtrasConsultasFactory" factory-method="create" />
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	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-3.0.xsd
	http://cxf.apache.org/jaxws 
	http://cxf.apache.org/schemas/jaxws.xsd
	http://cxf.apache.org/bindings/soap
	http://cxf.apache.org/schemas/configuration/soap.xsd">

	<jaxws:client id="clientVR" address="http:/host:port/realizarVerificacion" 
		serviceClass="es.una.ruta.a.una.Interfaz"
		serviceName="VerificacionResidenciaFecha" >
		<jaxws:binding>
			<soap:soapBinding version="1.2"/>
		</jaxws:binding> 
	</jaxws:client>
Anuncios
Client Soap1.2 CXF