| 1 |
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.sun.com/JSR172UseCases" xmlns:xsd1="http://www.sun.com/JSR172AppendixA.xsd" targetNamespace="http://www.sun.com/JSR172UseCases" name="JSR172AppendixA"> |
| 2 |
<types> |
| 3 |
<xsd:schema elementFormDefault="qualified" targetNamespace="http://www.sun.com/JSR172AppendixA.xsd" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.sun.com/JSR172AppendixA.xsd"> |
| 4 |
<xsd:complexType name="IntType"> |
| 5 |
<xsd:sequence> |
| 6 |
<xsd:element name="IntVal" type="xsd:int"/> |
| 7 |
</xsd:sequence> |
| 8 |
</xsd:complexType> |
| 9 |
<xsd:complexType name="BooleanType"> |
| 10 |
<xsd:sequence> |
| 11 |
<xsd:element name="RetVal" type="xsd:boolean"/> |
| 12 |
</xsd:sequence> |
| 13 |
</xsd:complexType> |
| 14 |
<xsd:complexType name="NameType"> |
| 15 |
<xsd:sequence> |
| 16 |
<xsd:element name="firstName" nillable="true" type="xsd:string"/> |
| 17 |
<xsd:element name="lastName" nillable="true" type="xsd:string"/> |
| 18 |
</xsd:sequence> |
| 19 |
</xsd:complexType> |
| 20 |
<xsd:complexType name="NameArrayType"> |
| 21 |
<xsd:sequence> |
| 22 |
<xsd:element name="Name" maxOccurs="unbounded" minOccurs="1" nillable="true" type="xsd1:NameType"/> |
| 23 |
</xsd:sequence> |
| 24 |
</xsd:complexType> |
| 25 |
<xsd:complexType name="EmployeeType"> |
| 26 |
<xsd:sequence> |
| 27 |
<xsd:element name="empName" type="xsd1:NameType"/> |
| 28 |
<xsd:element name="empID" type="xsd:int"/> |
| 29 |
</xsd:sequence> |
| 30 |
</xsd:complexType> |
| 31 |
<xsd:complexType name="EmployeeArrayType"> |
| 32 |
<xsd:sequence> |
| 33 |
<xsd:element name="Employee" maxOccurs="unbounded" minOccurs="1" nillable="true" type="xsd1:EmployeeType"/> |
| 34 |
</xsd:sequence> |
| 35 |
</xsd:complexType> |
| 36 |
<xsd:element name="getEmployeeCount" type="xsd1:IntType"/> |
| 37 |
<xsd:element name="getEmployeeCountResponse" type="xsd1:IntType"/> |
| 38 |
<xsd:element name="addGroups"> |
| 39 |
<xsd:complexType> |
| 40 |
<xsd:sequence> |
| 41 |
<xsd:element name="group" maxOccurs="unbounded" minOccurs="1" nillable="true" type="xsd:string"/> |
| 42 |
</xsd:sequence> |
| 43 |
</xsd:complexType> |
| 44 |
</xsd:element> |
| 45 |
<xsd:element name="addGroupsResponse" type="xsd1:BooleanType"/> |
| 46 |
<xsd:element name="isManager" type="xsd1:NameType"/> |
| 47 |
<xsd:element name="isManagerResponse" type="xsd1:BooleanType"/> |
| 48 |
<xsd:element name="promoteEmployee" type="xsd1:EmployeeType"/> |
| 49 |
<xsd:element name="promoteEmployeeResponse" type="xsd1:BooleanType"/> |
| 50 |
<xsd:element name="getEmployees" type="xsd1:NameArrayType"/> |
| 51 |
<xsd:element name="getEmployeesResponse" type="xsd1:EmployeeArrayType"/> |
| 52 |
<xsd:element name="scheduleMtg" type="xsd1:EmployeeArrayType"/> |
| 53 |
<xsd:element name="scheduleMtgResponse" type="xsd1:BooleanType"/> |
| 54 |
</xsd:schema> |
| 55 |
</types> |
| 56 |
<message name="getEmployeeCountReq"> |
| 57 |
<part name="EmpCountReq" element="xsd1:getEmployeeCount"/> |
| 58 |
</message> |
| 59 |
<message name="getEmployeeCountRes"> |
| 60 |
<part name="EmpCountRes" element="xsd1:getEmployeeCountResponse"/> |
| 61 |
</message> |
| 62 |
<message name="addGroupsReq"> |
| 63 |
<part name="AddGroupReq" element="xsd1:addGroups"/> |
| 64 |
</message> |
| 65 |
<message name="addGroupsRes"> |
| 66 |
<part name="AddGroupRes" element="xsd1:addGroupsResponse"/> |
| 67 |
</message> |
| 68 |
<message name="isManagerReq"> |
| 69 |
<part name="ManagerReq" element="xsd1:isManager"/> |
| 70 |
</message> |
| 71 |
<message name="isManagerRes"> |
| 72 |
<part name="ManagerRes" element="xsd1:isManagerResponse"/> |
| 73 |
</message> |
| 74 |
<message name="promoteEmployeeReq"> |
| 75 |
<part name="promoteReq" element="xsd1:promoteEmployee"/> |
| 76 |
</message> |
| 77 |
<message name="promoteEmployeeRes"> |
| 78 |
<part name="promoteRes" element="xsd1:promoteEmployeeResponse"/> |
| 79 |
</message> |
| 80 |
<message name="getEmployeesReq"> |
| 81 |
<part name="employeesReq" element="xsd1:getEmployees"/> |
| 82 |
</message> |
| 83 |
<message name="getEmployeesRes"> |
| 84 |
<part name="employeesRes" element="xsd1:getEmployeesResponse"/> |
| 85 |
</message> |
| 86 |
<message name="scheduleMtgReq"> |
| 87 |
<part name="scheduleReq" element="xsd1:scheduleMtg"/> |
| 88 |
</message> |
| 89 |
<message name="scheduleMtgRes"> |
| 90 |
<part name="scheduleRes" element="xsd1:scheduleMtgResponse"/> |
| 91 |
</message> |
| 92 |
<portType name="EmployeeDBPort"> |
| 93 |
<operation name="getEmployeeCount"> |
| 94 |
<input message="tns:getEmployeeCountReq"/> |
| 95 |
<output message="tns:getEmployeeCountRes"/> |
| 96 |
</operation> |
| 97 |
<operation name="addGroups"> |
| 98 |
<input message="tns:addGroupsReq"/> |
| 99 |
<output message="tns:addGroupsRes"/> |
| 100 |
</operation> |
| 101 |
<operation name="isManager"> |
| 102 |
<input message="tns:isManagerReq"/> |
| 103 |
<output message="tns:isManagerRes"/> |
| 104 |
</operation> |
| 105 |
<operation name="promoteEmployee"> |
| 106 |
<input message="tns:promoteEmployeeReq"/> |
| 107 |
<output message="tns:promoteEmployeeRes"/> |
| 108 |
</operation> |
| 109 |
<operation name="getEmployees"> |
| 110 |
<input message="tns:getEmployeesReq"/> |
| 111 |
<output message="tns:getEmployeesRes"/> |
| 112 |
</operation> |
| 113 |
<operation name="scheduleMtg"> |
| 114 |
<input message="tns:scheduleMtgReq"/> |
| 115 |
<output message="tns:scheduleMtgRes"/> |
| 116 |
</operation> |
| 117 |
</portType> |
| 118 |
<binding name="EmployeeDBBinding" type="tns:EmployeeDBPort"> |
| 119 |
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> |
| 120 |
<operation name="getEmployeeCount"> |
| 121 |
<soap:operation soapAction="http://www.sun.com/JSR172UseCases/getEmployeeCount"/> |
| 122 |
<input> |
| 123 |
<soap:body use="literal"/> |
| 124 |
</input> |
| 125 |
<output> |
| 126 |
<soap:body use="literal"/> |
| 127 |
</output> |
| 128 |
</operation> |
| 129 |
<operation name="addGroups"> |
| 130 |
<soap:operation soapAction="http://www.sun.com/JSR172UseCases/addGroups"/> |
| 131 |
<input> |
| 132 |
<soap:body use="literal"/> |
| 133 |
</input> |
| 134 |
<output> |
| 135 |
<soap:body use="literal"/> |
| 136 |
</output> |
| 137 |
</operation> |
| 138 |
<operation name="isManager"> |
| 139 |
<soap:operation soapAction="http://www.sun.com/JSR172UseCases/isManager"/> |
| 140 |
<input> |
| 141 |
<soap:body use="literal"/> |
| 142 |
</input> |
| 143 |
<output> |
| 144 |
<soap:body use="literal"/> |
| 145 |
</output> |
| 146 |
</operation> |
| 147 |
<operation name="promoteEmployee"> |
| 148 |
<soap:operation soapAction="http://www.sun.com/JSR172UseCases/promoteEmployee"/> |
| 149 |
<input> |
| 150 |
<soap:body use="literal"/> |
| 151 |
</input> |
| 152 |
<output> |
| 153 |
<soap:body use="literal"/> |
| 154 |
</output> |
| 155 |
</operation> |
| 156 |
<operation name="getEmployees"> |
| 157 |
<soap:operation soapAction="http://www.sun.com/JSR172UseCases/getEmployees"/> |
| 158 |
<input> |
| 159 |
<soap:body use="literal"/> |
| 160 |
</input> |
| 161 |
<output> |
| 162 |
<soap:body use="literal"/> |
| 163 |
</output> |
| 164 |
</operation> |
| 165 |
<operation name="scheduleMtg"> |
| 166 |
<soap:operation soapAction="http://www.sun.com/JSR172UseCases/scheduleMtg"/> |
| 167 |
<input> |
| 168 |
<soap:body use="literal"/> |
| 169 |
</input> |
| 170 |
<output> |
| 171 |
<soap:body use="literal"/> |
| 172 |
</output> |
| 173 |
</operation> |
| 174 |
</binding> |
| 175 |
<service name="EmployeeDatabase"> |
| 176 |
<port name="EmployeeDatabase" binding="tns:EmployeeDBBinding"> |
| 177 |
<soap:address location="http://localhost:8080/axis/services/EmployeeDatabase"/> |
| 178 |
</port> |
| 179 |
</service> |
| 180 |
</definitions> |