yes MTOM is enabled
<jaxws:endpoint xmlns:tns="http://it.insiel.raggi/" id="raggiporttype"
implementor="raggi.insiel.it.RaggiPortTypeImpl"
wsdlLocation="wsdl/raggi.wsdl"
endpointName="tns:raggiPort" serviceName="tns:raggiService"
address="/raggiPort">
<jaxws:properties>
<entry key="mtom-enabled" value="true" />
</jaxws:properties>
<jaxws:features>
<bean class="org.apache.cxf.feature.LoggingFeature" />
</jaxws:features>
</jaxws:endpoint>
and the service works when called directly, it doesn't when called through the
proxy
-----Messaggio originale-----
Da: Willem Jiang [mailto:[email protected]]
Inviato: lunedì 7 marzo 2011 12.00
A: [email protected]
Oggetto: Re: http proxy and mtom attachments
Did your server enable the MTOM[1] on the server side?
[1]https://cwiki.apache.org/confluence/display/CXF20DOC/MTOM
On 3/7/11 6:33 PM, avonm wrote:
> I printed the message i'm trying to route, it's the following
>
> --uuid:f35eefc8-51d9-45d4-9a97-677536580611
> Content-Type: application/xop+xml; charset=UTF-8; type="text/xml";
> Content-Transfer-Encoding: binary
> Content-ID:
>
> _inviaRadiografia_codPaziente1400875
> --uuid:f35eefc8-51d9-45d4-9a97-677536580611
> Content-Type: image/jpeg
> Content-Transfer-Encoding: binary
> Content-ID:<[email protected]>
>
> ...
>
> (binary data)
>
> ...
>
> --uuid:f35eefc8-51d9-45d4-9a97-677536580611--
>
> It seems to understand the XMLStreamReader complains because it finds a '-'
> at row 2, column 1 instead of finding a '<'. How to get around this
> (it could be a beginner-level question, sorry for this).
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/http-proxy-and-mtom-attachments-tp34
> 07911p3412204.html Sent from the Camel - Users mailing list archive at
> Nabble.com.
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
AVVISO DI RISERVATEZZA
Informazioni riservate possono essere contenute nel messaggio o nei suoi
allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per
la sua consegna alla persona, o se avete ricevuto il messaggio per errore,
siete pregati di non trascriverlo, copiarlo o inviarlo a nessuno. In tal caso
vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie.
CONFIDENTIALITY NOTICE
Confidential information may be contained in this message or in its
attachments. If you are not the addressee indicated in this message, or
responsible for message delivering to that person, or if you have received this
message in error, you may not transcribe, copy or deliver this message to
anyone. In that case, you should delete this message and its attachments. Thank
you.