Access to a private member of the base class

To avoid “duplicate Public name…” errors, i moved the %INCLUDE “lsxsd.lss” line from web service consumers to a library.The classes in the include file are public so they are reachable by the consumer. But then it fails on a private member of such a public class: “Variable not declared: Service”.

I thought a private member would be ‘private to the class’ (not ‘private to the module’) and therefore also private to derived classes.

Is this a wrong idea?

Is there another way to address such a private member of the base class?

Or… is there another way to avoid those “Duplicate Public name” errors? I have been moving around with “USE” statements to nest libraries into each other but didn’t find a good setup. Esp. when a library needs two service cosumers, i don’t see a solution.

Thanks for any suggestions

Roel

Subject: found it

I think i found it. The issue was not caused by the fact that i moved it to a library but i moved it to a library which was not a consumer. The include file had:%If WEB_SERVICE_CONSUMER_SCRIPTLIB

Public Class PortTypeBase

so the portion of the file was not inculed in a normal library