Thank you Colm Gavin, now this program ran. But I still don´t have the results that I would like to see. Could you please help me with the Agent Instance configuration ?
We don´t have PCo custom agents here, I am using just the standard objects of PCo, taking into account that we don´t have Visual Studio, we don´t have a source repository for new code sources in .NET, I cannot use custom agents for PCo.
Instead of using custom agents for PCo we prefer to use custom action (java) in SAP MII. But we are believing that a standard agent instance with a socket source could query a weighing scale, so I am trying to use PCo.
In our scenário, just ECC will call PCo, so I don´t need Subscription Items, isn't ?
I am sending some screens with our configurations, and I will be very pleased if you or someone else could help me.