cannot find constructor for expandedId
Posted: 12 Jun 2018, 13:21
Hello,
I am totally new to OPC-UA architecture. I have written few test cases to test different OPC-UA servers. I want to check the opensecurechannelrequest of a server. Below you may find the message format of opensecurechannelrequest. The request throws an error "Cannot find constructor for expandedId". Can anyone tell me where I am going wrong? Any input is highly appreciated.
Thank You in advance.
With Regards,
Avdoot Chalke
I am totally new to OPC-UA architecture. I have written few test cases to test different OPC-UA servers. I want to check the opensecurechannelrequest of a server. Below you may find the message format of opensecurechannelrequest. The request throws an error "Cannot find constructor for expandedId". Can anyone tell me where I am going wrong? Any input is highly appreciated.
Thank You in advance.
With Regards,
Avdoot Chalke
Code: Select all
{ header := {
messageType := 5132367,
chunkType := 70,
messageSize := 132
},
transportMessage := omit,
securityChannelId := 0,
securePolicyUri := {
realArray := {
arrayLength := 47,
arrayValues := { 104, 116, 116, 112, 58, 47, 47, 111, 112, 99, 102, 111, 117, 110, 100, 97, 116, 105, 111, 110, 46, 111, 114, 103, 47, 85, 65, 47, 83, 101, 99, 117, 114, 105, 116, 121, 80, 111, 108, 105, 99, 121, 35, 78, 111, 110, 101}
}
},
senderCertificate := {
nullArray := {
arrayLength := -2147483647
}
},
receiverCertificateThumbprint := {
nullArray := {
arrayLength := -2147483647
}
},
securityTokenId := omit,
sequenceHeader := {
SequenceNumber := 1,
RequestId := 1
},
//Body
{
encodingByte := 1,
namespaceIndex := 0,
nodeValue := 446,
list := {
OpenSecureChannelRequest := {
requestHeader := {
authenticationToken := {
mask := 0,
namespaceUriBit := 0,
serverIndexBit := 0,
reservedBit1 := 0,
reservedBit2 := 0,
IdType := {
twoByte := {
nodeValue := 0
}
}
},
timestamp := 131577074230530000,
requestHandle := 1,
returnDiagnostics := 0,
auditEntryId := {
nullString := {
arrayLength := -2147483647
}
},
timeoutHint := 0,
additionalHeader := {
typeId := {
node := {
mask := 0,
namespaceUriBit := 0,
serverIndexBit := 0,
reservedBit1 := 0,
reservedBit2 := 0,
IdType := {
twoByte := {
nodeValue := 0
}
}
},
namespaceUri := omit,
serverIndex := omit
},
Value := 0
}
},
clientProtocolVersion := 0,
requestType := ISSUE_0 (0),
securityMode := NONE_1 (1),
clientNonce := {
nullByteString := {
arrayLength := -2147483647
}
},
requestedLifetime := 600000
}
}
}