SHOW:
|
|
- or go back to the newest paste.
| 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" | |
| 3 | xmlns:soap12bind="http://schemas.xmlsoap.org/wsdl/soap12/" | |
| 4 | xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/" | |
| 5 | xmlns:tns="http://testo.ru" | |
| 6 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
| 7 | xmlns:xsd1="http://testo.ru" | |
| 8 | xmlns:xsd2="http://www.testo.ru" | |
| 9 | name="ExchangeBitrix" | |
| 10 | targetNamespace="http://testo.ru"> | |
| 11 | <types> | |
| 12 | <xs:schema xmlns:tns="http://www.testo.ru" | |
| 13 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
| 14 | targetNamespace="http://www.testo.ru" | |
| 15 | attributeFormDefault="unqualified" | |
| 16 | elementFormDefault="qualified"> | |
| 17 | <xs:complexType name="Params"> | |
| 18 | - | <xs:choice> |
| 18 | + | |
| 19 | <xs:element name="Param" | |
| 20 | minOccurs="0" | |
| 21 | - | maxOccurs="unbounded"> |
| 21 | + | maxOccurs="unbounded" |
| 22 | - | <xs:complexType> |
| 22 | + | type="tns:StructParams"/> |
| 23 | - | <xs:choice> |
| 23 | + | |
| 24 | - | <xs:element name="article" |
| 24 | + | |
| 25 | - | type="xs:string" |
| 25 | + | |
| 26 | - | minOccurs="0"/> |
| 26 | + | |
| 27 | - | <xs:element name="brand" |
| 27 | + | |
| 28 | - | type="xs:string" |
| 28 | + | |
| 29 | - | minOccurs="0"/> |
| 29 | + | |
| 30 | - | <xs:element name="name" |
| 30 | + | |
| 31 | - | type="xs:string" |
| 31 | + | |
| 32 | - | minOccurs="0"/> |
| 32 | + | |
| 33 | - | <xs:element name="reason" |
| 33 | + | |
| 34 | - | type="xs:string" |
| 34 | + | |
| 35 | - | minOccurs="0"/> |
| 35 | + | |
| 36 | - | <xs:element name="comment" |
| 36 | + | |
| 37 | - | type="xs:string" |
| 37 | + | |
| 38 | - | minOccurs="0"/> |
| 38 | + | |
| 39 | - | </xs:choice> |
| 39 | + | |
| 40 | - | </xs:complexType> |
| 40 | + | |
| 41 | - | </xs:element> |
| 41 | + | |
| 42 | - | </xs:choice> |
| 42 | + | |
| 43 | </xs:complexType> | |
| 44 | </xs:schema> | |
| 45 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
| 46 | xmlns:xs1="http://www.testo.ru" | |
| 47 | xmlns:xs2="http://testo.ru" | |
| 48 | targetNamespace="http://testo.ru" | |
| 49 | elementFormDefault="qualified"> | |
| 50 | <xs:import namespace="http://www.testo.ru"/> | |
| 51 | <xs:element name="GetStrHello"> | |
| 52 | <xs:complexType> | |
| 53 | <xs:sequence/> | |
| 54 | </xs:complexType> | |
| 55 | </xs:element> | |
| 56 | <xs:element name="GetStrHelloResponse"> | |
| 57 | <xs:complexType> | |
| 58 | <xs:sequence> | |
| 59 | <xs:element name="return" | |
| 60 | type="xs:string"/> | |
| 61 | </xs:sequence> | |
| 62 | </xs:complexType> | |
| 63 | </xs:element> | |
| 64 | <xs:element name="CreateReturn"> | |
| 65 | <xs:complexType> | |
| 66 | <xs:sequence> | |
| 67 | <xs:element name="id_order" | |
| 68 | type="xs:string"/> | |
| 69 | <xs:element name="guid" | |
| 70 | type="xs:string"/> | |
| 71 | <xs:element name="quantity" | |
| 72 | type="xs:float"/> | |
| 73 | <xs:element name="struct_params" | |
| 74 | type="xs1:Params"/> | |
| 75 | </xs:sequence> | |
| 76 | </xs:complexType> | |
| 77 | </xs:element> | |
| 78 | <xs:element name="CreateReturnResponse"> | |
| 79 | <xs:complexType> | |
| 80 | <xs:sequence> | |
| 81 | <xs:element name="return" | |
| 82 | type="xs:string"/> | |
| 83 | </xs:sequence> | |
| 84 | </xs:complexType> | |
| 85 | </xs:element> | |
| 86 | </xs:schema> | |
| 87 | </types> | |
| 88 | <message name="GetStrHelloRequestMessage"> | |
| 89 | <part name="parameters" | |
| 90 | element="tns:GetStrHello"/> | |
| 91 | </message> | |
| 92 | <message name="GetStrHelloResponseMessage"> | |
| 93 | <part name="parameters" | |
| 94 | element="tns:GetStrHelloResponse"/> | |
| 95 | </message> | |
| 96 | <message name="CreateReturnRequestMessage"> | |
| 97 | <part name="parameters" | |
| 98 | element="tns:CreateReturn"/> | |
| 99 | </message> | |
| 100 | <message name="CreateReturnResponseMessage"> | |
| 101 | <part name="parameters" | |
| 102 | element="tns:CreateReturnResponse"/> | |
| 103 | </message> | |
| 104 | <portType name="ExchangeBitrixPortType"> | |
| 105 | <operation name="GetStrHello"> | |
| 106 | <input message="tns:GetStrHelloRequestMessage"/> | |
| 107 | <output message="tns:GetStrHelloResponseMessage"/> | |
| 108 | </operation> | |
| 109 | <operation name="CreateReturn"> | |
| 110 | <input message="tns:CreateReturnRequestMessage"/> | |
| 111 | <output message="tns:CreateReturnResponseMessage"/> | |
| 112 | </operation> | |
| 113 | </portType> | |
| 114 | <binding name="ExchangeBitrixSoapBinding" | |
| 115 | type="tns:ExchangeBitrixPortType"> | |
| 116 | <soapbind:binding style="document" | |
| 117 | transport="http://schemas.xmlsoap.org/soap/http"/> | |
| 118 | <operation name="GetStrHello"> | |
| 119 | <soapbind:operation style="document" | |
| 120 | soapAction="http://testo.ru#ExchangeBitrix:GetStrHello"/> | |
| 121 | <input> | |
| 122 | <soapbind:body use="literal"/> | |
| 123 | </input> | |
| 124 | <output> | |
| 125 | <soapbind:body use="literal"/> | |
| 126 | </output> | |
| 127 | </operation> | |
| 128 | <operation name="CreateReturn"> | |
| 129 | <soapbind:operation style="document" | |
| 130 | soapAction="http://testo.ru#ExchangeBitrix:CreateReturn"/> | |
| 131 | <input> | |
| 132 | <soapbind:body use="literal"/> | |
| 133 | </input> | |
| 134 | <output> | |
| 135 | <soapbind:body use="literal"/> | |
| 136 | </output> | |
| 137 | </operation> | |
| 138 | </binding> | |
| 139 | <binding name="ExchangeBitrixSoap12Binding" | |
| 140 | type="tns:ExchangeBitrixPortType"> | |
| 141 | <soap12bind:binding style="document" | |
| 142 | transport="http://schemas.xmlsoap.org/soap/http"/> | |
| 143 | <operation name="GetStrHello"> | |
| 144 | <soap12bind:operation style="document" | |
| 145 | soapAction="http://testo.ru#ExchangeBitrix:GetStrHello"/> | |
| 146 | <input> | |
| 147 | <soap12bind:body use="literal"/> | |
| 148 | </input> | |
| 149 | <output> | |
| 150 | <soap12bind:body use="literal"/> | |
| 151 | </output> | |
| 152 | </operation> | |
| 153 | <operation name="CreateReturn"> | |
| 154 | <soap12bind:operation style="document" | |
| 155 | soapAction="http://testo.ru#ExchangeBitrix:CreateReturn"/> | |
| 156 | <input> | |
| 157 | <soap12bind:body use="literal"/> | |
| 158 | </input> | |
| 159 | <output> | |
| 160 | <soap12bind:body use="literal"/> | |
| 161 | </output> | |
| 162 | </operation> | |
| 163 | </binding> | |
| 164 | <service name="ExchangeBitrix"> | |
| 165 | <port name="ExchangeBitrixSoap" | |
| 166 | binding="tns:ExchangeBitrixSoapBinding"> | |
| 167 | <documentation> | |
| 168 | <wsi:Claim xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" | |
| 169 | conformsTo="http://ws-i.org/profiles/basic/1.1"/> | |
| 170 | </documentation> | |
| 171 | <soapbind:address location="http://192.168.10.111:81/test2/ws/obmen.1cws"/> | |
| 172 | </port> | |
| 173 | <port name="ExchangeBitrixSoap12" | |
| 174 | binding="tns:ExchangeBitrixSoap12Binding"> | |
| 175 | <soap12bind:address location="http://192.168.10.111:81/test2/ws/obmen.1cws"/> | |
| 176 | </port> | |
| 177 | </service> | |
| 178 | </definitions> |