Announcement Announcement Module
Collapse
No announcement yet.
Enabling MTOM for JAX-WS proxy JaxWsPortProxyFactoryBean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?
Working...
X