I am having an issue making manual SOAP requests to GroupWise. I am using the same XML that gwws.jar generates. It works fine on Gwws.jar however if I make the same calls manually I get an "Invalid session string : Invalid session string" error message.

loginResponse -

Code:
<?xml version="1.0" encoding="UTF-8" ?> 
 <env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  
 <env:Header>
  
  <ans1:gwTrace xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace> 
  
  </env:Header>
  
 <env:Body>
  
 <gwm:loginResponse xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types">
  <gwm:session>S1OkKk5te0UJmYtx</gwm:session> 
 <gwm:userinfo>
  <gwt:name>Bart</gwt:name> 
  <gwt:email>Bart@mydemo.com</gwt:email> 
  <gwt:uuid>40B61D30-093A-0000-9A9E-CA008E002800</gwt:uuid> 
  <gwt:userid>Bart</gwt:userid> 
  <gwt:domain>MYDOM</gwt:domain> 
  <gwt:postOffice>MYPO</gwt:postOffice> 
  </gwm:userinfo>
  <gwm:gwVersion>7.0.3</gwm:gwVersion> 
  <gwm:build>976</gwm:build> 
  <gwm:serverUTCTime>2010-04-09T07:13:30Z</gwm:serverUTCTime> 
 <gwm:status>
  <gwt:code>0</gwt:code> 
  </gwm:status>
  </gwm:loginResponse>
  
  </env:Body>
  
  </env:Envelope>
And then I pass the session ID to the folderRequest

Code:
<?xml version="1.0" encoding="UTF-8" ?> 
 <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://schemas.novell.com/2005/01/GroupWise/methods">
 <env:Header>
  <ans1:session xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">S1OkKk5te0UJmYtx</ans1:session> 
  <ans1:gwTrace xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace> 
  </env:Header>
 <env:Body>
 <ns0:getFolderRequest>
  <ns0:folderType>Calendar</ns0:folderType> 
  <ns0:view xsi:nil="1" /> 
  </ns0:getFolderRequest>
  </env:Body>
  </env:Envelope>
However I get the following response

Code:
  <?xml version="1.0" encoding="UTF-8" ?> 
 <env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  
 <env:Header>
  
  <ans1:gwTrace xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace> 
  
  </env:Header>
  
 <env:Body>
  
 <gwm:getFolderResponse xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types">
 <gwm:status>
  <gwt:code>59910</gwt:code> 
  <gwt:description>Invalid session string : Invalid session string : - gwd:event:find: S1OkKk5te0UJmYtx</gwt:description> 
  </gwm:status>
  </gwm:getFolderResponse>
  
  </env:Body>
  
  </env:Envelope>
Is there something I am doing wrong in the xml ? The same thing works on gwws.jar