m_registryService = getRegistryService( );
}
// get the registered sensor services
FindRequest findRequest = new FindRequest( SensorWsdmServiceWSResource.PORT_NAME );
FindResponse findResponse = m_registryService.findResourcesByServiceName( findRequest );
EndpointReferenceType[] endpointReferences = findResponse.getItem( );
// subscribe the consumer to all sensor services
for ( int i = 0; i < endpointReferences.length; i++ )
{
// locate the sensor service