|
1 | 1 | <wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-65/lab-65-spring-ws-demo" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="userService" targetNamespace="https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-65/lab-65-spring-ws-demo">
|
2 | 2 | <wsdl:types>
|
3 | 3 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-65/lab-65-spring-ws-demo" elementFormDefault="unqualified" targetNamespace="https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-65/lab-65-spring-ws-demo" version="1.0">
|
| 4 | + <xs:element name="create" type="tns:create"/> |
| 5 | + <xs:element name="createResponse" type="tns:createResponse"/> |
4 | 6 | <xs:element name="get" type="tns:get"/>
|
5 | 7 | <xs:element name="getResponse" type="tns:getResponse"/>
|
6 | 8 | <xs:complexType name="get">
|
|
25 | 27 | <xs:element minOccurs="0" name="name" type="xs:string"/>
|
26 | 28 | </xs:sequence>
|
27 | 29 | </xs:complexType>
|
| 30 | + <xs:complexType name="create"> |
| 31 | + <xs:sequence> |
| 32 | + <xs:element minOccurs="0" name="arg0" type="tns:userCreateRequest"/> |
| 33 | + </xs:sequence> |
| 34 | + </xs:complexType> |
| 35 | + <xs:complexType name="userCreateRequest"> |
| 36 | + <xs:sequence> |
| 37 | + <xs:element minOccurs="0" name="gender" type="xs:int"/> |
| 38 | + <xs:element minOccurs="0" name="name" type="xs:string"/> |
| 39 | + </xs:sequence> |
| 40 | + </xs:complexType> |
| 41 | + <xs:complexType name="createResponse"> |
| 42 | + <xs:sequence> |
| 43 | + <xs:element minOccurs="0" name="return" type="tns:userCreateResponse"/> |
| 44 | + </xs:sequence> |
| 45 | + </xs:complexType> |
| 46 | + <xs:complexType name="userCreateResponse"> |
| 47 | + <xs:sequence> |
| 48 | + <xs:element minOccurs="0" name="id" type="xs:int"/> |
| 49 | + </xs:sequence> |
| 50 | + </xs:complexType> |
28 | 51 | </xs:schema>
|
29 | 52 | </wsdl:types>
|
30 | 53 | <wsdl:message name="getResponse">
|
|
33 | 56 | <wsdl:message name="get">
|
34 | 57 | <wsdl:part element="tns:get" name="parameters"> </wsdl:part>
|
35 | 58 | </wsdl:message>
|
| 59 | + <wsdl:message name="create"> |
| 60 | + <wsdl:part element="tns:create" name="parameters"> </wsdl:part> |
| 61 | + </wsdl:message> |
| 62 | + <wsdl:message name="createResponse"> |
| 63 | + <wsdl:part element="tns:createResponse" name="parameters"> </wsdl:part> |
| 64 | + </wsdl:message> |
36 | 65 | <wsdl:portType name="UserService">
|
37 | 66 | <wsdl:operation name="get">
|
38 | 67 | <wsdl:input message="tns:get" name="get"> </wsdl:input>
|
39 | 68 | <wsdl:output message="tns:getResponse" name="getResponse"> </wsdl:output>
|
40 | 69 | </wsdl:operation>
|
| 70 | + <wsdl:operation name="create"> |
| 71 | + <wsdl:input message="tns:create" name="create"> </wsdl:input> |
| 72 | + <wsdl:output message="tns:createResponse" name="createResponse"> </wsdl:output> |
| 73 | + </wsdl:operation> |
41 | 74 | </wsdl:portType>
|
42 | 75 | <wsdl:binding name="userServiceSoapBinding" type="tns:UserService">
|
43 | 76 | <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
50 | 83 | <soap:body use="literal"/>
|
51 | 84 | </wsdl:output>
|
52 | 85 | </wsdl:operation>
|
| 86 | + <wsdl:operation name="create"> |
| 87 | + <soap:operation soapAction="" style="document"/> |
| 88 | + <wsdl:input name="create"> |
| 89 | + <soap:body use="literal"/> |
| 90 | + </wsdl:input> |
| 91 | + <wsdl:output name="createResponse"> |
| 92 | + <soap:body use="literal"/> |
| 93 | + </wsdl:output> |
| 94 | + </wsdl:operation> |
53 | 95 | </wsdl:binding>
|
54 | 96 | <wsdl:service name="userService">
|
55 | 97 | <wsdl:port binding="tns:userServiceSoapBinding" name="UserServiceImplPort">
|
|
0 commit comments