Any suggestions???
On Mar 29, 2013 12:16 PM, "sam.tech [via CXF]" <
[email protected]> wrote:

> One additional piece of info. I am using Message Mode.
> I tried the stream mode and that did not dispatch attachments.
>
> @WebServiceProvider(portName = "ProxyProviderPort", serviceName =
> "ProxyProviderService", targetNamespace = "http://sandbox.aaa.com/proxy";)
> @ServiceMode(Mode.MESSAGE)
> @MTOM
> public class MyProxyServiceProvider implements Provider<SOAPMessage> {
>         @Override
>         public SOAPMessage invoke(SOAPMessage request) {
>
>                   Dispatch<SOAPMessage> disp = service.createDispatch(xxx,
>                                         SOAPMessage.class,
> Service.Mode.MESSAGE,
>                                         new MTOMFeature(4000));
>                         return disp.invoke(request);
>        }
> }
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/Provider-with-MTOM-Stream-tp5725571p5725610.html
>  To unsubscribe from Provider with MTOM Stream, click 
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5725571&code=dGVjaGFjY3QxMjNAZ21haWwuY29tfDU3MjU1NzF8LTE4MzI4NzMyNg==>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Provider-with-MTOM-Stream-tp5725571p5725633.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to