Hi, Thank you for your response. I'm a bit confused and I'd like to ask you if this is really what I need by providing more information about my case.
I need to get a file via a SOAP web service - and I suppose I have to take it as attachment - and then send it to another Camel service unit for processing. Is there a classic way of doing this? I mean, I have to build custom code for this or is just a configuration matter? Thank you, again. Laurentiu Trica On Tue, Dec 14, 2010 at 3:16 PM, Freeman Fang <[email protected]>wrote: > Hi, > > You need use servicemix-cxf-bc consumer endpoint to handle external soap > request with attachment, as per JBI spec, all external protocol stuff > should be handled by binding component. > Actually we have a testcase to demonstrate how cxfbc consumer---> cxf se > endpoint can process soap request with attachment(MTOM enabled > specifically), take a look at the test code[1], and the configuration file > for this test[2], I believe it exactly meet your requirement. > > [1] > https://svn.apache.org/repos/asf/servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/mtom/CxfBCMtomTest.java > [2] > https://svn.apache.org/repos/asf/servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/mtom/xbean.xml > > Freeman > > On 2010-12-14, at 下午8:53, Laurentiu Trica wrote: > > Hello, >> >> I've been struggling to build a SOAP web service that can receive >> attachments. >> I don't know if this is a good place to ask for help, but the idea is that >> I >> have to integrate the SOAP server with service mix and I read about the >> servicemix-cxf-se <http://servicemix.apache.org/servicemix-cxf-se.html> >> that >> >> can help me doing this. >> >> Can you please provide me an example or some documentation regarding this? >> >> Thank you! >> >> -- >> Laurentiu Trica >> Software Developer Mobile: (+40) 722 329318 >> S.C MoreDevs S.R.L. Email: [email protected] >> >> This message can contain privileged or confidential information and it is >> intended only for addressee. Any unauthorized disclosure is strictly >> prohibited. >> > > > -- > Freeman Fang > > ------------------------ > > FuseSource: http://fusesource.com > blog: http://freemanfang.blogspot.com > twitter: http://twitter.com/freemanfang > Apache Servicemix:http://servicemix.apache.org > Apache Cxf: http://cxf.apache.org > Apache Karaf: http://karaf.apache.org > Apache Felix: http://felix.apache.org > > -- Laurentiu Trica Software Developer Mobile: (+40) 722 329318 S.C MoreDevs S.R.L. Email: [email protected] This message can contain privileged or confidential information and it is intended only for addressee. Any unauthorized disclosure is strictly prohibited.
