<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi, <div>I want to know , how Soaplib automatically handle the soap xml envelope for us and automatically turn the argument into an object of type Subworkflow. </div>
<div>--------------------------------------------</div><div><div>class Subworkflow(ClassSerializer):</div><div>        class types:</div><div>                subworkflowid = String</div><div>                filenames = Array(String)</div>
<div>                filedata = Array(String)</div><div>                for i in filedata:</div><div>                        base64.decode(i, open(filenames[i],&quot;w&quot;))</div></div><div><br></div><div>---------------------------------------------------</div>
<div>I know that I dint code it properly, But I am not getting any idea of how to do that. I am a newbie.</div><div><br></div><div>Here Subworkflow is the class I defined. It is a tiny class that has 3 identifiers.</div><div>
<br></div><div>Subworkflowid, filenames, filedata.</div><div><br></div><div>I am NOT passing in raw arguments to your function, I am passing in an actual <div>Subworkflow object... that soaplib will have already automatically </div>
<div>constructed for me.</div><div><br></div><div>And for each element in the filedata, I have to base64_decode it.</div><div><br></div><div>I am using soaplib as SOAP server and SUDS as soap client.</div><div><br></div><div>
Your help  will be greatly appreciated.</div></div></span><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br></blockquote></div><br clear="all">
<br>-- <br>Harshavardhan Reddy Mukkera.<br>