title: How to upload files to XTRF so a local file can be referenced in call to createSimpleQuote
body: <p>Trying to understand options for attatching input files can to a quote/project when using the Web Service API for Partners 1.0.</p>
  
  <p>We have figured out how to use the login and the createSimpleQuote SOAP methods to create a Quote as a customer.</p>
  
  <p>The thing step that we are struggling with now is how to upload the input files that are to be referenced in the files section of the payload to createSimpleQuote.</p>
  
  <pre><code>        &lt;par:files&gt;
             &lt;par:name&gt;?&lt;/par:name&gt;
             &lt;par:category&gt;?&lt;/par:category&gt;
             &lt;par:url&gt;?&lt;/par:url&gt;
          &lt;/par:files&gt;
  </code></pre>
  
  <p>Ideally we like the url element to reference local files (using file:///tmp/sample.pdf) as it is done in the java <a href="http://knowledgebase.xtrf.eu/display/XTRFAPIWSP/Usage+Examples" rel="nofollow">usage example</a>).</p>
  
  <p>What options do we have for uploading files?
  How do we get the local path value of an uploaded file that can be used in the createSimpleQuote SOAP call?</p>
  
  <p>Please advice?</p>