title: WEBMethods connection string is not working?
body: <p>The following WEBMethods string is not connecting to the server on our companies network drive. I can take the string and place it in a web broswer and i will get a windows exploer screen but when run from WEBMethods the error is Access is denied.</p>
  
  <p>Question: What is causing the access to be denied through WEBMethods? (I can access the file through internet explorer)</p>
  
  <p>Connection String: (Names change to safe guard any information)
           //ServerName/DriveName/S/AB/P/T</p>
  
  <p>Error:</p>
  
  <pre><code>     com.wm.app.b2b.server.ServiceException: java.io.FileNotFoundException: \\espr1fs05
       \DSSXFER\SYSTEMS\ACCESS BACKUPS\Prod\Test\TBE-FILE02.txt (Access is denied)
  </code></pre>
  
  <p>New Code Added:</p>
  
  <pre><code>     System.out.println("outputDirectory --&gt; " + outputDirectory);
       writer = new PrintWriter(new BufferedWriter(new FileWriter("doug.txt")));
  </code></pre>
  
  <p>I have the code in my Java service and would like to write to a network drive as a test. </p>
  
  <pre><code>     allowedWritePaths=//ESPR1FS05/DSSXFER/SYSTEMS/ACCESS BACKUPS/Prod/Test;
       allowedReadPaths=//ESPR1FS05/DSSXFER/SYSTEMS/ACCESS BACKUPS/Prod/Test;
       allowedDeletePaths=//ESPR1FS05/DSSXFER/SYSTEMS/ACCESS BACKUPS/Prod/Test;
  </code></pre>
  
  <p>The above is how the fileAccessControl.cnf file is configured and this is the same path that I put into the web service for the input file. When I test a write from Java it will work.</p>
  
  <p>What could be wrong with the above write paths?</p>
  
  <p>Error Statements:
               com.wm.app.b2b.server.ServiceException: java.io.FileNotFoundException: 
               \ESPR1FS05\DSSXFER\SYSTEMS\ACCESS BACKUPS\Prod\Test\T.txt (Access is denied)</p>
  
  <pre><code>         com.wm.app.b2b.server.ServiceException: java.io.FileNotFoundException: 
           \\ESPR1FS05\DSSXFER\SYSTEMS\ACCESS BACKUPS\Prod\Test\T.txt (Access is denied)
  </code></pre>