cxf and jaxb2: WebServiceTemplate using by default the declared strategies in WebServ...
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 20 Dec 2015 19:26:38 +0000 (20:26 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 20 Dec 2015 19:26:38 +0000 (20:26 +0100)
cxf/web-services-spring-cxf-client/src/main/resources/spring-configuration/ws/client-spring-configuration.xml
jaxb2/web-services-spring-jaxb2-client/src/main/resources/spring-configuration/ws/client-spring-configuration.xml

index 5025d2f..b085d95 100644 (file)
     
     
     <!-- 
-    Strategies used by default (see WebServiceTemplate.properties file)
+    WebServiceTemplate using these strategies by default (see WebServiceTemplate.properties file)
     
     org.springframework.ws.client.core.FaultMessageResolver=org.springframework.ws.soap.client.core.SoapFaultMessageResolver
        org.springframework.ws.WebServiceMessageFactory=org.springframework.ws.soap.saaj.SaajSoapMessageFactory
index 884e496..985c5ad 100644 (file)
         <property name="validateResponse" value="true"/>
     </bean>
     
+    <!-- 
+    WebServiceTemplate using these strategies by default (see WebServiceTemplate.properties file)
+    
+    org.springframework.ws.client.core.FaultMessageResolver=org.springframework.ws.soap.client.core.SoapFaultMessageResolver
+       org.springframework.ws.WebServiceMessageFactory=org.springframework.ws.soap.saaj.SaajSoapMessageFactory
+       org.springframework.ws.transport.WebServiceMessageSender=org.springframework.ws.transport.http.HttpUrlConnectionMessageSender
+    
+     -->
 
     <bean id="webServiceTemplate" class="org.springframework.ws.client.core.WebServiceTemplate">
         <constructor-arg ref="messageFactory"/>