Hi Dan,

Thanks a lot for you response....

Regards,
William Rovinson


On Wed, Aug 24, 2011 at 2:09 AM, Daniel Kulp [via CXF] <
[email protected]> wrote:

> On Tuesday, August 16, 2011 11:28:43 PM robbywillz wrote:
>
> > 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.
>
> If that's the case, I would actually suggest doing it in code, but with the
>
> standard JAX-WS API's.   That way, it should behave the same for any of the
>
> various JAX-WS providers.
>
> When you create your client, pass in a javax.xml.ws.soap.MTOMFeature object
>
> that is configured to turn off MTOM or set the threshold.   All the
> createXXXPort methods have an optional set of features that can be passed
> in
> at create time.   Use those methods with the MTOMFeature and it should work
>
> for WebSphere as well.
>
> Dan
>
>
>
> >
> > 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>
> >
> --
> Daniel Kulp
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4728189&i=0>
> http://dankulp.com/blog
> Talend - http://www.talend.com
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/Convert-Byte-Array-to-Base64Binary-tp4696903p4728189.html
>  To unsubscribe from Convert Byte Array to Base64Binary, click 
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4696903&code=cm9iYnl3aWxsekBnbWFpbC5jb218NDY5NjkwM3wtMzc3MjI5ODU3>.
>
>


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

Reply via email to