Skip to content
Discussion options

You must be logged in to vote

There are two separate problems here.

1. BadTypeMismatch on write-back (1.5.x). The initial value in your NodeSet has <uax:TypeId> set to the DataType NodeId (ns=idx2;s=path.to.datatype). The TypeId of an ExtensionObject must be the encoding NodeId (Default Binary / Default XML, your someIdx/someOtherIdx). When you write that value back, the 1.5 server tries to map the TypeId to a DataType through the HasEncoding references. The DataType id itself is not an encoding, so the check against the variable's DataType fails. The same applies to your EncodeableObject attempt if XmlEncodingId/BinaryEncodingId do not resolve to those nodes in the server's namespace table. Fix the NodeSet value to u…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by romanett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #2197 on December 03, 2025 06:04.