You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by woostreet <vm...@gmail.com> on 2007/12/07 04:07:54 UTC

HTTP Binding and MTOM

The following service is not working. Are you allow to use MTOM with HTTP or
only with SOAP


    <jaxws:endpoint id="service4" implementor="#lookServiceImpl"
        implementorClass="com.woostreet.services.look.LookServiceImpl"
        address="/look" bindingUri="http://apache.org/cxf/binding/http">
        <jaxws:properties>
            <entry key="mtom-enabled">
                <bean
class="java.lang.Boolean"><constructor-arg><value>true</value></constructor-arg></bean>
            </entry> 
        </jaxws:properties>
        <jaxws:serviceFactory>
            <ref bean="wsfactory"/>
        </jaxws:serviceFactory>
    </jaxws:endpoint>

-- 
View this message in context: http://www.nabble.com/HTTP-Binding-and-MTOM-tf4959998.html#a14206030
Sent from the cxf-user mailing list archive at Nabble.com.


Re: HTTP Binding and MTOM

Posted by Glen Mazza <gl...@verizon.net>.
I believe MTOM is defined only with respect to SOAP.

Glen

Am Donnerstag, den 06.12.2007, 19:07 -0800 schrieb woostreet:
> The following service is not working. Are you allow to use MTOM with HTTP or
> only with SOAP
> 
> 
>     <jaxws:endpoint id="service4" implementor="#lookServiceImpl"
>         implementorClass="com.woostreet.services.look.LookServiceImpl"
>         address="/look" bindingUri="http://apache.org/cxf/binding/http">
>         <jaxws:properties>
>             <entry key="mtom-enabled">
>                 <bean
> class="java.lang.Boolean"><constructor-arg><value>true</value></constructor-arg></bean>
>             </entry> 
>         </jaxws:properties>
>         <jaxws:serviceFactory>
>             <ref bean="wsfactory"/>
>         </jaxws:serviceFactory>
>     </jaxws:endpoint>
>