|
| 1 | +<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://tempuri.org/" name="Service" targetNamespace="http://tempuri.org/"> |
| 2 | + <wsp:Policy wsu:Id="BasicHttpBinding_IService_policy"> |
| 3 | + <wsp:ExactlyOne> |
| 4 | + <wsp:All> |
| 5 | + <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> |
| 6 | + <wsp:Policy> |
| 7 | + <sp:TransportToken> |
| 8 | + <wsp:Policy> |
| 9 | + <sp:HttpsToken RequireClientCertificate="false"/> |
| 10 | + </wsp:Policy> |
| 11 | + </sp:TransportToken> |
| 12 | + <sp:AlgorithmSuite> |
| 13 | + <wsp:Policy> |
| 14 | + <sp:Basic256/> |
| 15 | + </wsp:Policy> |
| 16 | + </sp:AlgorithmSuite> |
| 17 | + <sp:Layout> |
| 18 | + <wsp:Policy> |
| 19 | + <sp:Strict/> |
| 20 | + </wsp:Policy> |
| 21 | + </sp:Layout> |
| 22 | + </wsp:Policy> |
| 23 | + </sp:TransportBinding> |
| 24 | + </wsp:All> |
| 25 | + </wsp:ExactlyOne> |
| 26 | + </wsp:Policy> |
| 27 | + <wsdl:types> |
| 28 | + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> |
| 29 | + <xs:import namespace="http://schemas.datacontract.org/2004/07/CommonTypes"/> |
| 30 | + <xs:element name="GetSimpleValue"> |
| 31 | + <xs:complexType> |
| 32 | + <xs:sequence/> |
| 33 | + </xs:complexType> |
| 34 | + </xs:element> |
| 35 | + <xs:element name="GetSimpleValueResponse"> |
| 36 | + <xs:complexType> |
| 37 | + <xs:sequence> |
| 38 | + <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/CommonTypes" minOccurs="0" name="GetSimpleValueResult" type="q1:SomeSharedType"/> |
| 39 | + </xs:sequence> |
| 40 | + </xs:complexType> |
| 41 | + </xs:element> |
| 42 | + <xs:element name="GetComplexValue"> |
| 43 | + <xs:complexType> |
| 44 | + <xs:sequence/> |
| 45 | + </xs:complexType> |
| 46 | + </xs:element> |
| 47 | + <xs:element name="GetComplexValueResponse"> |
| 48 | + <xs:complexType> |
| 49 | + <xs:sequence> |
| 50 | + <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/CommonTypes" minOccurs="0" name="GetComplexValueResult" type="q2:AnotherSharedType"/> |
| 51 | + </xs:sequence> |
| 52 | + </xs:complexType> |
| 53 | + </xs:element> |
| 54 | + </xs:schema> |
| 55 | + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/"> |
| 56 | + <xs:element name="anyType" nillable="true" type="xs:anyType"/> |
| 57 | + <xs:element name="anyURI" nillable="true" type="xs:anyURI"/> |
| 58 | + <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/> |
| 59 | + <xs:element name="boolean" nillable="true" type="xs:boolean"/> |
| 60 | + <xs:element name="byte" nillable="true" type="xs:byte"/> |
| 61 | + <xs:element name="dateTime" nillable="true" type="xs:dateTime"/> |
| 62 | + <xs:element name="decimal" nillable="true" type="xs:decimal"/> |
| 63 | + <xs:element name="double" nillable="true" type="xs:double"/> |
| 64 | + <xs:element name="float" nillable="true" type="xs:float"/> |
| 65 | + <xs:element name="int" nillable="true" type="xs:int"/> |
| 66 | + <xs:element name="long" nillable="true" type="xs:long"/> |
| 67 | + <xs:element name="QName" nillable="true" type="xs:QName"/> |
| 68 | + <xs:element name="short" nillable="true" type="xs:short"/> |
| 69 | + <xs:element name="string" nillable="true" type="xs:string"/> |
| 70 | + <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/> |
| 71 | + <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/> |
| 72 | + <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/> |
| 73 | + <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/> |
| 74 | + <xs:element name="char" nillable="true" type="tns:char"/> |
| 75 | + <xs:simpleType name="char"> |
| 76 | + <xs:restriction base="xs:int"/> |
| 77 | + </xs:simpleType> |
| 78 | + <xs:element name="duration" nillable="true" type="tns:duration"/> |
| 79 | + <xs:simpleType name="duration"> |
| 80 | + <xs:restriction base="xs:duration"> |
| 81 | + <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/> |
| 82 | + <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/> |
| 83 | + <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/> |
| 84 | + </xs:restriction> |
| 85 | + </xs:simpleType> |
| 86 | + <xs:element name="guid" nillable="true" type="tns:guid"/> |
| 87 | + <xs:simpleType name="guid"> |
| 88 | + <xs:restriction base="xs:string"> |
| 89 | + <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/> |
| 90 | + </xs:restriction> |
| 91 | + </xs:simpleType> |
| 92 | + <xs:attribute name="FactoryType" type="xs:QName"/> |
| 93 | + <xs:attribute name="Id" type="xs:ID"/> |
| 94 | + <xs:attribute name="Ref" type="xs:IDREF"/> |
| 95 | + </xs:schema> |
| 96 | + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/CommonTypes" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CommonTypes"> |
| 97 | + <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"/> |
| 98 | + <xs:complexType name="SomeSharedType"> |
| 99 | + <xs:annotation> |
| 100 | + <xs:appinfo> |
| 101 | + <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType> |
| 102 | + </xs:appinfo> |
| 103 | + </xs:annotation> |
| 104 | + <xs:sequence> |
| 105 | + <xs:element minOccurs="0" name="SomeProperty" type="xs:int"/> |
| 106 | + </xs:sequence> |
| 107 | + </xs:complexType> |
| 108 | + <xs:element name="SomeSharedType" nillable="true" type="tns:SomeSharedType"/> |
| 109 | + <xs:complexType name="AnotherSharedType"> |
| 110 | + <xs:annotation> |
| 111 | + <xs:appinfo> |
| 112 | + <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType> |
| 113 | + </xs:appinfo> |
| 114 | + </xs:annotation> |
| 115 | + <xs:sequence> |
| 116 | + <xs:element minOccurs="0" name="SomeProperty" type="xs:int"/> |
| 117 | + <xs:element minOccurs="0" name="SomeXmlSerializableType" type="tns:CustomSerializableType"/> |
| 118 | + </xs:sequence> |
| 119 | + </xs:complexType> |
| 120 | + <xs:element name="AnotherSharedType" nillable="true" type="tns:AnotherSharedType"/> |
| 121 | + <xs:complexType name="CustomSerializableType"> |
| 122 | + <xs:annotation> |
| 123 | + <xs:appinfo> |
| 124 | + <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType> |
| 125 | + </xs:appinfo> |
| 126 | + </xs:annotation> |
| 127 | + <xs:sequence> |
| 128 | + <xs:any namespace=""/> |
| 129 | + </xs:sequence> |
| 130 | + </xs:complexType> |
| 131 | + <xs:element name="CustomSerializableType" nillable="true" type="tns:CustomSerializableType"/> |
| 132 | + </xs:schema> |
| 133 | + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" id="CustomSerializableTypeSchema"> |
| 134 | + <xs:simpleType name="BigIntegerString"> |
| 135 | + <xs:restriction base="xs:string"/> |
| 136 | + </xs:simpleType> |
| 137 | + </xs:schema> |
| 138 | + </wsdl:types> |
| 139 | + <wsdl:message name="IService_GetSimpleValue_InputMessage"> |
| 140 | + <wsdl:part name="parameters" element="tns:GetSimpleValue"/> |
| 141 | + </wsdl:message> |
| 142 | + <wsdl:message name="IService_GetSimpleValue_OutputMessage"> |
| 143 | + <wsdl:part name="parameters" element="tns:GetSimpleValueResponse"/> |
| 144 | + </wsdl:message> |
| 145 | + <wsdl:message name="IService_GetComplexValue_InputMessage"> |
| 146 | + <wsdl:part name="parameters" element="tns:GetComplexValue"/> |
| 147 | + </wsdl:message> |
| 148 | + <wsdl:message name="IService_GetComplexValue_OutputMessage"> |
| 149 | + <wsdl:part name="parameters" element="tns:GetComplexValueResponse"/> |
| 150 | + </wsdl:message> |
| 151 | + <wsdl:portType name="IService"> |
| 152 | + <wsdl:operation name="GetSimpleValue"> |
| 153 | + <wsdl:input wsaw:Action="http://tempuri.org/IService/GetSimpleValue" message="tns:IService_GetSimpleValue_InputMessage"/> |
| 154 | + <wsdl:output wsaw:Action="http://tempuri.org/IService/GetSimpleValueResponse" message="tns:IService_GetSimpleValue_OutputMessage"/> |
| 155 | + </wsdl:operation> |
| 156 | + <wsdl:operation name="GetComplexValue"> |
| 157 | + <wsdl:input wsaw:Action="http://tempuri.org/IService/GetComplexValue" message="tns:IService_GetComplexValue_InputMessage"/> |
| 158 | + <wsdl:output wsaw:Action="http://tempuri.org/IService/GetComplexValueResponse" message="tns:IService_GetComplexValue_OutputMessage"/> |
| 159 | + </wsdl:operation> |
| 160 | + </wsdl:portType> |
| 161 | + <wsdl:binding name="BasicHttpBinding_IService" type="tns:IService"> |
| 162 | + <wsp:PolicyReference URI="#BasicHttpBinding_IService_policy"/> |
| 163 | + <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> |
| 164 | + <wsdl:operation name="GetSimpleValue"> |
| 165 | + <soap:operation soapAction="http://tempuri.org/IService/GetSimpleValue" style="document"/> |
| 166 | + <wsdl:input> |
| 167 | + <soap:body use="literal"/> |
| 168 | + </wsdl:input> |
| 169 | + <wsdl:output> |
| 170 | + <soap:body use="literal"/> |
| 171 | + </wsdl:output> |
| 172 | + </wsdl:operation> |
| 173 | + <wsdl:operation name="GetComplexValue"> |
| 174 | + <soap:operation soapAction="http://tempuri.org/IService/GetComplexValue" style="document"/> |
| 175 | + <wsdl:input> |
| 176 | + <soap:body use="literal"/> |
| 177 | + </wsdl:input> |
| 178 | + <wsdl:output> |
| 179 | + <soap:body use="literal"/> |
| 180 | + </wsdl:output> |
| 181 | + </wsdl:operation> |
| 182 | + </wsdl:binding> |
| 183 | + <wsdl:service name="Service"> |
| 184 | + <wsdl:port name="BasicHttpBinding_IService" binding="tns:BasicHttpBinding_IService"> |
| 185 | + <soap:address location="https://localhost:7246/Service.svc"/> |
| 186 | + </wsdl:port> |
| 187 | + </wsdl:service> |
| 188 | +</wsdl:definitions> |
0 commit comments