Package org.wsdmdemo.service.weatherStation

Examples of org.wsdmdemo.service.weatherStation.RecalibrateDocument$Recalibrate$Factory


        if(station.getName().equals(stationName)){
              //ServiceStub sstub;
           
                ResourceStub sstub = new ResourceStub(station.getEpr());
            sstub.addObserver(messagesJPanel1);           
                RecalibrateDocument recalibrateDocument = RecalibrateDocument.Factory.newInstance();
                recalibrateDocument.addNewRecalibrate();
                sstub.sendRequest(recalibrateDocument,
                                  "http://recalibrate","M");

           
            sstub.deleteObserver(messagesJPanel1);           
View Full Code Here


     * @param xepr
     */
    private void sendRecalibrateRequest(XmlBeansEndpointReference xepr)
    {
        ResourceStub sstub = new ResourceStub(xepr);
        RecalibrateDocument recalibrateDocument = RecalibrateDocument.Factory.newInstance();
        recalibrateDocument.addNewRecalibrate();
        sstub.sendRequest(recalibrateDocument,
                          "http://recalibrate");
    }
View Full Code Here

        getResourcePropertyDocument.setGetResourceProperty(WeatherStationPropertyQNames.OPERATIONALSTATUS);
        getResp = InteropRequestUtils.sendRequest(getResourcePropertyDocument, "http://wsdmdemo.org/service/weather-station-dir/GetResourceProperties", new XmlBeansEndpointReference(weatherStationEprDoc.getEndpointReference()));
        //todo check avail

        //recalibrate ws1
        RecalibrateDocument recalibrateDocument = RecalibrateDocument.Factory.newInstance();
        org.wsdmdemo.service.weatherStation.RecalibrateDocument.Recalibrate recalibrate = recalibrateDocument.addNewRecalibrate();
        XmlObject recalibResponse = InteropRequestUtils.sendRequest(recalibrateDocument, "http://wsdmdemo.org/service/weather-station-dir/Recalibrate", new XmlBeansEndpointReference(weatherStationEprDoc.getEndpointReference()));
        //todo assert not fault

        //check the OpStatus prop is PartiallyAvail .....also need to check notif
        getResourcePropertyDocument = GetResourcePropertyDocument.Factory.newInstance();
View Full Code Here

TOP

Related Classes of org.wsdmdemo.service.weatherStation.RecalibrateDocument$Recalibrate$Factory

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.