title: Write Boolean to OPC UA server - "not of the same type" error
body: <p>Will demonstrate it simply. I'm just executing the following line:</p>
  
  <pre><code>client.writeValue(nodeId, client.readValue(nodeId));
  </code></pre>
  
  <p>This reads the value from the server and directly writes it back - No effect.
  However this works as intended for "Doubles" and "Strings" but when doing this with a node containing a BOOLEAN (UaExpert says it is a boolean), I get the following error/exception:</p>
  
  <blockquote>
    <p>com.prosysopc.ua.StatusException: Bad_TypeMismatch (0x80740000) "The
    value supplied for the attribute is not of the same type as the
    attribute's value." StatusCode=Bad_TypeMismatch (0x80740000) "The
    value supplied for the attribute is not of the same type as the
    attribute's value."</p>
  </blockquote>
  
  <hr>
  
  <p>How can that be?
  Is there a bug in the Java API? Or a setting issue in the server?</p>
  
  <p>Huge thanks in advance!</p>