<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://Grass_Fire_SpreadSimulation.grass.ws.laits.gmu.edu" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://Grass_Fire_SpreadSimulation.grass.ws.laits.gmu.edu" xmlns:intf="http://Grass_Fire_SpreadSimulation.grass.ws.laits.gmu.edu" xmlns:tns1="http://grass.ws.laits.gmu.edu" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	 <wsdl:types>

		  <schema elementFormDefault="qualified" targetNamespace="http://Grass_Fire_SpreadSimulation.grass.ws.laits.gmu.edu" xmlns="http://www.w3.org/2001/XMLSchema">

			<!-- ELEMENTS -->

			   <element name="FireSpreadElement">

				    <annotation>

					     <documentation xml:lang="en">

            Name of the element to describe input parameters.
                         </documentation>

				    </annotation>

				    <complexType>

					     <sequence>

						      <element minOccurs="1" name="fuelModelURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing fuel MODELs. Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="1" name="deadFuelMoistureURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing dead fuel MOISTURE (%). Default data format is GeoTIFF. At least one of the 1-h, 10-h, 100-h moisture layers is required
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="1" name="liveFuelMoistureURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing LIVE fuel MOISTURE (%). Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="0" name="wind_velocityURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing midflame wind VELOCITYs (ft/min). Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="0" name="wind_directionURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing wind DIRECTIONs (degree). Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="0" name="slopeURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map raster map containing SLOPE (degree). Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="0" name="aspectURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing ASPECT (degree, anti-clockwise from E). Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="1" name="elevationURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing ELEVATION (m) (required w/ -s). Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

						      <element minOccurs="1" name="startSourcesURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of raster map containing STARTing sources (Fire origin). Default data format is GeoTIFF.
                                        </documentation>

							       </annotation>

						      </element>

					     </sequence>

				    </complexType>

			   </element>

			   <element name="FireSpreadResponse">

				    <annotation>

					     <documentation xml:lang="en">

            Return URL and Format of output raster map.
                         </documentation>

				    </annotation>

				    <complexType>

					     <sequence>

						      <element name="firespreadReturnURL" type="xsd:anyURI">

							       <annotation>

								        <documentation xml:lang="en">

                        URL of output map showing 1) the base (perpendicular) rate of spread (ROS), 2) the cumulative spread time needed for a phenomenon to reach each cell from the starting sources (minutes), and 3)  the least cost path backwards to cells from which the cumulative cost was determined.
                                        </documentation>

							       </annotation>

						      </element>

						      <element name="firespreadReturnFormat" type="xsd:string">

							       <annotation>

								        <documentation xml:lang="en">

                        Format of output map. Default data format is image/PNG.
                                        </documentation>

							       </annotation>

						      </element>

					     </sequence>

				    </complexType>

			   </element>

		  </schema>

	 </wsdl:types>

	 <wsdl:message name="firespreadResponse">

		  <wsdl:part element="impl:FireSpreadResponse" name="return"/>

	 </wsdl:message>

	 <wsdl:message name="firespreadRequest">

		  <wsdl:part element="impl:FireSpreadElement" name="parameters"/>

	 </wsdl:message>

	 <wsdl:portType name="Grass_Fire_SpreadSimulationPortType">

		  <wsdl:operation name="firespread">

			   <wsdl:input message="impl:firespreadRequest" name="firespreadRequest">

       </wsdl:input>

			   <wsdl:output message="impl:firespreadResponse" name="firespreadResponse">

       </wsdl:output>

		  </wsdl:operation>

	 </wsdl:portType>

	 <wsdl:binding name="Grass_Fire_SpreadSimulationSoapBinding" type="impl:Grass_Fire_SpreadSimulationPortType">

		  <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

		  <wsdl:operation name="firespread">

			   <wsdl:documentation>
Simulates elliptically anisotropic spread and generates a map containing the base (perpendicular) rate of spread (ROS),  the cumulative spread time needed for a phenomenon to reach each cell from the starting sources (minutes), the least cost path backwards to cells from which the cumulative cost was determined.   </wsdl:documentation>

			   <wsdlsoap:operation soapAction="firespread" style="document"/>

			   <wsdl:input>

				    <wsdlsoap:body use="literal"/>

			   </wsdl:input>

			   <wsdl:output>

				    <wsdlsoap:body use="literal"/>

			   </wsdl:output>

		  </wsdl:operation>

	 </wsdl:binding>

	 <wsdl:service name="Grass_Fire_SpreadSimulationService">

		  <wsdl:documentation>
Simulate the spread of wildfires.  </wsdl:documentation>

		  <wsdl:port binding="impl:Grass_Fire_SpreadSimulationSoapBinding" name="Grass_Fire_SpreadSimulation">

			   <wsdlsoap:address location="http://geobrain.laits.gmu.edu:8099/axis/services/Grass_Fire_SpreadSimulation"/>

		  </wsdl:port>

	 </wsdl:service>

</wsdl:definitions>
