Package org.wsdmdemo.service.weatherStationDir

Examples of org.wsdmdemo.service.weatherStationDir.AddWeatherStationDocument


    public void testAddWeatherStation()
    {
        EndpointReferenceDocument weatherStationEprDoc = WEATHER_STATION_2_EPR_DOC;
        //addweatherstation
        AddWeatherStationDocument addWeatherStationDocument = AddWeatherStationDocument.Factory.newInstance();
        org.wsdmdemo.service.weatherStationDir.AddWeatherStationDocument.AddWeatherStation addWeatherStation = addWeatherStationDocument.addNewAddWeatherStation();

        addWeatherStation.setEndpointReference(weatherStationEprDoc.getEndpointReference());
        XmlObject addResponse = InteropRequestUtils.sendRequest(addWeatherStationDocument, "http://wsdmdemo.org/service/weather-station-dir/AddWeatherStation", WEATHER_STATION_DIR_SERVICE_URL);
    }
View Full Code Here

TOP

Related Classes of org.wsdmdemo.service.weatherStationDir.AddWeatherStationDocument

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.