OPC UA and ROS as a Service

Hello everybody,

i want to write a program which communicates with the OPC UA Cap from Rocketfarm. I also want to include ROS as a service inside the project. Does anyone know if it works together? So that I can write code in ROS and also publish varaiblas with the OPC UA Server function?

With kind regards