[1390] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <wsdl:definitions name="DummyService" targetNamespace="DummyService" xmlns:iat="DummyService" xmlns:tns="DummyService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
---|
| 3 | <wsdl:types>
|
---|
| 4 | <xs:schema targetNamespace="DummyService" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iat="DummyService" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
---|
| 5 | <xs:simpleType name="UserName">
|
---|
| 6 | <xs:restriction base="xs:string"/>
|
---|
| 7 | </xs:simpleType>
|
---|
| 8 | <xs:simpleType name="UserEmailAddress">
|
---|
| 9 | <xs:restriction base="xs:string">
|
---|
| 10 | <xs:pattern value="^([0-9a-zA-Z]([\-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][\-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$"/>
|
---|
| 11 | </xs:restriction>
|
---|
| 12 | </xs:simpleType>
|
---|
| 13 | <xs:simpleType name="UserFullName">
|
---|
| 14 | <xs:restriction base="xs:string"/>
|
---|
| 15 | </xs:simpleType>
|
---|
| 16 | <xs:simpleType name="UserPassword">
|
---|
| 17 | <xs:restriction base="xs:string"/>
|
---|
| 18 | </xs:simpleType>
|
---|
| 19 | <xs:simpleType name="DeclineMsg">
|
---|
| 20 | <xs:restriction base="xs:string"/>
|
---|
| 21 | </xs:simpleType>
|
---|
| 22 | <xs:simpleType name="SynStatus">
|
---|
| 23 | <xs:restriction base="xs:NCName">
|
---|
| 24 | <xs:enumeration value="done"/>
|
---|
| 25 | <xs:enumeration value="decline"/>
|
---|
| 26 | <xs:enumeration value="drop"/>
|
---|
| 27 | <xs:enumeration value="fail"/>
|
---|
| 28 | </xs:restriction>
|
---|
| 29 | </xs:simpleType>
|
---|
| 30 | <xs:simpleType name="BasicStatus">
|
---|
| 31 | <xs:restriction base="xs:NCName">
|
---|
| 32 | <xs:enumeration value="done"/>
|
---|
| 33 | <xs:enumeration value="drop"/>
|
---|
| 34 | <xs:enumeration value="fail"/>
|
---|
| 35 | </xs:restriction>
|
---|
| 36 | </xs:simpleType>
|
---|
| 37 |
|
---|
| 38 | <xs:complexType name="UserInfo">
|
---|
| 39 | <xs:sequence>
|
---|
| 40 | <xs:element name="username" type="iat:UserName"/>
|
---|
| 41 | <xs:element name="fullname" type="iat:UserFullName"/>
|
---|
| 42 | <xs:element name="email" type="iat:UserEmailAddress"/>
|
---|
| 43 | <xs:element name="isAdmin" type="xs:boolean"/>
|
---|
| 44 | </xs:sequence>
|
---|
| 45 | </xs:complexType>
|
---|
| 46 |
|
---|
| 47 | <xs:complexType name="ListOfUserInfos">
|
---|
| 48 | <xs:sequence>
|
---|
| 49 | <xs:element name="user" type="iat:UserInfo" minOccurs="0" maxOccurs="unbounded"/>
|
---|
| 50 | </xs:sequence>
|
---|
| 51 | </xs:complexType>
|
---|
| 52 |
|
---|
| 53 | <xs:element name="CreateUserIn" type="iat:CreateUserInMsgType"/>
|
---|
| 54 | <xs:complexType name="CreateUserInMsgType">
|
---|
| 55 | <xs:sequence>
|
---|
| 56 | <xs:element name="userFullName" type="iat:UserFullName"/>
|
---|
| 57 | <xs:element name="userEmail" type="iat:UserEmailAddress"/>
|
---|
| 58 | <xs:element name="username" type="iat:UserName"/>
|
---|
| 59 | <xs:element name="pwd" type="iat:UserPassword"/>
|
---|
| 60 | </xs:sequence>
|
---|
| 61 | </xs:complexType>
|
---|
| 62 |
|
---|
| 63 | <xs:element name="CreateUserOut" type="iat:CreateUserOutMsgType"/>
|
---|
| 64 | <xs:complexType name="CreateUserOutMsgType">
|
---|
| 65 | <xs:sequence>
|
---|
| 66 | <xs:element name="status" type="iat:SynStatus"/>
|
---|
| 67 | <xs:element name="msg" type="iat:DeclineMsg" minOccurs="0"/>
|
---|
| 68 | </xs:sequence>
|
---|
| 69 | </xs:complexType>
|
---|
| 70 |
|
---|
| 71 | <xs:element name="DeleteUserIn" type="iat:DeleteUserInMsgType"/>
|
---|
| 72 | <xs:complexType name="DeleteUserInMsgType">
|
---|
| 73 | <xs:sequence>
|
---|
| 74 | <xs:element name="username" type="iat:UserName"/>
|
---|
| 75 | </xs:sequence>
|
---|
| 76 | </xs:complexType>
|
---|
| 77 |
|
---|
| 78 | <xs:element name="DeleteUserOut" type="iat:DeleteUserOutMsgType"/>
|
---|
| 79 | <xs:complexType name="DeleteUserOutMsgType">
|
---|
| 80 | <xs:sequence>
|
---|
| 81 | <xs:element name="status" type="iat:SynStatus"/>
|
---|
| 82 | <xs:element name="msg" type="iat:DeclineMsg" minOccurs="0"/>
|
---|
| 83 | </xs:sequence>
|
---|
| 84 | </xs:complexType>
|
---|
| 85 |
|
---|
| 86 | <xs:element name="ListUsersIn" type="iat:ListUsersInMsgType"/>
|
---|
| 87 | <xs:complexType name="ListUsersInMsgType">
|
---|
| 88 | <xs:sequence/>
|
---|
| 89 | </xs:complexType>
|
---|
| 90 |
|
---|
| 91 | <xs:element name="ListUsersOut" type="iat:ListUsersOutMsgType"/>
|
---|
| 92 | <xs:complexType name="ListUsersOutMsgType">
|
---|
| 93 | <xs:sequence>
|
---|
| 94 | <xs:element name="userInfos" type="iat:ListOfUserInfos" />
|
---|
| 95 | <xs:element name="status" type="iat:BasicStatus"/>
|
---|
| 96 | <xs:element name="msg" type="iat:DeclineMsg" minOccurs="0"/>
|
---|
| 97 | </xs:sequence>
|
---|
| 98 | </xs:complexType>
|
---|
| 99 |
|
---|
| 100 | <xs:element name="VerifyUserIn" type="iat:VerifyUserInMsgType"/>
|
---|
| 101 | <xs:complexType name="VerifyUserInMsgType">
|
---|
| 102 | <xs:sequence>
|
---|
| 103 | <xs:element name="username" type="iat:UserName"/>
|
---|
| 104 | <xs:element name="pwd" type="iat:UserPassword"/>
|
---|
| 105 | </xs:sequence>
|
---|
| 106 | </xs:complexType>
|
---|
| 107 |
|
---|
| 108 | <xs:element name="VerifyUserOut" type="iat:VerifyUserOutMsgType"/>
|
---|
| 109 | <xs:complexType name="VerifyUserOutMsgType">
|
---|
| 110 | <xs:sequence>
|
---|
| 111 | <xs:element name="status" type="iat:SynStatus"/>
|
---|
| 112 | <xs:element name="msg" type="iat:DeclineMsg" minOccurs="0"/>
|
---|
| 113 | <xs:element name="userInfo" type="iat:UserInfo" minOccurs="0"/>
|
---|
| 114 | </xs:sequence>
|
---|
| 115 | </xs:complexType>
|
---|
| 116 |
|
---|
| 117 | </xs:schema>
|
---|
| 118 | </wsdl:types>
|
---|
| 119 |
|
---|
| 120 | <wsdl:message name="CreateUserInMsg">
|
---|
| 121 | <wsdl:part name="content" element="iat:CreateUserIn"/>
|
---|
| 122 | </wsdl:message>
|
---|
| 123 | <wsdl:message name="CreateUserOutMsg">
|
---|
| 124 | <wsdl:part name="content" element="iat:CreateUserOut"/>
|
---|
| 125 | </wsdl:message>
|
---|
| 126 |
|
---|
| 127 | <wsdl:message name="DeleteUserInMsg">
|
---|
| 128 | <wsdl:part name="content" element="iat:DeleteUserIn"/>
|
---|
| 129 | </wsdl:message>
|
---|
| 130 | <wsdl:message name="DeleteUserOutMsg">
|
---|
| 131 | <wsdl:part name="content" element="iat:DeleteUserOut"/>
|
---|
| 132 | </wsdl:message>
|
---|
| 133 |
|
---|
| 134 | <wsdl:message name="ListUsersInMsg">
|
---|
| 135 | <wsdl:part name="content" element="iat:ListUsersIn"/>
|
---|
| 136 | </wsdl:message>
|
---|
| 137 | <wsdl:message name="ListUsersOutMsg">
|
---|
| 138 | <wsdl:part name="content" element="iat:ListUsersOut"/>
|
---|
| 139 | </wsdl:message>
|
---|
| 140 |
|
---|
| 141 | <wsdl:message name="VerifyUserInMsg">
|
---|
| 142 | <wsdl:part name="content" element="iat:VerifyUserIn"/>
|
---|
| 143 | </wsdl:message>
|
---|
| 144 | <wsdl:message name="VerifyUserOutMsg">
|
---|
| 145 | <wsdl:part name="content" element="iat:VerifyUserOut"/>
|
---|
| 146 | </wsdl:message>
|
---|
| 147 |
|
---|
| 148 | <wsdl:portType name="DummyServicePortType">
|
---|
| 149 | <wsdl:operation name="createUser">
|
---|
| 150 | <wsdl:input name="CreateUserInMsg" message="tns:CreateUserInMsg"/>
|
---|
| 151 | <wsdl:output name="CreateUserOutMsg" message="tns:CreateUserOutMsg"/>
|
---|
| 152 | </wsdl:operation>
|
---|
| 153 | <wsdl:operation name="deleteUser">
|
---|
| 154 | <wsdl:input name="DeleteUserInMsg" message="tns:DeleteUserInMsg"/>
|
---|
| 155 | <wsdl:output name="DeleteUserOutMsg" message="tns:DeleteUserOutMsg"/>
|
---|
| 156 | </wsdl:operation>
|
---|
| 157 | <wsdl:operation name="listUsers">
|
---|
| 158 | <wsdl:input name="ListUsersInMsg" message="tns:ListUsersInMsg"/>
|
---|
| 159 | <wsdl:output name="ListUsersOutMsg" message="tns:ListUsersOutMsg"/>
|
---|
| 160 | </wsdl:operation>
|
---|
| 161 | <wsdl:operation name="verifyUser">
|
---|
| 162 | <wsdl:input name="VerifyUserInMsg" message="tns:VerifyUserInMsg"/>
|
---|
| 163 | <wsdl:output name="VerifyUserOutMsg" message="tns:VerifyUserOutMsg"/>
|
---|
| 164 | </wsdl:operation>
|
---|
| 165 | </wsdl:portType>
|
---|
| 166 |
|
---|
| 167 | <wsdl:binding name="DummyServiceSOAPBinding" type="tns:DummyServicePortType">
|
---|
| 168 | <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
---|
| 169 | <wsdl:operation name="createUser">
|
---|
| 170 | <soap:operation style="document"/>
|
---|
| 171 | <wsdl:input name="CreateUserInMsg">
|
---|
| 172 | <soap:body use="literal"/>
|
---|
| 173 | </wsdl:input>
|
---|
| 174 | <wsdl:output name="CreateUserOutMsg">
|
---|
| 175 | <soap:body use="literal"/>
|
---|
| 176 | </wsdl:output>
|
---|
| 177 | </wsdl:operation>
|
---|
| 178 | <wsdl:operation name="deleteUser">
|
---|
| 179 | <soap:operation style="document"/>
|
---|
| 180 | <wsdl:input name="DeleteUserInMsg">
|
---|
| 181 | <soap:body use="literal"/>
|
---|
| 182 | </wsdl:input>
|
---|
| 183 | <wsdl:output name="DeleteUserOutMsg">
|
---|
| 184 | <soap:body use="literal"/>
|
---|
| 185 | </wsdl:output>
|
---|
| 186 | </wsdl:operation>
|
---|
| 187 | <wsdl:operation name="listUsers">
|
---|
| 188 | <soap:operation style="document"/>
|
---|
| 189 | <wsdl:input name="ListUsersInMsg">
|
---|
| 190 | <soap:body use="literal"/>
|
---|
| 191 | </wsdl:input>
|
---|
| 192 | <wsdl:output name="ListUsersOutMsg">
|
---|
| 193 | <soap:body use="literal"/>
|
---|
| 194 | </wsdl:output>
|
---|
| 195 | </wsdl:operation>
|
---|
| 196 | <wsdl:operation name="verifyUser">
|
---|
| 197 | <soap:operation style="document"/>
|
---|
| 198 | <wsdl:input name="VerifyUserInMsg">
|
---|
| 199 | <soap:body use="literal"/>
|
---|
| 200 | </wsdl:input>
|
---|
| 201 | <wsdl:output name="VerifyUserOutMsg">
|
---|
| 202 | <soap:body use="literal"/>
|
---|
| 203 | </wsdl:output>
|
---|
| 204 | </wsdl:operation>
|
---|
| 205 | </wsdl:binding>
|
---|
| 206 |
|
---|
| 207 | <wsdl:service name="DummyService">
|
---|
| 208 | <wsdl:port name="DummyServiceSOAPPort" binding="tns:DummyServiceSOAPBinding">
|
---|
| 209 | <soap:address location="DummyServiceSOAPPort"/>
|
---|
| 210 | </wsdl:port>
|
---|
| 211 | </wsdl:service>
|
---|
| 212 | </wsdl:definitions>
|
---|