Hi Paul,
No I have not looked at WSF/Python Open Source project. I am new to Python
as well as Web Services and had to add support to ZSI for MTOM. !!!

Will look into this project.

Thank you for letting me know about this. This will help me to improve my
knowledge in Python and Web Services !

Regards
Siva

On Tue, Jan 13, 2009 at 3:43 PM, Paul Fremantle <[email protected]> wrote:

> Have you looked at the WSF/Python Open Source project based on Axis2/C
> that supports MTOM?
>
> http://wso2.org/projects/wsf/python
>
> Paul
>
> On Thu, Jan 8, 2009 at 10:41 AM, SivaKrishna Kumar <[email protected]>
> wrote:
> > Hello All:
> > This is Siva from Hyderabad, India. Can you please help me in an issue.
> Here
> > is what I am stuck at.
> > Zolera SOAP Infrastructure (ZSI) is an open source API written in Python
> for
> > Web Services. ZSI doesn't support MTOM for attachment uploads/downloads
> over
> > web services. I am trying to add this functionality to ZSI.
> > For this I have modified ZSI to send attachments using MTOM. My
> developement
> > environment is
> > I am using Apache's Axis2 server for testing attachment upload. As you
> are
> > aware, Axis2 comes with an example for attachments uploading using MTOM.
> I
> > have written a client in Python which will talk to Axis2 server using
> ZSI.
> > When I tried to run the MTOM Sample client that is written in Python with
> > the changes made to ZSI for MTOM, I am getting the below error.
> > "Part content ID cannot be blank for non root MIME parts"
> > Here is the MTOMized SOAP message and the headers I am sending to the
> Axis2.
> >
> *************************************************************************************************************************************************************************************************************************************************************************
> > MIME SOAP Message:
> > --==ZSI_MIME_BOUNDARY==
> > Content-Transfer-Encoding: 7bit
> > Content-Type: application/xop+xml; type="text/xml"
> > Content-ID: <soaplibEnvelope>
> > <ns0:Envelope
> > xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/";><ns0:Header
> > /><ns0:Body><ns1:AttachmentRequest
> > xmlns:ns1="http://ws.apache.org/axis2/mtomsample/
> "><ns1:fileName>w:\WirelessDiagLog_axis_mtomexample_saved.rar</ns1:fileName><ns1:binaryData><ns2:Include
> > href="cid:ZSIAttachment_1" xmlns:ns2="
> http://www.w3.org/2004/08/xop/include";
> > /></ns1:binaryData></ns1:AttachmentRequest></ns0:Body></ns0:Envelope>
> > --==ZSI_MIME_BOUNDARY==
> > Content-Type: application/octet-stream
> > Content-Transfer-Encoding: 8bit
> > Content-ID: <ZSIAttachment_1>
> > //binary conent of the file
> > --==ZSI_MIME_BOUNDARY==--
> >
> *************************************************************************************************************************************************************************************************************************************************************************
> > Headers:
> > SOAPAction: '"attachment"'
> > Content-Length: 1213
> > Content-Type: 'multipart/related; boundary="==ZSI_MIME_BOUNDARY==";
> > type="application/xop+xml"; start-info="text/xml";
> > start="<soaplibEnvelope>"'
> >
> *************************************************************************************************************************************************************************************************************************************************************************
> > I am not able to understand where is the problem in the changes I made to
> > ZSI for adding MTOM support.
> > Can you please help me out in this regard ?
> > Thank you in advance,
> > Regards
> > Siva
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [email protected]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>

Reply via email to