org.wsdmdemo.service.weatherStation.HumidityDocument prop_humidity = org.wsdmdemo.service.weatherStation.HumidityDocument.Factory.newInstance();
org.wsdmdemo.service.weatherStation.HumidityMetricType humidityMetricType = prop_humidity.addNewHumidity();
humidityMetricType.setDoubleValue(InteropConstants.DEFAULT_HUMIDITY);
humidityMetricType.setResetAt(resetAt);
resourceProperty.add(prop_humidity);
resourceProperty.setCallback(new HumidityCallback());
// init the {http://wsdmdemo.org/service/weather-station}Price Resource Property
resourceProperty = resourcePropertySet.get(WeatherStationPropertyQNames.PRICE);
org.wsdmdemo.service.weatherStation.PriceDocument prop_price = org.wsdmdemo.service.weatherStation.PriceDocument.Factory.newInstance();
prop_price.setPrice(InteropConstants.PRICE);