title: Lotusscript WSDL Object variable not set on XSD_HOLDER output parms
body: <p>We have the following code after importing a WSDL:</p>
  
  
  
  <pre class="lang-vb prettyprint-override"><code>Class GofilexAPI_n0
  
      Sub NEW
          Dim s As NotesSession
          Set s = New NotesSession
      End Sub
  
      Sub AuthenticationToken(password As XSD_STRING, username As XSD_STRING, AuthenticationTokenResult As XSD_STRING_HOLDER , ResultCode As XSD_INT_HOLDER)
          Print password.getValueAsString()
          Print username.getValueAsString()
          ResultCode.Value.setValueFromString("1")
          AuthenticationTokenResult.Value.setValueFromString("foobr")
      End Sub
  
  End Class
  </code></pre>
  
  <p>We get error "Object variable not set" on trying to set values to return variables AuthenticationTokenResult and ResultCode (last two lines of the sub).</p>