Package axis.com.probe.service.sensor

Examples of axis.com.probe.service.sensor.SensorWsdmServiceLocator


   private SensorSoapHttpBindingStub getSensorService( EndpointReferenceType endpointReferenceType )
   throws ServiceException,
          MalformedURLException
   {
      URL                       sensorUrl     = new URL( endpointReferenceType.getAddress(  ).toString(  ) );
      SensorWsdmServiceLocator  sensorLocator = new SensorWsdmServiceLocator(  );
      SensorSoapHttpBindingStub sensorStub    = (SensorSoapHttpBindingStub) sensorLocator.getsensor( sensorUrl );

      sensorStub.setResourceId( AddressingUtils.getResourceId( endpointReferenceType.getProperties(  ) ) );

      return sensorStub;
   }
View Full Code Here


    * @throws ServiceException if failed to find the service
    */
   protected SensorSoapHttpBindingStub getSensorService( String sensorId )
   throws ServiceException
   {
      SensorWsdmServiceLocator  locator = new SensorWsdmServiceLocator(  );
      SensorSoapHttpBindingStub stub = (SensorSoapHttpBindingStub) locator.getsensor( getSensorUrl(  ) );

      stub.setResourceId( sensorId );

      return stub;
   }
View Full Code Here

TOP

Related Classes of axis.com.probe.service.sensor.SensorWsdmServiceLocator

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.