Hi kapila,

Thanks for joining in to implement MTOM,

I went through the code and made following changes, I removed om_output_format.c and om_output_format.h files since that data can be stored in om_output struct easily and I put the necessary functions to om_output.c.

We have used om_output as an abstraction layer and only used the xml_writer in om_output.c. To do that we used the axis2_om_output_write functon when serializing OM. So in implementing MTOM also, use that function to write to xml_writer when writing namespaces,elements, text etc ,

Also I think you will have to have a abstraction api defined in a header file and implement that api in a wrapper using what ever mime library that will be used. So that the code that is implementing MTOM in AXIS2 is independent of the MIME library, We did that for xml_parser etc...

Thanks ,

Nandika


Reply via email to