<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.opcfoundation.org/forum/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>OPC Foundation Message Board</title>
 <link>http://www.opcfoundation.org/forum/</link>
 <description>Please use this open forum to ask and answer OPC related questions</description>
 <language>en</language>
 <copyright>Copyright OPC Foundation, Inc.</copyright>
 <managingEditor>ForumAdmin@opcfoundation.org</managingEditor>
 <webMaster>ForumAdmin@opcfoundation.org</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Sat, 04 Jul 2009 21:39:14 GMT</lastBuildDate>
 <pubDate>Sat, 04 Jul 2009 21:39:14 GMT</pubDate>
 <image>
  <url>http://www.opcfoundation.org/images/OPCPayPalHeader.JPG</url>
  <title>OPC Foundation Message Board</title>
  <link>http://www.opcfoundation.org/forum/</link>
 </image>
 <item>
  <title>RE: Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10699#10699</link>
  <description>Hi Otso,
&lt;br /&gt;

&lt;br /&gt;
your example seems to work. Thank you for that. But now I get an error in the client: The message decoding limits are exceeded (Bad_EncodingLimitsExceeded). I tried a few simple examples but nothing works. Do you have an idea?
&lt;br /&gt;

&lt;br /&gt;
Dirk</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Dirk D</dc:creator>
  <pubDate>Fri, 03 Jul 2009 14:22:07 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10699#10699</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10698#10698</link>
  <description>OPC UA SDK 1.0.0 Sample Source Code (x86) 235.0 (Version: 1.0.0.23500)
&lt;br /&gt;

&lt;br /&gt;
the session endpoint of the client does not respond to my request. Maybe I am looking at the wrong configuration file?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 14:00:09 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10698#10698</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10697#10697</link>
  <description>Look in Add/Remove programs.
&lt;br /&gt;

&lt;br /&gt;
Find the installer that put the UA Sample Server on your system.
&lt;br /&gt;

&lt;br /&gt;
Check the Build Number.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 03 Jul 2009 13:23:55 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10697#10697</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10696#10696</link>
  <description>&lt;span style=&quot;font-weight: bold&quot;&gt;@i:nil&lt;/span&gt;
&lt;br /&gt;
i:nil=&amp;quot;true&amp;quot; instead of just an empty tag produces the same error.
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;ClientNonce i&amp;#58;nil=&amp;quot;true&amp;quot; /&amp;gt;&amp;lt;ClientCertificate i&amp;#58;nil=&amp;quot;true&amp;quot;/&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;@version number&lt;/span&gt;
&lt;br /&gt;
When using the UA Sample Client of the big server and browsing to Objects\Server\ServerStatus\BuildInfo\SoftwareVersion it says 1.0
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;@sampleclient contains sampleserver&lt;/span&gt;
&lt;br /&gt;
Will try to connect to this server later. Is this about the SimpleServer/Client or about the SDK (big server)?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 13:06:58 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10696#10696</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10695#10695</link>
  <description>One other possibility:
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;ClientCertificate /&amp;gt; =&amp;gt; new byte[0];
&lt;br /&gt;
&amp;lt;ClientCertificate xsi:nil=&amp;quot;true&amp;quot;&amp;gt; =&amp;gt; null;
&lt;br /&gt;

&lt;br /&gt;
The new byte[0] causes an exception because the code checks for null.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 03 Jul 2009 12:54:50 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10695#10695</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10694#10694</link>
  <description>What Build are you using for the Sample Server?
&lt;br /&gt;

&lt;br /&gt;
The trace I gave you was send to the Sample Server and it worked fine.
&lt;br /&gt;

&lt;br /&gt;
The SampleClient hosts the SampleServer within it. The code is identical the only thing that changes is the URLs.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 03 Jul 2009 12:41:37 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10694#10694</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10693#10693</link>
  <description>Your message won't work either &lt;img src=&quot;images/smiles/icon_razz.gif&quot; alt=&quot;Razz&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;

&lt;br /&gt;
I've captured a message which was sent from the Big Sample Client to the no-security-endpoint of the Big Sample Server.
&lt;br /&gt;

&lt;br /&gt;
Differences to your sample are:
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;wsa:To header =&amp;gt; Needed, but correct value is obvious &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;a&amp;#58;To s&amp;#58;mustUnderstand=&amp;quot;1&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;http&amp;#58;//opcua&amp;#58;51211/UA/SampleServer/None
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/a&amp;#58;To&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
&lt;li&gt;Other ApplicationUri and ServerUri and EndpointUrl =&amp;gt; Obvious, since we don't use the same client/server
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ApplicationUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;urn&amp;#58;192.168.0.1&amp;#58;61211&amp;#58;UA&amp;#58;SampleClient
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ApplicationUri&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ServerUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;urn&amp;#58;opcua&amp;#58;51211&amp;#58;UA&amp;#58;SampleServer
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ServerUri&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;EndpointUrl&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;http&amp;#58;//opcua&amp;#58;51211/UA/SampleServer/None
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/EndpointUrl&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
&lt;li&gt;The real problem: ClientNonce and ClientCertificate are specified. WHY? i thought that you won't need such things for a no-security-endpoint, as part 7 describes oO
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ClientNonce&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;fX6BBhP3MXhNpqHr9iVKk+HP7ZZ3QW13GjkGdjQJmgg=
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ClientNonce&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ClientCertificate&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;MIIC&amp;#91;...&amp;#93;cjs=
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ClientCertificate&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
&lt;li&gt;Tried to insert the values of my original request / remove the additional values a:ReplyTo and a:MessageID. The only difference which holds me away from success is the clientNonce and clientCertificate&lt;/ul&gt;
&lt;br /&gt;

&lt;br /&gt;
- are there bugs in the sample server code that it doesn't accept empty nonce or certificate values? where do I get a real securityMode: None server? Or could I insert just some dummy certificate and clientnonce?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 12:17:21 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10693#10693</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10689#10689</link>
  <description>thanks for the fast answer. will compare this with my request.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 11:34:45 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10689#10689</guid>
 </item>
 <item>
  <title>RE: Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10688#10688</link>
  <description>Hello Dirk,
&lt;br /&gt;

&lt;br /&gt;
I took a look at your problem and tried to sort it out. Here are a couple of things that might solve your problem.
&lt;br /&gt;

&lt;br /&gt;
First, the BinaryEncoder needs a context to work in. In the code example below I used the default context, which can be obtained by calling EncoderContext.getDefault().
&lt;br /&gt;

&lt;br /&gt;
Second, the wrapped variable body can be used directly after encoding the Argument, though the Argument won't fit in such a small buffer. The example below will fit in a 57 byte array.
&lt;br /&gt;

&lt;br /&gt;
Here's an example that works (or at least it should...):
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; &amp;nbsp;Argument arg&amp;nbsp; = new Argument &amp;#40;&amp;quot;name&amp;quot;,Identifiers.Int32,new Integer &amp;#40;-1&amp;#41;,null,new LocalizedText &amp;#40;&amp;quot;an integer 32 value&amp;quot;, Locale.ENGLISH&amp;#41;&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;byte &amp;#91;&amp;#93; body = new byte &amp;#91;57&amp;#93;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ByteBuffer buf = ByteBuffer.wrap&amp;#40;body&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;buf.order&amp;#40;ByteOrder.LITTLE_ENDIAN&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;BinaryEncoder binEncoder = new BinaryEncoder &amp;#40;buf&amp;#41;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;binEncoder.setEncoderContext&amp;#40;EncoderContext.getDefault&amp;#40;&amp;#41;&amp;#41;; //setting the context for the Encoder
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;binEncoder.putStructure&amp;#40;new String&amp;#40;&amp;#41;, arg&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;body = new byte&amp;#91;buf.capacity&amp;#40;&amp;#41;&amp;#93;; //these are not really necessary
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;buf.get&amp;#40;body, 0, body.length&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ExtensionObject extension = new ExtensionObject
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#40;Identifiers.Argument_Encoding_DefaultBinary,body&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Variant value = new Variant&amp;#40;extension&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
I hope this is of some help to you, let us know if you have further questions.
&lt;br /&gt;

&lt;br /&gt;
 - Otso</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Otso</dc:creator>
  <pubDate>Fri, 03 Jul 2009 10:06:28 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10688#10688</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10687#10687</link>
  <description>The message above works</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 03 Jul 2009 09:57:48 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10687#10687</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10686#10686</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;s&amp;#58;Envelope xmlns&amp;#58;a=&amp;quot;http&amp;#58;//www.w3.org/2005/08/addressing&amp;quot; xmlns&amp;#58;s=&amp;quot;http&amp;#58;//www.w3.org/2003/05/soap-envelope&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;s&amp;#58;Header&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;a&amp;#58;Action s&amp;#58;mustUnderstand=&amp;quot;1&amp;quot;&amp;gt;http&amp;#58;//opcfoundation.org/UA/2008/02/Services.wsdl/CreateSession&amp;lt;/a&amp;#58;Action&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;a&amp;#58;MessageID&amp;gt;urn&amp;#58;uuid&amp;#58;4601af7f-842e-436a-add4-07bb559a66e6&amp;lt;/a&amp;#58;MessageID&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;a&amp;#58;ReplyTo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a&amp;#58;Address&amp;gt;http&amp;#58;//www.w3.org/2005/08/addressing/anonymous&amp;lt;/a&amp;#58;Address&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/a&amp;#58;ReplyTo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;/s&amp;#58;Header&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;s&amp;#58;Body&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;CreateSessionRequest xmlns&amp;#58;i=&amp;quot;http&amp;#58;//www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns=&amp;quot;http&amp;#58;//opcfoundation.org/UA/2008/02/Types.xsd&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;RequestHeader&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;AuthenticationToken i&amp;#58;nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/AuthenticationToken&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Timestamp&amp;gt;2009-07-03T09&amp;#58;54&amp;#58;43.5794484Z&amp;lt;/Timestamp&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;RequestHandle&amp;gt;1&amp;lt;/RequestHandle&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ReturnDiagnostics&amp;gt;1023&amp;lt;/ReturnDiagnostics&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;AuditEntryId i&amp;#58;nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/AuditEntryId&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;TimeoutHint&amp;gt;0&amp;lt;/TimeoutHint&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;AdditionalHeader i&amp;#58;nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/AdditionalHeader&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/RequestHeader&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ClientDescription&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ApplicationUri&amp;gt;urn&amp;#58;myhost&amp;#58;61211&amp;#58;UA&amp;#58;SampleClient&amp;lt;/ApplicationUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ProductUri&amp;gt;urn&amp;#58;opcfoundation.org&amp;#58;UA&amp;#58;SampleClient3&amp;lt;/ProductUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ApplicationName&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Locale i&amp;#58;nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/Locale&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Text&amp;gt;UA Sample Client&amp;lt;/Text&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ApplicationName&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ApplicationType&amp;gt;Client_1&amp;lt;/ApplicationType&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;GatewayServerUri i&amp;#58;nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/GatewayServerUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;DiscoveryProfileUri i&amp;#58;nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/DiscoveryProfileUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;DiscoveryUrls&amp;gt;&amp;lt;/DiscoveryUrls&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ClientDescription&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ServerUri&amp;gt;urn&amp;#58;myhost&amp;#58;61211&amp;#58;UA&amp;#58;SampleClient&amp;lt;/ServerUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;EndpointUrl&amp;gt;http&amp;#58;//myhost&amp;#58;61211/UA/SampleClient/None&amp;lt;/EndpointUrl&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;SessionName&amp;gt;MySession 1&amp;lt;/SessionName&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ClientNonce&amp;gt;&amp;lt;/ClientNonce&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ClientCertificate&amp;gt;&amp;lt;/ClientCertificate&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;RequestedSessionTimeout&amp;gt;600000&amp;lt;/RequestedSessionTimeout&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;MaxResponseMessageSize&amp;gt;4194304&amp;lt;/MaxResponseMessageSize&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/CreateSessionRequest&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;/s&amp;#58;Body&amp;gt;
&lt;br /&gt;
&amp;lt;/s&amp;#58;Envelope&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 03 Jul 2009 09:57:00 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10686#10686</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10685#10685</link>
  <description>I really don't understand why it is giving you a stack trace but no exception message.
&lt;br /&gt;

&lt;br /&gt;
There should be comments in the sample client config file which turn on WCF tracing. You can using this to capture the messages sent by the sample client.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 03 Jul 2009 09:56:42 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10685#10685</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10684#10684</link>
  <description>The simpleServer you referred to contains only an endpoint with security, so it's not easy to get the messages (I only see the wsa-action in the captured traffic. The interesting rest is encrypted).
&lt;br /&gt;

&lt;br /&gt;
I've rechecked your second thought of the explanation for Bad being a null in a mandatory structure. In the following listings are my result, stating that everything seems to be fine.
&lt;br /&gt;

&lt;br /&gt;
According to Part 4 / 5.6.2.2, the createSession request takes the parameters:
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;requestHeader: part 4 / 7.26:
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;authenticationToken: omitted (as 5.6.22 says)
&lt;br /&gt;
&lt;li&gt;timestamp: 2009-06-05T07:45:00.649Z
&lt;br /&gt;
&lt;li&gt;requestHandle: something other than 0: 2
&lt;br /&gt;
&lt;li&gt;returnDiagnostics: 1023, representing all bits chosen
&lt;br /&gt;
&lt;li&gt;auditEntryId: empty string = parameter not used (as 7.26 says)
&lt;br /&gt;
&lt;li&gt;timoutHint: 0 (= no timeout, as 7.26 says)
&lt;br /&gt;
&lt;li&gt;additionalHeader: omitted, since reserved for future use&lt;/ul&gt;
&lt;br /&gt;
&lt;li&gt;clientDescription: part 4 / 7.1:
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;applicationUri: client (identifier for the application instance)
&lt;br /&gt;
&lt;li&gt;productUri: in this case empty, I've retried with 'product' but gives the same error: Bad (identifier for the product)
&lt;br /&gt;
&lt;li&gt;applicationName: part 3 / 8.5:
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;text: Sample Client
&lt;br /&gt;
&lt;li&gt;locale: in this case empty, I've retried with 'en-US' but gives still same error&lt;/ul&gt;
&lt;br /&gt;
&lt;li&gt;applicationType: Client_1
&lt;br /&gt;
&lt;li&gt;gatewayServerUri: omitted, since not used when applicationType is Client_1
&lt;br /&gt;
&lt;li&gt;discoveryProfileUri: omitted, since not used when applicationType is Client_1
&lt;br /&gt;
&lt;li&gt;discoveryUrls: omitted, since this field shall contain an empty list when applicationType is Client_1&lt;/ul&gt;
&lt;br /&gt;
&lt;li&gt;serverUri: omitted, since this value is only specified if the endpointdescription has a gatewayserveruri
&lt;br /&gt;
&lt;li&gt;endpointUrl: &lt;a href=&quot;http://opcua:51211/UA/SampleServer/None,&quot; target=&quot;_blank&quot;&gt;http://opcua:51211/UA/SampleServer/None,&lt;/a&gt; the url where the whole request is sent to and which was specified by getEndpoints from the discovery endpoint
&lt;br /&gt;
&lt;li&gt;sessionName: omitted, the server shall assign a value
&lt;br /&gt;
&lt;li&gt;clientNonce: omitted, due to part 7
&lt;br /&gt;
&lt;li&gt;clientCertificate: omitted, due to part 7
&lt;br /&gt;
&lt;li&gt;RequestedSessionTimeout: 60000, okay as of part 3 / 8.13. represents 1 minute
&lt;br /&gt;
&lt;li&gt;maxResponseMessageSize: 0, the value zero indicates that this parameter is not used&lt;/ul&gt;
&lt;br /&gt;

&lt;br /&gt;
So, everything seems to just be okay. I've also checked the types in the XSD-file and my values are conform to this file.
&lt;br /&gt;

&lt;br /&gt;
Is there some method to get a createSession message that works and which is not encrypted? Would help very much since I don't see any error in my message...</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 09:17:16 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10684#10684</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10683#10683</link>
  <description>I recommend you download this sample:
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://www.opcfoundation.org/DownloadFile.aspx?CM=3&amp;amp;RI=518&amp;amp;CN=KEY&amp;amp;CI=288&amp;amp;CU=76&quot; target=&quot;_blank&quot;&gt;http://www.opcfoundation.org/DownloadFile.aspx?CM=3&amp;amp;RI=518&amp;amp;CN=KEY&amp;amp;CI=288&amp;amp;CU=76&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
It contains a client and server built by ingesting the WSDL with WCF tools. It should help you analyze the difference between messages that work and the messages you are sending.
&lt;br /&gt;

&lt;br /&gt;
An error code if Bad means an unexpected exception occured. Most likely because a null was passed for a mandatory structure.
&lt;br /&gt;

&lt;br /&gt;
Unfortunately, nothing jumps out at me as being obviously wrong.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 03 Jul 2009 08:39:41 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10683#10683</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10682#10682</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;AdditionalInfo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;amp;amp;gt;&amp;amp;amp;gt;&amp;amp;amp;gt; Bad&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.Server.StandardServer.CreateSession&amp;#40;RequestHeader requestHeader, ApplicationDescription clientDescription, String serverUri, String endpointUrl, String sessionName, Byte&amp;#91;&amp;#93; clientNonce, Byte&amp;#91;&amp;#93; clientCertificate, Double requestedSessionTimeout, UInt32 maxResponseMessageSize, NodeId&amp;amp;amp;amp; sessionId, NodeId&amp;amp;amp;amp; authenticationToken, Double&amp;amp;amp;amp; revisedSessionTimeout, Byte&amp;#91;&amp;#93;&amp;amp;amp;amp; serverNonce, Byte&amp;#91;&amp;#93;&amp;amp;amp;amp; serverCertificate, EndpointDescriptionCollection&amp;amp;amp;amp; serverEndpoints, SignedSoftwareCertificateCollection&amp;amp;amp;amp; serverSoftwareCertificates, SignatureData&amp;amp;amp;amp; serverSignature, UInt32&amp;amp;amp;amp; maxRequestMessageSize&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.SessionEndpoint.CreateSession&amp;#40;IServiceRequest incoming&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.EndpointBase.ServiceDefinition.Invoke&amp;#40;IServiceRequest request&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.EndpointBase.ProcessRequestAsyncResult.OnProcessRequest&amp;#40;Object state&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/AdditionalInfo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;InnerStatusCode&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;0
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/InnerStatusCode&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;InnerDiagnosticInfo i&amp;#58;nil=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/InnerDiagnosticInfo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ServiceDiagnostics&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;StringTable/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;AdditionalHeader i&amp;#58;nil=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ResponseHeader&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ServiceFault&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Detail&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Fault&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Body&amp;gt;
&lt;br /&gt;
&amp;lt;/s&amp;#58;Envelope&amp;gt;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 07:57:43 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10682#10682</guid>
 </item>
 <item>
  <title>RE: Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10681#10681</link>
  <description>Reply doesn't fit in the last post, so I try it in a separate post:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ServiceDiagnostics&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;SymbolicId&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/SymbolicId&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NamespaceUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/NamespaceUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Locale&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Locale&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;LocalizedText&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/LocalizedText&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;AdditionalInfo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;amp;amp;gt;&amp;amp;amp;gt;&amp;amp;amp;gt; Bad&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.EndpointBase.ProcessRequestAsyncResult.WaitForComplete&amp;#40;IAsyncResult ar, Boolean throwOnError&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.SessionEndpoint.EndCreateSession&amp;#40;IAsyncResult ar&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
&amp;amp;amp;amp;#xD;
&lt;br /&gt;
&amp;amp;amp;gt;&amp;amp;amp;gt;&amp;amp;amp;gt; Bad&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.Server.StandardServer.CreateSession&amp;#40;RequestHeader requestHeader, ApplicationDescription clientDescription, String serverUri, String endpointUrl, String sessionName, Byte&amp;#91;&amp;#93; clientNonce, Byte&amp;#91;&amp;#93; clientCertificate, Double requestedSessionTimeout, UInt32 maxResponseMessageSize, NodeId&amp;amp;amp;amp; sessionId, NodeId&amp;amp;amp;amp; authenticationToken, Double&amp;amp;amp;amp; revisedSessionTimeout, Byte&amp;#91;&amp;#93;&amp;amp;amp;amp; serverNonce, Byte&amp;#91;&amp;#93;&amp;amp;amp;amp; serverCertificate, EndpointDescriptionCollection&amp;amp;amp;amp; serverEndpoints, SignedSoftwareCertificateCollection&amp;amp;amp;amp; serverSoftwareCertificates, SignatureData&amp;amp;amp;amp; serverSignature, UInt32&amp;amp;amp;amp; maxRequestMessageSize&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.SessionEndpoint.CreateSession&amp;#40;IServiceRequest incoming&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.EndpointBase.ServiceDefinition.Invoke&amp;#40;IServiceRequest request&amp;#41;&amp;amp;amp;amp;#xD;
&lt;br /&gt;
---&amp;nbsp; &amp;nbsp; at Opc.Ua.EndpointBase.ProcessRequestAsyncResult.OnProcessRequest&amp;#40;Object state&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/AdditionalInfo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;InnerStatusCode&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2147483648
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/InnerStatusCode&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;InnerDiagnosticInfo&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;SymbolicId&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/SymbolicId&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;NamespaceUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/NamespaceUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Locale&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Locale&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;LocalizedText&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;-1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/LocalizedText&amp;gt;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 07:55:05 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10681#10681</guid>
 </item>
 <item>
  <title>Unable to create session</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10680#10680</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I'm currently building a UA client from scratch to access a session endpoint with securityMode: None.
&lt;br /&gt;

&lt;br /&gt;
The GetEndpoint service from the discovery Endpoint gives me the URI for securityMode None; according to part 7, the server supports 'Security None CreateSession ActivateSession' which means that I don't have to send a clientCertificate and clientNonce when calling the createSession service.
&lt;br /&gt;

&lt;br /&gt;
However, when I actually try to create the session, I get returned an errorCode 'Bad', which I don't understand. Is there something wrong in the request? Do I have to send some other message before sending a createSession request?
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
The only and whole request I am sending to the server is:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;s&amp;#58;Envelope xmlns&amp;#58;s=&amp;quot;http&amp;#58;//www.w3.org/2003/05/soap-envelope&amp;quot; xmlns&amp;#58;a=&amp;quot;http&amp;#58;//www.w3.org/2005/08/addressing&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Header&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;a&amp;#58;Action s&amp;#58;mustUnderstand=&amp;quot;1&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;http&amp;#58;//opcfoundation.org/UA/2008/02/Services.wsdl/CreateSession
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/a&amp;#58;Action&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;a&amp;#58;To s&amp;#58;mustUnderstand=&amp;quot;1&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;http&amp;#58;//opcua&amp;#58;51211/UA/SampleServer/None
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/a&amp;#58;To&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Header&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Body&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;CreateSessionRequest xmlns=&amp;quot;http&amp;#58;//opcfoundation.org/UA/2008/02/Types.xsd&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RequestHeader&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;AuthenticationToken/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Timestamp&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2009-06-05T07&amp;#58;45&amp;#58;00.649Z
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Timestamp&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RequestHandle&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RequestHandle&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ReturnDiagnostics&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;1023
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ReturnDiagnostics&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;AuditEntryId/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;TimeoutHint&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;0
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/TimeoutHint&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;AdditionalHeader/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RequestHeader&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ClientDescription&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ApplicationUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;client
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ApplicationUri&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ProductUri/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ApplicationName&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Locale/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Text&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Sample Client
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Text&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ApplicationName&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ApplicationType&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Client_1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ApplicationType&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;GatewayServerUri/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;DiscoveryProfileUri/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;DiscoveryUrls/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ClientDescription&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ServerUri/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;EndpointUrl&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;http&amp;#58;//opcua&amp;#58;51211/UA/SampleServer/None
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/EndpointUrl&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;SessionName/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ClientNonce/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ClientCertificate/&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RequestedSessionTimeout&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;60000
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RequestedSessionTimeout&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;MaxResponseMessageSize&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;0
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/MaxResponseMessageSize&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/CreateSessionRequest&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Body&amp;gt;
&lt;br /&gt;
&amp;lt;/s&amp;#58;Envelope&amp;gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
The response I get is:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;s&amp;#58;Envelope xmlns&amp;#58;s=&amp;quot;http&amp;#58;//www.w3.org/2003/05/soap-envelope&amp;quot; xmlns&amp;#58;a=&amp;quot;http&amp;#58;//www.w3.org/2005/08/addressing&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Header&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;a&amp;#58;Action s&amp;#58;mustUnderstand=&amp;quot;1&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;http&amp;#58;//opcfoundation.org/UA/2008/02/Services.wsdl/CreateSessionFault
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/a&amp;#58;Action&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Header&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Body&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Fault&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Value xmlns&amp;#58;a=&amp;quot;http&amp;#58;//opcfoundation.org/UA/&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;a&amp;#58;Bad
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Value&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Reason&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Text xml&amp;#58;lang=&amp;quot;&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Bad
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Text&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/s&amp;#58;Reason&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;s&amp;#58;Detail&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ServiceFault xmlns=&amp;quot;http&amp;#58;//opcfoundation.org/UA/2008/02/Types.xsd&amp;quot; xmlns&amp;#58;i=&amp;quot;http&amp;#58;//www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ResponseHeader&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Timestamp&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2009-07-03T07&amp;#58;43&amp;#58;54.8891488Z
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Timestamp&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;RequestHandle&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/RequestHandle&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ServiceResult&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2147483648
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/Code&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/ServiceResult&amp;gt;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3243</comments>
  <dc:creator>etan</dc:creator>
  <pubDate>Fri, 03 Jul 2009 07:53:35 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10680#10680</guid>
 </item>
 <item>
  <title>RE: Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10679#10679</link>
  <description>I will see if I can get one of the developers who worked on the Java stack to look at the issue.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Thu, 02 Jul 2009 16:04:14 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10679#10679</guid>
 </item>
 <item>
  <title>RE: DA version of the server</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10678#10678</link>
  <description>The only safe way is to request the v3.0 interface and try to use it. If you get an unexpected error the server does not support the v3.0 feature in question.</description>
  <category>DA (Data Access)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3242</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Thu, 02 Jul 2009 16:03:08 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10678#10678</guid>
 </item>
 <item>
  <title>DA version of the server</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10677#10677</link>
  <description>Hello,
&lt;br /&gt;

&lt;br /&gt;
How to get DA version supported by the server ?
&lt;br /&gt;
Some programs are able to retrieve it but from where ?
&lt;br /&gt;
I haven't found.
&lt;br /&gt;

&lt;br /&gt;
Thanks
&lt;br /&gt;

&lt;br /&gt;
Sorry for my english.</description>
  <category>DA (Data Access)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3242</comments>
  <dc:creator>Celestion</dc:creator>
  <pubDate>Thu, 02 Jul 2009 15:59:09 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10677#10677</guid>
 </item>
 <item>
  <title>RE: Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10676#10676</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I tried to serialize the argument and used the putStructure Method of the BinaryEncoder but this didnīt work. How can I serialize an argument in Java with BinaryEncoder? 
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
Argument arg&amp;nbsp; = new Argument &amp;#40;name,Identifiers.Int32,new Integer &amp;#40;-1&amp;#41;,null,new LocalizedText &amp;#40;&amp;quot;an integer 32 value&amp;quot;, Locale.ENGLISH&amp;#41;&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
byte &amp;#91;&amp;#93; body = new byte &amp;#91;10&amp;#93;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
ByteBuffer buf = ByteBuffer.wrap&amp;#40;body&amp;#41;;
&lt;br /&gt;
buf.order&amp;#40;ByteOrder.LITTLE_ENDIAN&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
BinaryEncoder binEncoder = new BinaryEncoder &amp;#40;buf&amp;#41;;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br /&gt;
binEncoder.putStructure&amp;#40;null, args&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
body = new byte&amp;#91;buf.capacity&amp;#40;&amp;#41;&amp;#93;;
&lt;br /&gt;
buf.get&amp;#40;body, 0, body.length&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
ExtensionObject extension = new ExtensionObject
&lt;br /&gt;
&amp;#40;Identifiers.Argument_Encoding_DefaultBinary,body&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
Variant value = new Variant&amp;#40;extension&amp;#41;; 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Dirk D</dc:creator>
  <pubDate>Thu, 02 Jul 2009 11:59:42 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10676#10676</guid>
 </item>
 <item>
  <title>RE: Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10675#10675</link>
  <description>The C# stack is able to serialize the built in types automatically if they are added to an ExtensionObject. The Java stack may not support this feature.
&lt;br /&gt;

&lt;br /&gt;
In that case you will have to manually serialize the argument.
&lt;br /&gt;

&lt;br /&gt;
The code in C# illustrates the steps and the Java stack is supposed to have equivalent APIs:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;// initialize object.
&lt;br /&gt;
Argument argument = new Argument&amp;#40;&amp;#41;;
&lt;br /&gt;
argument.Name = &amp;quot;Hello&amp;quot;;
&lt;br /&gt;
argument.DataType = DataTypeIds.String;
&lt;br /&gt;

&lt;br /&gt;
// encode it with the UA binary encoding.
&lt;br /&gt;
BinaryEncoder encoder = new BinaryEncoder&amp;#40;context&amp;#41;;
&lt;br /&gt;
encoder.WriteEncodeable&amp;#40;null, argument, null&amp;#41;;
&lt;br /&gt;
byte&amp;#91;&amp;#93; body = encoder.CloseAndReturnBuffer&amp;#40;&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
// wrap it in an extension object which also specifies that the body is an Argument structure encoded in UA binary.
&lt;br /&gt;
ExtensionObject extension = new ExtensionObject&amp;#40;ObjectIds.Argument_Encoding_DefaultBinary, body&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
// create an array.
&lt;br /&gt;
ExtensionObject&amp;#91;&amp;#93; extensions = new ExtensionObject &amp;#123; extension &amp;#125;;
&lt;br /&gt;

&lt;br /&gt;
// wrap in variant.
&lt;br /&gt;
Variant value = new Variant&amp;#40;extensions&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Wed, 01 Jul 2009 18:56:06 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10675#10675</guid>
 </item>
 <item>
  <title>RE: Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10674#10674</link>
  <description>OK. I have to put an array of ExtensionObjects into the Variant. But how do I put an Argument in an ExtensionObject?
&lt;br /&gt;

&lt;br /&gt;
For example:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
Argument arg&amp;nbsp; = new Argument &amp;#40;name,Identifiers.Int32,new Integer &amp;#40;-1&amp;#41;,null,new LocalizedText &amp;#40;&amp;quot;an integer 32 value&amp;quot;, Locale.ENGLISH&amp;#41;&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
ExtensionObject&amp;nbsp; extension = new ExtensionObject &amp;#40;nodeID&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
Variant value = new Variant&amp;#40;extension&amp;#41;;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
The last line in your example isnīt right, is it? I thought it would be:
&lt;br /&gt;
Variant value = new Variant(extensions); without [ii].</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Dirk D</dc:creator>
  <pubDate>Wed, 01 Jul 2009 12:44:17 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10674#10674</guid>
 </item>
 <item>
  <title>RE: DCOM register timeout</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10673#10673</link>
  <description>As I mentioned in my original post, I'm not OPC literate. So, here's a portion of the report submitted by the outside contractor that got it working:
&lt;br /&gt;

&lt;br /&gt;
 A Casepacker ( with an ELAU PLC) was added to the packaging line - there were a series of subsequent communication issues between the TrakSYS software (OPC communication) to ELAU OPC Server installed on the local computer.
&lt;br /&gt;

&lt;br /&gt;
The ELAU OPC Server (CoDeSys OPC Server version 2.3.11.0) was moved to a new computer on the packaging line in hopes of fixing some issues the original PC was experiencing and thought to be related to the installed ELAU software.  The new computer was configured with DCOM settings to allow OPC Server with access and launch/activation permissions - STILL will no success.
&lt;br /&gt;

&lt;br /&gt;
Solution:  New architecture - ELAU OPC Server installed on the TRAKSYS server that contains the plant database and (ELAU) EPAS-4 Gateway Server version 2.3.5.3 installed on the new PC (mentioned above) to act as a data gateway between the local plc network and the plant network.
&lt;br /&gt;

&lt;br /&gt;
This will also allow future ELAU PLCs OPC data to be added to TrakSYS with just the addition of the gateway server on the local plc area network and configuration of the ELAU OPC Server on main TRAKSYS server.</description>
  <category>DCOM</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=2913</comments>
  <dc:creator>JJ Flynn</dc:creator>
  <pubDate>Wed, 01 Jul 2009 10:56:08 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10673#10673</guid>
 </item>
 <item>
  <title>Security Audit Logon/Logoff event on an OPC Server</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10672#10672</link>
  <description>I have an application that use OPC RDI service to read data from an OPC Server.  The application is set to read data every 5 min.  In the Event Viewer of the OPC Server, we see a Success Audit with the Category Logon/Logoff for the user account (which runs the OPC RDI service) about twice per min (or about 30 sec frequency).  Is this the normal frequency for OPC DCOM authentication?  If it is, is it adjustable?  If it it not, anyone knows why this is happening?
&lt;br /&gt;

&lt;br /&gt;
Thank you for your feedback/advice!</description>
  <category>DCOM</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3241</comments>
  <dc:creator>hqp</dc:creator>
  <pubDate>Tue, 30 Jun 2009 18:28:21 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10672#10672</guid>
 </item>
 <item>
  <title>RE: Building the address space in the DataAccessServer solution</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10671#10671</link>
  <description>You can create the BlockState without the tags.
&lt;br /&gt;
You would then use the BlockBrowser to find the tags.
&lt;br /&gt;
This is the way the Segments work. 
&lt;br /&gt;

&lt;br /&gt;
The ObjectTypes are defined by the ULS.
&lt;br /&gt;

&lt;br /&gt;
The StartSimulation starts a simulation of a system. You would not use it if you have a real system.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3208</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 16:18:40 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10671#10671</guid>
 </item>
 <item>
  <title>RE: [238.1] : unable to add Organizes ref.  to Objects folder</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10670#10670</link>
  <description>Adding the reference from the ObjectFolder is the first step.
&lt;br /&gt;

&lt;br /&gt;
You need to also make sure the GetManagerHandle method recognizes your Node. The A&amp;amp;C quickstart was designed to access dynamic nodes in the system so it does not check the PredefinedNodes dictionary by default.
&lt;br /&gt;

&lt;br /&gt;
You will need to add that PredefinedNodes look up yourself.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3240</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 16:12:17 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10670#10670</guid>
 </item>
 <item>
  <title>RE: Building the address space in the DataAccessServer solution</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10669#10669</link>
  <description>Thank you for your answer Randy! 
&lt;br /&gt;
But what about the problem that the tags have to be created by a UnderlyingSystemBlock but the BlockBrowser has to operate on BlockState objects? I have problems to understand where and how to define the tags...
&lt;br /&gt;

&lt;br /&gt;
Sth. else: In one of your last post you told me:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;
&lt;br /&gt;
The mapping to the UA type refers to the UA Type Definition. If you have a set of tags that appears over and over again in different blocks you would likely want to create some ObjectTypes for the different Block types. 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
Are these ObjectTypes that one you specified in the s_BlockDatabase or do you mean sth. else?
&lt;br /&gt;

&lt;br /&gt;
By the way... What ist the purpose of the StartSimulation() method in the Underlying system? Do I have to modify it when the data comes from a real ULS?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3208</comments>
  <dc:creator>NewbieOPC</dc:creator>
  <pubDate>Tue, 30 Jun 2009 16:03:32 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10669#10669</guid>
 </item>
 <item>
  <title>RE: Objects vs ObjectTypes</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10668#10668</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Why does Node 5 reference Node 293? &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;I thought you were wondering about 263. 
&lt;br /&gt;

&lt;br /&gt;
Node 293 exists because the BoilerType may override some elements of the FlowTransmitter1.
&lt;br /&gt;

&lt;br /&gt;
For example, the BoilerType could add an EngineeringUnits to the Output (Node 294).</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3229</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 15:12:18 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10668#10668</guid>
 </item>
 <item>
  <title>RE: Inconsistencies in the Boiler sample</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10667#10667</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt; the number of instances is fixed, the number of instance nodes is in O(n). The number of nodes used to define the structure, however, is in O(n^2).&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Only if you insist on modelling it that way. You can model each instance with a single type of of N nodes if that makes more sense to you.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3235</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 15:05:50 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10667#10667</guid>
 </item>
 <item>
  <title>RE: Building the address space in the DataAccessServer solution</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10666#10666</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;In the SegmentBrowser you assume that you already have the structure of the block paths stored in &amp;quot;s_BlockPathDatabase&amp;quot;. Does that mean that I need a DB like this for the tags as well? I think I need some mechanism that tells the UPC UA Server which tags belong to which block.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Exactly. If you don't know the tags in advance your system must provide a way to look up what tags exists when passed a Block identifier.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;How can I construct an ID for an Tag?? &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;However you want. You need to store enough information that would allow you to look up a tag in the system. This implies that each tag has a unique id which can be used to look up the tag metadata from the ULS.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3208</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 15:03:29 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10666#10666</guid>
 </item>
 <item>
  <title>RE: Inconsistencies in the Boiler sample</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10665#10665</link>
  <description>Assume you have fixed number of structurally identical instances, each of them having n nodes. These n nodes are arranged in a linked-list like order as in the biooer (subpart). Now you want to provide metadata for those structures.
&lt;br /&gt;

&lt;br /&gt;
Since the number of instances is fixed, the number of instance nodes is in O(n). The number of nodes used to define the structure, however, is in O(n^2).</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3235</comments>
  <dc:creator>Banjobeni</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:58:46 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10665#10665</guid>
 </item>
 <item>
  <title>RE: Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10664#10664</link>
  <description>You need to put an array of ExtensionObjects into the Variant even if you only have one argument.
&lt;br /&gt;

&lt;br /&gt;
In C# the code would look like this:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;ExtensionObject&amp;#91;&amp;#93; extensions = new ExtensionObject&amp;#91;args.Length&amp;#93;;
&lt;br /&gt;

&lt;br /&gt;
for &amp;#40;int ii =0; ii &amp;lt; args.Length; ii++&amp;#41;
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;extensions&amp;#91;ii&amp;#93; = new ExtensionObject&amp;#40;args&amp;#91;ii&amp;#93;&amp;#41;;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
Variant value = new Variant&amp;#40;extensions&amp;#91;ii&amp;#93;&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:51:32 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10664#10664</guid>
 </item>
 <item>
  <title>RE: Inconsistencies in the Boiler sample</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10663#10663</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;My point is still valid. If you are not going to reuse existing types, which can easily be the case when you have a non-common setup, you need in the order of n^2 nodes only to provide metadata for n nodes. &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;No it is not because you would never create those additional types if you do not re-use them. Types that are not re-used have no value from a semantic or structural point of view.
&lt;br /&gt;

&lt;br /&gt;
Consider the example of a Person table in a SQL data base. You could model a Person by creating a seperate Address table that is referenced by a foreign key in the Person table. However, such a model would be a waste of time if the Address table is not referenced by any other table. On the other hand, such a model is very appropriate if you have another table called Company which also includes an Address with the same fields.
&lt;br /&gt;

&lt;br /&gt;
You should not view information models as a 'one size fits all' proposition. Different people with different requirements will use the model in different ways.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3235</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:47:33 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10663#10663</guid>
 </item>
 <item>
  <title>RE: Objects vs ObjectTypes</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10662#10662</link>
  <description>Okay, you are right.
&lt;br /&gt;

&lt;br /&gt;
Let me state the question differently then: Why does Node 5 reference Node 293?
&lt;br /&gt;

&lt;br /&gt;
After all, node 5 is only a bucket to provide the name of the virtual reference from node 4 to node 262. That means to me that the only outgoing reference from node 5 should be the HasTypeDefinition to node 262.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3229</comments>
  <dc:creator>Banjobeni</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:41:06 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10662#10662</guid>
 </item>
 <item>
  <title>[238.1] : unable to add Organizes ref.  to Objects folder</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10661#10661</link>
  <description>Hi,
&lt;br /&gt;
I'm trying to add dynamically an object (derived from FolderState) to the &amp;quot;Objects&amp;quot; folder root
&lt;br /&gt;

&lt;br /&gt;
I have begun with the Alarm and Condition Server sample (238.1). I created a &amp;quot;DeviceGroupType&amp;quot; in a model and I complied it to &amp;quot;DeviceGroupState&amp;quot; class.
&lt;br /&gt;

&lt;br /&gt;
Here is my code :
&lt;br /&gt;
public override void CreateAddressSpace(IDictionary&amp;lt;NodeId, IList&amp;lt;IReference&amp;gt;&amp;gt; externalReferences)
&lt;br /&gt;
        {
&lt;br /&gt;
            base.CreateAddressSpace(externalReferences);
&lt;br /&gt;
            lock (Lock)
&lt;br /&gt;
            {
&lt;br /&gt;
                IList&amp;lt;IReference&amp;gt; references = null;
&lt;br /&gt;
                externalReferences[Opc.Ua.ObjectIds.ObjectsFolder] = references = new List&amp;lt;IReference&amp;gt;();
&lt;br /&gt;

&lt;br /&gt;
                ushort index = (ushort)Server.NamespaceUris.GetIndex(Canberra.Ua.NodeManager.Model.CanberraDevices.Namespaces.OPCUACanberraDevices);
&lt;br /&gt;
                string folderPath = Utils.Format(&amp;quot;{0}/{1}&amp;quot;, String.Empty, &amp;quot;myFolder&amp;quot;);
&lt;br /&gt;
                NodeId folderId = ModelUtils.ConstructIdForArea(folderPath, index);
&lt;br /&gt;
                DeviceGroupState devicegroupinstance = new DeviceGroupState(null);
&lt;br /&gt;
                devicegroupinstance.Create(SystemContext, folderId, new QualifiedName(browseName, index), new LocalizedText(displayName), true);
&lt;br /&gt;
                // add a reference link from Objects main folder
&lt;br /&gt;
                &lt;span style=&quot;color: red&quot;&gt;Server.CoreNodeManager.AddReference(Opc.Ua.ObjectIds.ObjectsFolder,
&lt;br /&gt;
                Opc.Ua.ReferenceTypeIds.Organizes, false, devicegroupinstance.NodeId, false);
&lt;br /&gt;
                AddPredefinedNode(this.SystemContext, devicegroupinstance);
&lt;br /&gt;
                // add an organizes reference from the ObjectsFolder to the area.
&lt;br /&gt;
                references.Add(new NodeStateReference(Opc.Ua.ReferenceTypeIds.Organizes, false, folderDeviceGroup.NodeId));&lt;/span&gt;
&lt;br /&gt;
...
&lt;br /&gt;

&lt;br /&gt;
I don't know how to add a simple &amp;quot;Organizes&amp;quot; reference to an object from the &amp;quot;Objects&amp;quot; folder of the Server, where am I wrong  &lt;img src=&quot;images/smiles/icon_cry.gif&quot; alt=&quot;Crying or Very sad&quot; border=&quot;0&quot; /&gt; 
&lt;br /&gt;

&lt;br /&gt;
This code worked with 237 version in the OnNodeManagerStarted.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3240</comments>
  <dc:creator>frsauvage</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:39:48 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10661#10661</guid>
 </item>
 <item>
  <title>RE: opc newbie</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10660#10660</link>
  <description>Right now many of the early adopters are scrambling to get OPC UA products out the door. Iconics and Kepware Partnered to provide an OPC UA soluiton using Iconics Genesis64 and Kepware Kepserver for Iconics. Kepware also partnered with Unified Automation(&lt;a href=&quot;http://www.opcfoundation.org/Products/ProductDetails.aspx?CM=1&amp;amp;RI=8956&amp;amp;CU=87http://www.opcfoundation.org/Products/ProductDetails.aspx?CM=1&amp;amp;RI=8956&amp;amp;CU=87&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://www.opcfoundation.org/Products/ProductDetails.aspx?CM=1&amp;amp;RI=8956&amp;amp;CU=87http://www.opcfoundation.org/Products/ProductDetails.aspx?CM=1&amp;amp;RI=8956&amp;amp;CU=87&lt;/a&gt;) to provide OPC UA. Unified Automation has a sample client that can run on Linux platforms.
&lt;br /&gt;

&lt;br /&gt;
I think you will see that the major vendors will come out with OPC UA products for windows in the next year and that depending on the complexity Linux will follow that. The big decodomg factor for Linux support will be the demand that the ROI for the companies developing solutions.
&lt;br /&gt;

&lt;br /&gt;
Fred Loveless
&lt;br /&gt;
Senior Application Engineer
&lt;br /&gt;
Kepware Technoligies</description>
  <category>Miscellaneous</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3219</comments>
  <dc:creator>Fred_Loveless</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:37:30 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10660#10660</guid>
 </item>
 <item>
  <title>RE: Objects vs ObjectTypes</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10659#10659</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;I do not concern about reality. But i do concern about models. So my statement is that I dont understand why the FlowTransmitter1 (the one with NodeId 293) is present. &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;I answered your question twice now:
&lt;br /&gt;

&lt;br /&gt;
Hypothetically, the Node is used by other types in the model which are not shown. You cannot assume that a node is not used simply because it does not appear to be used within the subset of the model that you have choosen to highlight.
&lt;br /&gt;

&lt;br /&gt;
I gave examples of why it could be used in other parts of the information model.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3229</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:32:40 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10659#10659</guid>
 </item>
 <item>
  <title>RE: Building the address space in the DataAccessServer solution</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10658#10658</link>
  <description>Hi Randy!
&lt;br /&gt;

&lt;br /&gt;
I started to build up the BlockBrowser but I have to solve some problems. I hope you can give me some advice how to continue.
&lt;br /&gt;

&lt;br /&gt;
My questions are those:
&lt;br /&gt;

&lt;br /&gt;
1.) Isnt it the case that I have to create the tags before I can start browsing them (i.e. use the CreateTag() method on a UnderLyingSystemBlock element)? As far as I understood, the UnderlyingSystemBlock and its UnderlyingSystemTags need to be specified BEFORE I map them to OPC UA confirm objects by using the BlockState class: The BlockBrowser which I have to implement has to be based on a BlockState object. This BlockState object will be build out of an UnderlyingSystemBlock (and his tags) =&amp;gt; The tags need to be specified before the BlockBrowser can operate on the BlockState object. Otherwise I see no possibility to create the tags during browsing because only the UnderlyingSystemBlock can add tags. The BlockState object can not...
&lt;br /&gt;

&lt;br /&gt;
2.) In the SegmentBrowser you assume that you already have the structure of the block paths stored in &amp;quot;s_BlockPathDatabase&amp;quot;. Does that mean that I need a DB like this for the tags as well? I think I need some mechanism that tells the UPC UA Server which tags belong to which block. I am thinking about implementing a class that browses the real ULS and delivers two information to the opc ua server: A DB like s_BlockPathDatabase which delivers all known block paths and a database which contains objects that describe the tags (i.e.: their name, datatype, value,...) that belong to the each specific block in the ULS.
&lt;br /&gt;

&lt;br /&gt;
Truly speaking, it is not clear to me if this is the right way to go?
&lt;br /&gt;

&lt;br /&gt;
3.) Should the BlockBrowser be similar to the SegmentBrowser? There you use ConstructIdForBlock and ConstructIdForSegements? How can I construct an ID for an Tag??
&lt;br /&gt;

&lt;br /&gt;
I hope you can give me some suggestions how to build up this BlockBrowser. It would be important to know: What information the OPC UA server needs from the ULS in order to create the tags (when the tags belonging to a block are not implied by the block type but have to be read from the ULS for each block instead), how the tags can be created afterwards and what the BlockBrowser has to do in this context exactly.
&lt;br /&gt;

&lt;br /&gt;
Sorry for all that questions &lt;img src=&quot;images/smiles/icon_sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;
Kind regards!</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3208</comments>
  <dc:creator>NewbieOPC</dc:creator>
  <pubDate>Tue, 30 Jun 2009 14:23:22 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10658#10658</guid>
 </item>
 <item>
  <title>Java SDK properties of methods</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=10657#10657</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I want to describe a methodīs input and output arguments using properties.
&lt;br /&gt;
The value of each property should be an Argument object which stores name, data type, value rank, array dimension and description. To set the value of each property I wanted to put the Argument object in a Variant object, but this didnīt work. I tried it with the ExtensionObject class but it didnīt work either.
&lt;br /&gt;
How can I define the input and output arguments of a method properly?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3239</comments>
  <dc:creator>Dirk D</dc:creator>
  <pubDate>Tue, 30 Jun 2009 11:30:48 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=10657#10657</guid>
 </item>
</channel>
</rss>
