Using existing session to create Session Channel|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Using existing session to create Session Channel
Avatar
Deepali Ahirrao
Member
Members
Forum Posts: 25
Member Since:
08/16/2019
sp_UserOfflineSmall Offline
1
06/01/2020 - 07:01
sp_Permalink sp_Print

Hi,

I had a query on using existing session to create a sessionchannel. Below are the steps -

1. Create securechannel using an endpoint with security mode None. [secureChannel1]
2. Create session.
3. Create SessionChannel using this session and securechannel. [sessionChannel1]
4. Change the endpoint to the one using security mode Sign.
5. Close old securechannel and create new one using this endpoint.[secureChannel2]
6. Create SessionChannel using the old session and new securechannel as below - sessionChannel1.getSession().createSessionChannel(secureChannel2, client)

Is it correct to perform #6 after changing the security mode from None to Sign. I think the endpoint should not be changed in this case. Please confirm.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 32
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855