title: WSDL possible to transfer a FILE type?
body: <p>A "checkResult" service deployed on a node machine is defined to return the result on the node to a cluster controller that sends the request.The result on node ,which is in the form of file, may vary drastically in length,as is often the case with daily log files.</p>
  
  <p>At first,i thought it might be ok just using a single string to pack the whole content of the file,so i defined</p>
  
  <pre><code>checkResult(inType *in,OutType *out)
  </code></pre>
  
  <p>where the OutType* is char*. Then i realized that the string could be in KB length or even more. So i wonder whether it is proper to use string here.</p>
  
  <p>I googled a lot and could not find the max length permitted in wsdl(maybe conflict with the local maxbuffer length as well) and did not find any information about transferring a file type parameter either.</p>
  
  <p>Using struct type may be suggested ,but it could be so nested for the file and difficult to parse when some of the elements inside could be nil and absent.</p>
  
  <p>What'd you do when you need to return a file type result or large amount of data in a webservice?</p>
  
  <p>p.s the server and client both in C.</p>