Package axis.org.apache.ws.generated.registry

Examples of axis.org.apache.ws.generated.registry.FindResponse


    * @throws Exception
    */
   public void testFindResourcesByServiceName(  )
   throws Exception
   {
      FindResponse resources = m_stub.findResourcesByServiceName( new FindRequest( "disk" ) );
      Assert.assertNotNull( resources );
      Assert.assertEquals( 4, resources.getItem(  ).length );
   }
View Full Code Here


         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
View Full Code Here

TOP

Related Classes of axis.org.apache.ws.generated.registry.FindResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.