Hi,

Thanks a lot for providing different ways to enabling or disabling the MTOM.
I could able to have a inline Base64Binary by disabling the MTOM and
increasing the MTOM threshold(1024).
I understood that MTOM will be enabled for attachment when threshold is
crossed, even through MTOM is disabled. Please correct me if i'm wrong.

Is there any way to configure through spring client configuration? I don't
want to make this changes in wsdl or in code as my code may run on Websphere
v6.1 with web services feature pack installed.

I've tried with following configuration and I named file as cxf.xml, it is
picked up by cxf but no effect on the configuration. It still converts to
XOP. Please help me?

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:jaxws="http://cxf.apache.org/jaxws";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="
          http://www.springframework.org/schema/beans 
          http://www.springframework.org/schema/beans/spring-beans.xsd
          http://cxf.apache.org/jaxws 
          http://cxf.apache.org/schemas/jaxws.xsd";>

        
        <jaxws:client id="ne3sRegistration"
                serviceClass="com.nsn.oss.ne3s.ws.gen.NE3SRegistrationPort"
address="/NE3SRegistrationService">
                <jaxws:properties>
                        <entry key="mtom-enabled" value="false" />
                        <entry key="mtom-threshold" value="1024" />
                </jaxws:properties>
        </jaxws:client>
</beans>



-----
Regards,
William Rovinson
--
View this message in context: 
http://cxf.547215.n5.nabble.com/Convert-Byte-Array-to-Base64Binary-tp4696903p4707011.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to