A component or client may instantiate a Soap type delegate manually if they know the url to the endpoint of a community service, but normally it is best to look at the Resolver area. The Resolver classes allows a client to get a delegate via the Registry by using a identifier for a community, or even a community identifier for an account or group.
In the Administratin manager you need to setup a Environment variable or JNDI property for "org.astrogrid.registry.query.endpoint" setting it to a known registry that will have communities (normally a full registry). Or you may place it in a file called astrogrid.properties on your classpath. Jars needed for community as a client:
Here is a brief discussion of the main SOAP delegates on the client (normally for other testing and quicker setup Mock delegates are also supplied):
First a statement that normally delegates are interface classes and normally one SOAP type delegate is used for these interfaces.
policy.manager -- The most commonly used package
PolicyManagerSoapDelegate implements the PolicyManagerDelegate interface in the policy.manager package; hence all a component/user
needs is the interface to the PolicyManagerDelegate to use the others such as Accounts, Groups, etc...
Interfaces:
policy.service
PolicyServiceSoapDelegate implements the PolicyServiceDelegate.
Interfaces:
security.service
SecurityServiceSoapDelegate implements the SecurityServiceDelegate.
Interfaces: