3:54, EET
November 19, 2018
Good morning.
First of all, sorry but I am a novice in all that relates to OPC servers and connections.
I’m trying to connect to Matrikon OPC Server that I have installed and running in a virtual machine, and the same try to connect from the Java SDK against Matrikon server, but i can not.
The next example code (seemingly simple), returns next error on line “client.connect()”: “Failed to retrieve endpoints The server is not available. Opc.tcp: // localhost: 4841 ServiceResult = Bad_ConnectionRejected (0x80AC0000)” Could not Establish a network connection to remote server. “
Could you help to establish the connection via OPC-UA? On the other hand, is it possible other type of connection to a server using OPC UA, like HTTP SOAP requests, insted “opc.tcp”?
Thank you.
10:37, EET
April 17, 2013
Hi,
It’s not possible to directly connect OPC UA applications and older OPC Classic applications without using a separate gateway application.
I would recommend starting by using some general purpose test applications and figuring out the basics before trying more advanced configurations. As an example, please take a look at Prosys OPC UA Simulation Server (https://prosysopc.com/products/opc-ua-simulation-server/) which offers an intuitive graphical interface for managing the example server application.
The TCP based binary encoded transport (opc.tcp) is the one that all OPC UA applications support. Practically speaking this is the transport mechanism that you should be concentrating on. The OPC UA specification does define also other mechanisms such as HTTPS based transport and the nowadays deprecated transport mapping to SOAP messages. But these are used very rarely.
Most Users Ever Online: 1919
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 730
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech KubalaModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1