|
| 1 | +<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.msaidara.product/service" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="ProductService" targetNamespace="http://www.msaidara.product/service"> |
| 2 | + <wsdl:types> |
| 3 | +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.msaidara.product/service" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.msaidara.product/service"> |
| 4 | + <xs:element name="addProduct" type="tns:addProduct"/> |
| 5 | + <xs:element name="addProductResponse" type="tns:addProductResponse"/> |
| 6 | + <xs:element name="deleteProduct" type="tns:deleteProduct"/> |
| 7 | + <xs:element name="deleteProductResponse" type="tns:deleteProductResponse"/> |
| 8 | + <xs:element name="getAllProductByPrice" type="tns:getAllProductByPrice"/> |
| 9 | + <xs:element name="getAllProductByPriceResponse" type="tns:getAllProductByPriceResponse"/> |
| 10 | + <xs:element name="getProductById" type="tns:getProductById"/> |
| 11 | + <xs:element name="getProductByIdResponse" type="tns:getProductByIdResponse"/> |
| 12 | + <xs:element name="inProduct" type="tns:InProduct"/> |
| 13 | + <xs:element name="outProduct" type="tns:OutProduct"/> |
| 14 | + <xs:element name="searchProduct" type="tns:searchProduct"/> |
| 15 | + <xs:element name="searchProductResponse" type="tns:searchProductResponse"/> |
| 16 | + <xs:element name="updateProduct" type="tns:updateProduct"/> |
| 17 | + <xs:element name="updateProductResponse" type="tns:updateProductResponse"/> |
| 18 | + <xs:complexType name="searchProduct"> |
| 19 | + <xs:sequence> |
| 20 | + <xs:element minOccurs="0" name="arg0" type="xs:string"/> |
| 21 | + </xs:sequence> |
| 22 | + </xs:complexType> |
| 23 | + <xs:complexType name="searchProductResponse"> |
| 24 | + <xs:sequence> |
| 25 | + <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:OutProduct"/> |
| 26 | + </xs:sequence> |
| 27 | + </xs:complexType> |
| 28 | + <xs:complexType name="OutProduct"> |
| 29 | + <xs:sequence> |
| 30 | + <xs:element name="id" type="xs:int"/> |
| 31 | + <xs:element minOccurs="0" name="name" type="xs:string"/> |
| 32 | + <xs:element name="price" type="xs:double"/> |
| 33 | + </xs:sequence> |
| 34 | + </xs:complexType> |
| 35 | + <xs:complexType name="deleteProduct"> |
| 36 | + <xs:sequence> |
| 37 | + <xs:element minOccurs="0" name="arg0" type="tns:InProduct"/> |
| 38 | + </xs:sequence> |
| 39 | + </xs:complexType> |
| 40 | + <xs:complexType name="InProduct"> |
| 41 | + <xs:sequence> |
| 42 | + <xs:element name="id" type="xs:int"/> |
| 43 | + <xs:element minOccurs="0" name="name" type="xs:string"/> |
| 44 | + <xs:element name="price" type="xs:double"/> |
| 45 | + </xs:sequence> |
| 46 | + </xs:complexType> |
| 47 | + <xs:complexType name="deleteProductResponse"> |
| 48 | + <xs:sequence> |
| 49 | + <xs:element name="return" type="xs:boolean"/> |
| 50 | + </xs:sequence> |
| 51 | + </xs:complexType> |
| 52 | + <xs:complexType name="getProductById"> |
| 53 | + <xs:sequence> |
| 54 | + <xs:element name="arg0" type="xs:int"/> |
| 55 | + </xs:sequence> |
| 56 | + </xs:complexType> |
| 57 | + <xs:complexType name="getProductByIdResponse"> |
| 58 | + <xs:sequence> |
| 59 | + <xs:element minOccurs="0" name="return" type="tns:OutProduct"/> |
| 60 | + </xs:sequence> |
| 61 | + </xs:complexType> |
| 62 | + <xs:complexType name="getAllProductByPrice"> |
| 63 | + <xs:sequence> |
| 64 | + <xs:element name="arg0" type="xs:double"/> |
| 65 | + </xs:sequence> |
| 66 | + </xs:complexType> |
| 67 | + <xs:complexType name="getAllProductByPriceResponse"> |
| 68 | + <xs:sequence> |
| 69 | + <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:OutProduct"/> |
| 70 | + </xs:sequence> |
| 71 | + </xs:complexType> |
| 72 | + <xs:complexType name="addProduct"> |
| 73 | + <xs:sequence> |
| 74 | + <xs:element minOccurs="0" name="arg0" type="tns:InProduct"/> |
| 75 | + </xs:sequence> |
| 76 | + </xs:complexType> |
| 77 | + <xs:complexType name="addProductResponse"> |
| 78 | + <xs:sequence> |
| 79 | + <xs:element name="return" type="xs:boolean"/> |
| 80 | + </xs:sequence> |
| 81 | + </xs:complexType> |
| 82 | + <xs:complexType name="updateProduct"> |
| 83 | + <xs:sequence> |
| 84 | + <xs:element minOccurs="0" name="arg0" type="tns:InProduct"/> |
| 85 | + </xs:sequence> |
| 86 | + </xs:complexType> |
| 87 | + <xs:complexType name="updateProductResponse"> |
| 88 | + <xs:sequence> |
| 89 | + <xs:element name="return" type="xs:boolean"/> |
| 90 | + </xs:sequence> |
| 91 | + </xs:complexType> |
| 92 | + <xs:element name="BusinessException" type="tns:BusinessException"/> |
| 93 | + <xs:complexType name="BusinessException"> |
| 94 | + <xs:sequence> |
| 95 | + <xs:element name="code" nillable="true" type="xs:string"/> |
| 96 | + <xs:element name="message" nillable="true" type="xs:string"/> |
| 97 | + </xs:sequence> |
| 98 | + </xs:complexType> |
| 99 | +</xs:schema> |
| 100 | + </wsdl:types> |
| 101 | + <wsdl:message name="getProductByIdResponse"> |
| 102 | + <wsdl:part element="tns:getProductByIdResponse" name="parameters"> |
| 103 | + </wsdl:part> |
| 104 | + </wsdl:message> |
| 105 | + <wsdl:message name="addProductResponse"> |
| 106 | + <wsdl:part element="tns:addProductResponse" name="parameters"> |
| 107 | + </wsdl:part> |
| 108 | + </wsdl:message> |
| 109 | + <wsdl:message name="getProductById"> |
| 110 | + <wsdl:part element="tns:getProductById" name="parameters"> |
| 111 | + </wsdl:part> |
| 112 | + </wsdl:message> |
| 113 | + <wsdl:message name="searchProductResponse"> |
| 114 | + <wsdl:part element="tns:searchProductResponse" name="parameters"> |
| 115 | + </wsdl:part> |
| 116 | + </wsdl:message> |
| 117 | + <wsdl:message name="getAllProductByPrice"> |
| 118 | + <wsdl:part element="tns:getAllProductByPrice" name="parameters"> |
| 119 | + </wsdl:part> |
| 120 | + </wsdl:message> |
| 121 | + <wsdl:message name="BusinessException"> |
| 122 | + <wsdl:part element="tns:BusinessException" name="BusinessException"> |
| 123 | + </wsdl:part> |
| 124 | + </wsdl:message> |
| 125 | + <wsdl:message name="deleteProduct"> |
| 126 | + <wsdl:part element="tns:deleteProduct" name="parameters"> |
| 127 | + </wsdl:part> |
| 128 | + </wsdl:message> |
| 129 | + <wsdl:message name="updateProduct"> |
| 130 | + <wsdl:part element="tns:updateProduct" name="parameters"> |
| 131 | + </wsdl:part> |
| 132 | + </wsdl:message> |
| 133 | + <wsdl:message name="updateProductResponse"> |
| 134 | + <wsdl:part element="tns:updateProductResponse" name="parameters"> |
| 135 | + </wsdl:part> |
| 136 | + </wsdl:message> |
| 137 | + <wsdl:message name="addProduct"> |
| 138 | + <wsdl:part element="tns:addProduct" name="parameters"> |
| 139 | + </wsdl:part> |
| 140 | + </wsdl:message> |
| 141 | + <wsdl:message name="getAllProductByPriceResponse"> |
| 142 | + <wsdl:part element="tns:getAllProductByPriceResponse" name="parameters"> |
| 143 | + </wsdl:part> |
| 144 | + </wsdl:message> |
| 145 | + <wsdl:message name="searchProduct"> |
| 146 | + <wsdl:part element="tns:searchProduct" name="parameters"> |
| 147 | + </wsdl:part> |
| 148 | + </wsdl:message> |
| 149 | + <wsdl:message name="deleteProductResponse"> |
| 150 | + <wsdl:part element="tns:deleteProductResponse" name="parameters"> |
| 151 | + </wsdl:part> |
| 152 | + </wsdl:message> |
| 153 | + <wsdl:portType name="ProductServiceEndpoint"> |
| 154 | + <wsdl:operation name="searchProduct"> |
| 155 | + <wsdl:input message="tns:searchProduct" name="searchProduct"> |
| 156 | + </wsdl:input> |
| 157 | + <wsdl:output message="tns:searchProductResponse" name="searchProductResponse"> |
| 158 | + </wsdl:output> |
| 159 | + <wsdl:fault message="tns:BusinessException" name="BusinessException"> |
| 160 | + </wsdl:fault> |
| 161 | + </wsdl:operation> |
| 162 | + <wsdl:operation name="deleteProduct"> |
| 163 | + <wsdl:input message="tns:deleteProduct" name="deleteProduct"> |
| 164 | + </wsdl:input> |
| 165 | + <wsdl:output message="tns:deleteProductResponse" name="deleteProductResponse"> |
| 166 | + </wsdl:output> |
| 167 | + <wsdl:fault message="tns:BusinessException" name="BusinessException"> |
| 168 | + </wsdl:fault> |
| 169 | + </wsdl:operation> |
| 170 | + <wsdl:operation name="getProductById"> |
| 171 | + <wsdl:input message="tns:getProductById" name="getProductById"> |
| 172 | + </wsdl:input> |
| 173 | + <wsdl:output message="tns:getProductByIdResponse" name="getProductByIdResponse"> |
| 174 | + </wsdl:output> |
| 175 | + <wsdl:fault message="tns:BusinessException" name="BusinessException"> |
| 176 | + </wsdl:fault> |
| 177 | + </wsdl:operation> |
| 178 | + <wsdl:operation name="getAllProductByPrice"> |
| 179 | + <wsdl:input message="tns:getAllProductByPrice" name="getAllProductByPrice"> |
| 180 | + </wsdl:input> |
| 181 | + <wsdl:output message="tns:getAllProductByPriceResponse" name="getAllProductByPriceResponse"> |
| 182 | + </wsdl:output> |
| 183 | + <wsdl:fault message="tns:BusinessException" name="BusinessException"> |
| 184 | + </wsdl:fault> |
| 185 | + </wsdl:operation> |
| 186 | + <wsdl:operation name="addProduct"> |
| 187 | + <wsdl:input message="tns:addProduct" name="addProduct"> |
| 188 | + </wsdl:input> |
| 189 | + <wsdl:output message="tns:addProductResponse" name="addProductResponse"> |
| 190 | + </wsdl:output> |
| 191 | + <wsdl:fault message="tns:BusinessException" name="BusinessException"> |
| 192 | + </wsdl:fault> |
| 193 | + </wsdl:operation> |
| 194 | + <wsdl:operation name="updateProduct"> |
| 195 | + <wsdl:input message="tns:updateProduct" name="updateProduct"> |
| 196 | + </wsdl:input> |
| 197 | + <wsdl:output message="tns:updateProductResponse" name="updateProductResponse"> |
| 198 | + </wsdl:output> |
| 199 | + <wsdl:fault message="tns:BusinessException" name="BusinessException"> |
| 200 | + </wsdl:fault> |
| 201 | + </wsdl:operation> |
| 202 | + </wsdl:portType> |
| 203 | + <wsdl:binding name="ProductServiceSoapBinding" type="tns:ProductServiceEndpoint"> |
| 204 | + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> |
| 205 | + <wsdl:operation name="searchProduct"> |
| 206 | + <soap:operation soapAction="" style="document"/> |
| 207 | + <wsdl:input name="searchProduct"> |
| 208 | + <soap:body use="literal"/> |
| 209 | + </wsdl:input> |
| 210 | + <wsdl:output name="searchProductResponse"> |
| 211 | + <soap:body use="literal"/> |
| 212 | + </wsdl:output> |
| 213 | + <wsdl:fault name="BusinessException"> |
| 214 | + <soap:fault name="BusinessException" use="literal"/> |
| 215 | + </wsdl:fault> |
| 216 | + </wsdl:operation> |
| 217 | + <wsdl:operation name="deleteProduct"> |
| 218 | + <soap:operation soapAction="" style="document"/> |
| 219 | + <wsdl:input name="deleteProduct"> |
| 220 | + <soap:body use="literal"/> |
| 221 | + </wsdl:input> |
| 222 | + <wsdl:output name="deleteProductResponse"> |
| 223 | + <soap:body use="literal"/> |
| 224 | + </wsdl:output> |
| 225 | + <wsdl:fault name="BusinessException"> |
| 226 | + <soap:fault name="BusinessException" use="literal"/> |
| 227 | + </wsdl:fault> |
| 228 | + </wsdl:operation> |
| 229 | + <wsdl:operation name="getAllProductByPrice"> |
| 230 | + <soap:operation soapAction="" style="document"/> |
| 231 | + <wsdl:input name="getAllProductByPrice"> |
| 232 | + <soap:body use="literal"/> |
| 233 | + </wsdl:input> |
| 234 | + <wsdl:output name="getAllProductByPriceResponse"> |
| 235 | + <soap:body use="literal"/> |
| 236 | + </wsdl:output> |
| 237 | + <wsdl:fault name="BusinessException"> |
| 238 | + <soap:fault name="BusinessException" use="literal"/> |
| 239 | + </wsdl:fault> |
| 240 | + </wsdl:operation> |
| 241 | + <wsdl:operation name="getProductById"> |
| 242 | + <soap:operation soapAction="" style="document"/> |
| 243 | + <wsdl:input name="getProductById"> |
| 244 | + <soap:body use="literal"/> |
| 245 | + </wsdl:input> |
| 246 | + <wsdl:output name="getProductByIdResponse"> |
| 247 | + <soap:body use="literal"/> |
| 248 | + </wsdl:output> |
| 249 | + <wsdl:fault name="BusinessException"> |
| 250 | + <soap:fault name="BusinessException" use="literal"/> |
| 251 | + </wsdl:fault> |
| 252 | + </wsdl:operation> |
| 253 | + <wsdl:operation name="addProduct"> |
| 254 | + <soap:operation soapAction="" style="document"/> |
| 255 | + <wsdl:input name="addProduct"> |
| 256 | + <soap:body use="literal"/> |
| 257 | + </wsdl:input> |
| 258 | + <wsdl:output name="addProductResponse"> |
| 259 | + <soap:body use="literal"/> |
| 260 | + </wsdl:output> |
| 261 | + <wsdl:fault name="BusinessException"> |
| 262 | + <soap:fault name="BusinessException" use="literal"/> |
| 263 | + </wsdl:fault> |
| 264 | + </wsdl:operation> |
| 265 | + <wsdl:operation name="updateProduct"> |
| 266 | + <soap:operation soapAction="" style="document"/> |
| 267 | + <wsdl:input name="updateProduct"> |
| 268 | + <soap:body use="literal"/> |
| 269 | + </wsdl:input> |
| 270 | + <wsdl:output name="updateProductResponse"> |
| 271 | + <soap:body use="literal"/> |
| 272 | + </wsdl:output> |
| 273 | + <wsdl:fault name="BusinessException"> |
| 274 | + <soap:fault name="BusinessException" use="literal"/> |
| 275 | + </wsdl:fault> |
| 276 | + </wsdl:operation> |
| 277 | + </wsdl:binding> |
| 278 | + <wsdl:service name="ProductService"> |
| 279 | + <wsdl:port binding="tns:ProductServiceSoapBinding" name="ProductServiceEndpointPort"> |
| 280 | + <soap:address location="http://localhost:9090/product-WS-Hibernate/services/product"/> |
| 281 | + </wsdl:port> |
| 282 | + </wsdl:service> |
| 283 | +</wsdl:definitions> |
0 commit comments