<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://tempuri.org/TimeManagerWeb/TimeManagerWeb" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/TimeManagerWeb/TimeManagerWeb" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/TimeManagerWeb/TimeManagerWeb">
      <s:element name="SaveHourObj">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="obj" type="s0:tmHours" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="tmHours">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="ProjectName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="hours" type="s:float" />
          <s:element minOccurs="1" maxOccurs="1" name="startDate" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="endDate" type="s:dateTime" />
          <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="SaveHourObjResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="SaveHourObjResult" type="s:boolean" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SaveHourArrayList">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="startDate" type="s:dateTime" />
            <s:element minOccurs="1" maxOccurs="1" name="endDate" type="s:dateTime" />
            <s:element minOccurs="0" maxOccurs="1" name="objCol" type="s0:ArrayOfAnyType" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfAnyType">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="anyType" nillable="true" />
        </s:sequence>
      </s:complexType>
      <s:element name="SaveHourArrayListResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="SaveHourArrayListResult" type="s:boolean" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="TestConnection">
        <s:complexType />
      </s:element>
      <s:element name="TestConnectionResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="TestConnectionResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="Login">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="tmUser2">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="nameLast" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="nameFirst" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="admin" type="s:boolean" />
        </s:sequence>
      </s:complexType>
      <s:element name="LoginResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="LoginResult" type="s0:tmUser2" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetAllProjects">
        <s:complexType />
      </s:element>
      <s:complexType name="Project">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="ProjectName" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfProject">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Project" nillable="true" type="s0:Project" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetAllProjectsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetAllProjectsResult" type="s0:ArrayOfProject" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="AddProject">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ProjectObj" type="s0:Project" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="AddProjectResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="AddProjectResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="ProjectObj" type="s0:Project" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetAllUsers">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="obj" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetAllUsersResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="GetAllUsersResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="obj" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </types>
  <message name="SaveHourObjSoapIn">
    <part name="parameters" element="s0:SaveHourObj" />
  </message>
  <message name="SaveHourObjSoapOut">
    <part name="parameters" element="s0:SaveHourObjResponse" />
  </message>
  <message name="SaveHourArrayListSoapIn">
    <part name="parameters" element="s0:SaveHourArrayList" />
  </message>
  <message name="SaveHourArrayListSoapOut">
    <part name="parameters" element="s0:SaveHourArrayListResponse" />
  </message>
  <message name="TestConnectionSoapIn">
    <part name="parameters" element="s0:TestConnection" />
  </message>
  <message name="TestConnectionSoapOut">
    <part name="parameters" element="s0:TestConnectionResponse" />
  </message>
  <message name="LoginSoapIn">
    <part name="parameters" element="s0:Login" />
  </message>
  <message name="LoginSoapOut">
    <part name="parameters" element="s0:LoginResponse" />
  </message>
  <message name="GetAllProjectsSoapIn">
    <part name="parameters" element="s0:GetAllProjects" />
  </message>
  <message name="GetAllProjectsSoapOut">
    <part name="parameters" element="s0:GetAllProjectsResponse" />
  </message>
  <message name="AddProjectSoapIn">
    <part name="parameters" element="s0:AddProject" />
  </message>
  <message name="AddProjectSoapOut">
    <part name="parameters" element="s0:AddProjectResponse" />
  </message>
  <message name="GetAllUsersSoapIn">
    <part name="parameters" element="s0:GetAllUsers" />
  </message>
  <message name="GetAllUsersSoapOut">
    <part name="parameters" element="s0:GetAllUsersResponse" />
  </message>
  <portType name="TimeManagerWebSoap">
    <operation name="SaveHourObj">
      <documentation>Save an individual hour record</documentation>
      <input message="s0:SaveHourObjSoapIn" />
      <output message="s0:SaveHourObjSoapOut" />
    </operation>
    <operation name="SaveHourArrayList">
      <documentation>Saves all the Hour objects in an array list.</documentation>
      <input message="s0:SaveHourArrayListSoapIn" />
      <output message="s0:SaveHourArrayListSoapOut" />
    </operation>
    <operation name="TestConnection">
      <documentation>Tests the database connection settings.  True indicates that a successful connection was made.  False indicates there was an error opening the connection.</documentation>
      <input message="s0:TestConnectionSoapIn" />
      <output message="s0:TestConnectionSoapOut" />
    </operation>
    <operation name="Login">
      <documentation>Login will return a user object given a userId and a password.  If the userId and password do not match a user in the database, nothing will be returned.</documentation>
      <input message="s0:LoginSoapIn" />
      <output message="s0:LoginSoapOut" />
    </operation>
    <operation name="GetAllProjects">
      <documentation>Returns a string array containing a list of the projects.</documentation>
      <input message="s0:GetAllProjectsSoapIn" />
      <output message="s0:GetAllProjectsSoapOut" />
    </operation>
    <operation name="AddProject">
      <documentation>Adds a new project to the project table</documentation>
      <input message="s0:AddProjectSoapIn" />
      <output message="s0:AddProjectSoapOut" />
    </operation>
    <operation name="GetAllUsers">
      <documentation>Returns an array containing all of the users</documentation>
      <input message="s0:GetAllUsersSoapIn" />
      <output message="s0:GetAllUsersSoapOut" />
    </operation>
  </portType>
  <binding name="TimeManagerWebSoap" type="s0:TimeManagerWebSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="SaveHourObj">
      <soap:operation soapAction="http://tempuri.org/TimeManagerWeb/TimeManagerWeb/SaveHourObj" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="SaveHourArrayList">
      <soap:operation soapAction="http://tempuri.org/TimeManagerWeb/TimeManagerWeb/SaveHourArrayList" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="TestConnection">
      <soap:operation soapAction="http://tempuri.org/TimeManagerWeb/TimeManagerWeb/TestConnection" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="Login">
      <soap:operation soapAction="http://tempuri.org/TimeManagerWeb/TimeManagerWeb/Login" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="GetAllProjects">
      <soap:operation soapAction="http://tempuri.org/TimeManagerWeb/TimeManagerWeb/GetAllProjects" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="AddProject">
      <soap:operation soapAction="http://tempuri.org/TimeManagerWeb/TimeManagerWeb/AddProject" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="GetAllUsers">
      <soap:operation soapAction="http://tempuri.org/TimeManagerWeb/TimeManagerWeb/GetAllUsers" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
  </binding>
  <service name="TimeManagerWeb">
    <port name="TimeManagerWebSoap" binding="s0:TimeManagerWebSoap">
      <soap:address location="http://localhost/TimeManagerWeb/TimeManagerWeb.asmx" />
    </port>
  </service>
</definitions>