Hi Markus/Asankha, AFAIK, this is an issue with the 1.2 release. This is due to the optimizations that we have done for the direct proxy case and if the message has not been built inside synapse (for example full log mediator) then the attachment is going to be missing. ( https://issues.apache.org/jira/browse/SYNAPSE-348)
If my memory serves me correctly, this issue is not there for the SWA optimization, Markus can you please try the optimize="swa" rather than mtom. I guess this will work. Thanks, Ruwan. On Fri, Aug 22, 2008 at 9:41 PM, Asankha C. Perera <[EMAIL PROTECTED]> wrote: > Hi Markus > >> Which is fine. >> However, if the message is routed through Synapse, the second mime part is >> simply missing, but the message still contains the reference to this part. >> I've no idea what causes this behaviour. >> > Can you share your synapse.xml? If you do not want to make it public, you > can send it directly to me. > >> We have absolutely no idea what could be wrong. We tried different >> configurations, without logging, with logging, disabled mtom-optimizations, >> used different client libraries etc. Nothing helped. >> > Have you looked at sample #51 ? ( > http://synapse.apache.org/Synapse_Samples.html#Sample51) > > If you do not turn on optimization, the binary attachments are not sent: > > e.g. <address uri="http://localhost:9000/soap/MTOMSwASampleService" > optimize="mtom"/> > > > asankha > > -- > Asankha C. Perera > > WSO2 - http://wso2.org > http://esbmagic.blogspot.com > > -- Ruwan Linton http://wso2.org - "Oxygenating the Web Services Platform" http://ruwansblog.blogspot.com/
