-
Nov 13th, 2012, 04:14 AM
#1
Enabling MTOM for JAX-WS proxy JaxWsPortProxyFactoryBean
Hi, i want to enable MTOM in my spring generated proxy via JaxWsPortProxyFactoryBean. I am using org.springframework.web-3.1.1.
I have the following configuration:
<bean id="servicePort" class="org.springframework.remoting.jaxws.JaxWsPor tProxyFactoryBean">
<property name="wsdlDocumentUrl" value="${url}?WSDL"/>
<property name="lookupServiceOnStartup" value="false"/>
<property name="endpointAddress" value="${url}"/>
<property name="username" value="${username}"/>
<property name="password" value="${password}"/>
<property name="handlerResolver" ref="myServiceHandlerResolver"/>
<property name="customProperties">
<ref local="jaxwsCustomProperties"/>
</property>
</bean>
<util:map id="jaxwsCustomProperties">
<entry key="mtom-enabled" value="true"/>
</util:map>
The service works, but attachments are being sent in Base64. I think configuration is ok. Can anyone help me with this issue?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules