Created
May 6, 2016 09:26
-
-
Save arialdomartini/e088cd12c13503a4cd897acc63dcf733 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DataContract] | |
public class MyRequest | |
{ | |
[DataMember] | |
public InnerClass AComplexField { get; set; } | |
} | |
[DataContract] | |
public class InnerClass | |
{ | |
[DataMember] | |
public decimal Foo { get; set; } | |
} | |
[DataContract] | |
public class MyResponse | |
{ | |
[DataMember] | |
public int Field1 { get; set; } | |
[DataMember] | |
public AnotherInnerClass Field2 { get; set; } | |
} | |
[DataContract] | |
public class AnotherInnerClass | |
{ | |
[DataMember] | |
public string Bar { get; set; } | |
} | |
[ServiceContract] | |
public interface ISimpleService | |
{ | |
[OperationContract] | |
MyResponse SimpleMethod(MyRequest msg); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MessageContract] | |
public class MyRequest | |
{ | |
[MessageBodyMember] | |
public InnerClass AComplexField { get; set; } | |
} | |
[MessageContract] | |
public class InnerClass | |
{ | |
[MessageBodyMember] | |
public decimal Foo { get; set; } | |
} | |
[MessageContract] | |
public class MyResponse | |
{ | |
[MessageBodyMember] | |
public int Field1 { get; set; } | |
[MessageBodyMember] | |
public AnotherInnerClass Field2 { get; set; } | |
} | |
[MessageContract] | |
public class AnotherInnerClass | |
{ | |
[MessageBodyMember] | |
public string Bar { get; set; } | |
} | |
[ServiceContract] | |
public interface ISimpleService | |
{ | |
[OperationContract] | |
MyResponse SimpleMethod(MyRequest msg); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" name="SimpleService" targetNamespace="http://tempuri.org/"> | |
<wsp:Policy wsu:Id="WSHttpBinding_ISimpleService_policy"> | |
<wsp:ExactlyOne> | |
<wsp:All> | |
<sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<wsp:Policy> | |
<sp:ProtectionToken> | |
<wsp:Policy> | |
<sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> | |
<wsp:Policy> | |
<sp:RequireDerivedKeys/> | |
<sp:BootstrapPolicy> | |
<wsp:Policy> | |
<sp:SignedParts> | |
<sp:Body/> | |
<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> | |
</sp:SignedParts> | |
<sp:EncryptedParts> | |
<sp:Body/> | |
</sp:EncryptedParts> | |
<sp:SymmetricBinding> | |
<wsp:Policy> | |
<sp:ProtectionToken> | |
<wsp:Policy> | |
<sp:SpnegoContextToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> | |
<wsp:Policy> | |
<sp:RequireDerivedKeys/> | |
</wsp:Policy> | |
</sp:SpnegoContextToken> | |
</wsp:Policy> | |
</sp:ProtectionToken> | |
<sp:AlgorithmSuite> | |
<wsp:Policy> | |
<sp:Basic256/> | |
</wsp:Policy> | |
</sp:AlgorithmSuite> | |
<sp:Layout> | |
<wsp:Policy> | |
<sp:Strict/> | |
</wsp:Policy> | |
</sp:Layout> | |
<sp:IncludeTimestamp/> | |
<sp:EncryptSignature/> | |
<sp:OnlySignEntireHeadersAndBody/> | |
</wsp:Policy> | |
</sp:SymmetricBinding> | |
<sp:Wss11> | |
<wsp:Policy/> | |
</sp:Wss11> | |
<sp:Trust10> | |
<wsp:Policy> | |
<sp:MustSupportIssuedTokens/> | |
<sp:RequireClientEntropy/> | |
<sp:RequireServerEntropy/> | |
</wsp:Policy> | |
</sp:Trust10> | |
</wsp:Policy> | |
</sp:BootstrapPolicy> | |
</wsp:Policy> | |
</sp:SecureConversationToken> | |
</wsp:Policy> | |
</sp:ProtectionToken> | |
<sp:AlgorithmSuite> | |
<wsp:Policy> | |
<sp:Basic256/> | |
</wsp:Policy> | |
</sp:AlgorithmSuite> | |
<sp:Layout> | |
<wsp:Policy> | |
<sp:Strict/> | |
</wsp:Policy> | |
</sp:Layout> | |
<sp:IncludeTimestamp/> | |
<sp:EncryptSignature/> | |
<sp:OnlySignEntireHeadersAndBody/> | |
</wsp:Policy> | |
</sp:SymmetricBinding> | |
<sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<wsp:Policy/> | |
</sp:Wss11> | |
<sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<wsp:Policy> | |
<sp:MustSupportIssuedTokens/> | |
<sp:RequireClientEntropy/> | |
<sp:RequireServerEntropy/> | |
</wsp:Policy> | |
</sp:Trust10> | |
<wsam:Addressing> | |
<wsp:Policy> | |
<wsam:AnonymousResponses/> | |
</wsp:Policy> | |
</wsam:Addressing> | |
</wsp:All> | |
</wsp:ExactlyOne> | |
</wsp:Policy> | |
<wsp:Policy wsu:Id="WSHttpBinding_ISimpleService_SimpleMethod_Input_policy"> | |
<wsp:ExactlyOne> | |
<wsp:All> | |
<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> | |
</sp:SignedParts> | |
<sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
</sp:EncryptedParts> | |
</wsp:All> | |
</wsp:ExactlyOne> | |
</wsp:Policy> | |
<wsp:Policy wsu:Id="WSHttpBinding_ISimpleService_SimpleMethod_output_policy"> | |
<wsp:ExactlyOne> | |
<wsp:All> | |
<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> | |
</sp:SignedParts> | |
<sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
</sp:EncryptedParts> | |
</wsp:All> | |
</wsp:ExactlyOne> | |
</wsp:Policy> | |
<wsdl:types> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> | |
<xs:import namespace="http://schemas.datacontract.org/2004/07/TheClient.Test"/> | |
<xs:element name="SimpleMethod"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/TheClient.Test" minOccurs="0" name="msg" nillable="true" type="q1:MyRequest"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="SimpleMethodResponse"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/TheClient.Test" minOccurs="0" name="SimpleMethodResult" nillable="true" type="q2:MyResponse"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> | |
<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/"> | |
<xs:element name="anyType" nillable="true" type="xs:anyType"/> | |
<xs:element name="anyURI" nillable="true" type="xs:anyURI"/> | |
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/> | |
<xs:element name="boolean" nillable="true" type="xs:boolean"/> | |
<xs:element name="byte" nillable="true" type="xs:byte"/> | |
<xs:element name="dateTime" nillable="true" type="xs:dateTime"/> | |
<xs:element name="decimal" nillable="true" type="xs:decimal"/> | |
<xs:element name="double" nillable="true" type="xs:double"/> | |
<xs:element name="float" nillable="true" type="xs:float"/> | |
<xs:element name="int" nillable="true" type="xs:int"/> | |
<xs:element name="long" nillable="true" type="xs:long"/> | |
<xs:element name="QName" nillable="true" type="xs:QName"/> | |
<xs:element name="short" nillable="true" type="xs:short"/> | |
<xs:element name="string" nillable="true" type="xs:string"/> | |
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/> | |
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/> | |
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/> | |
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/> | |
<xs:element name="char" nillable="true" type="tns:char"/> | |
<xs:simpleType name="char"> | |
<xs:restriction base="xs:int"/> | |
</xs:simpleType> | |
<xs:element name="duration" nillable="true" type="tns:duration"/> | |
<xs:simpleType name="duration"> | |
<xs:restriction base="xs:duration"> | |
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/> | |
<xs:minInclusive value="-P10675199DT2H48M5.4775808S"/> | |
<xs:maxInclusive value="P10675199DT2H48M5.4775807S"/> | |
</xs:restriction> | |
</xs:simpleType> | |
<xs:element name="guid" nillable="true" type="tns:guid"/> | |
<xs:simpleType name="guid"> | |
<xs:restriction base="xs:string"> | |
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/> | |
</xs:restriction> | |
</xs:simpleType> | |
<xs:attribute name="FactoryType" type="xs:QName"/> | |
<xs:attribute name="Id" type="xs:ID"/> | |
<xs:attribute name="Ref" type="xs:IDREF"/> | |
</xs:schema> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/TheClient.Test" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/TheClient.Test"> | |
<xs:complexType name="MyRequest"> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="AComplexField" nillable="true" type="tns:InnerClass"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="MyRequest" nillable="true" type="tns:MyRequest"/> | |
<xs:complexType name="InnerClass"> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="Foo" type="xs:decimal"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="InnerClass" nillable="true" type="tns:InnerClass"/> | |
<xs:complexType name="MyResponse"> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="Field1" type="xs:int"/> | |
<xs:element minOccurs="0" name="Field2" nillable="true" type="tns:AnotherInnerClass"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="MyResponse" nillable="true" type="tns:MyResponse"/> | |
<xs:complexType name="AnotherInnerClass"> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="Bar" nillable="true" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="AnotherInnerClass" nillable="true" type="tns:AnotherInnerClass"/> | |
</xs:schema> | |
</wsdl:types> | |
<wsdl:message name="ISimpleService_SimpleMethod_InputMessage"> | |
<wsdl:part name="parameters" element="tns:SimpleMethod"/> | |
</wsdl:message> | |
<wsdl:message name="ISimpleService_SimpleMethod_OutputMessage"> | |
<wsdl:part name="parameters" element="tns:SimpleMethodResponse"/> | |
</wsdl:message> | |
<wsdl:portType name="ISimpleService"> | |
<wsdl:operation name="SimpleMethod"> | |
<wsdl:input wsam:Action="http://tempuri.org/ISimpleService/SimpleMethod" message="tns:ISimpleService_SimpleMethod_InputMessage"/> | |
<wsdl:output wsam:Action="http://tempuri.org/ISimpleService/SimpleMethodResponse" message="tns:ISimpleService_SimpleMethod_OutputMessage"/> | |
</wsdl:operation> | |
</wsdl:portType> | |
<wsdl:binding name="WSHttpBinding_ISimpleService" type="tns:ISimpleService"> | |
<wsp:PolicyReference URI="#WSHttpBinding_ISimpleService_policy"/> | |
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> | |
<wsdl:operation name="SimpleMethod"> | |
<soap12:operation soapAction="http://tempuri.org/ISimpleService/SimpleMethod" style="document"/> | |
<wsdl:input> | |
<wsp:PolicyReference URI="#WSHttpBinding_ISimpleService_SimpleMethod_Input_policy"/> | |
<soap12:body use="literal"/> | |
</wsdl:input> | |
<wsdl:output> | |
<wsp:PolicyReference URI="#WSHttpBinding_ISimpleService_SimpleMethod_output_policy"/> | |
<soap12:body use="literal"/> | |
</wsdl:output> | |
</wsdl:operation> | |
</wsdl:binding> | |
<wsdl:service name="SimpleService"> | |
<wsdl:port name="WSHttpBinding_ISimpleService" binding="tns:WSHttpBinding_ISimpleService"> | |
<soap12:address location="http://localhost:8733/Design_Time_Addresses/VisecaOne/DataContract1"/> | |
<wsa10:EndpointReference> | |
<wsa10:Address> | |
http://localhost:8733/Design_Time_Addresses/VisecaOne/DataContract1 | |
</wsa10:Address> | |
<Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity"> | |
<Upn>[email protected]</Upn> | |
</Identity> | |
</wsa10:EndpointReference> | |
</wsdl:port> | |
</wsdl:service> | |
</wsdl:definitions> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" name="SimpleService" targetNamespace="http://tempuri.org/"> | |
<wsp:Policy wsu:Id="WSHttpBinding_ISimpleService_policy"> | |
<wsp:ExactlyOne> | |
<wsp:All> | |
<sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<wsp:Policy> | |
<sp:ProtectionToken> | |
<wsp:Policy> | |
<sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> | |
<wsp:Policy> | |
<sp:RequireDerivedKeys/> | |
<sp:BootstrapPolicy> | |
<wsp:Policy> | |
<sp:SignedParts> | |
<sp:Body/> | |
<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> | |
</sp:SignedParts> | |
<sp:EncryptedParts> | |
<sp:Body/> | |
</sp:EncryptedParts> | |
<sp:SymmetricBinding> | |
<wsp:Policy> | |
<sp:ProtectionToken> | |
<wsp:Policy> | |
<sp:SpnegoContextToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> | |
<wsp:Policy> | |
<sp:RequireDerivedKeys/> | |
</wsp:Policy> | |
</sp:SpnegoContextToken> | |
</wsp:Policy> | |
</sp:ProtectionToken> | |
<sp:AlgorithmSuite> | |
<wsp:Policy> | |
<sp:Basic256/> | |
</wsp:Policy> | |
</sp:AlgorithmSuite> | |
<sp:Layout> | |
<wsp:Policy> | |
<sp:Strict/> | |
</wsp:Policy> | |
</sp:Layout> | |
<sp:IncludeTimestamp/> | |
<sp:EncryptSignature/> | |
<sp:OnlySignEntireHeadersAndBody/> | |
</wsp:Policy> | |
</sp:SymmetricBinding> | |
<sp:Wss11> | |
<wsp:Policy/> | |
</sp:Wss11> | |
<sp:Trust10> | |
<wsp:Policy> | |
<sp:MustSupportIssuedTokens/> | |
<sp:RequireClientEntropy/> | |
<sp:RequireServerEntropy/> | |
</wsp:Policy> | |
</sp:Trust10> | |
</wsp:Policy> | |
</sp:BootstrapPolicy> | |
</wsp:Policy> | |
</sp:SecureConversationToken> | |
</wsp:Policy> | |
</sp:ProtectionToken> | |
<sp:AlgorithmSuite> | |
<wsp:Policy> | |
<sp:Basic256/> | |
</wsp:Policy> | |
</sp:AlgorithmSuite> | |
<sp:Layout> | |
<wsp:Policy> | |
<sp:Strict/> | |
</wsp:Policy> | |
</sp:Layout> | |
<sp:IncludeTimestamp/> | |
<sp:EncryptSignature/> | |
<sp:OnlySignEntireHeadersAndBody/> | |
</wsp:Policy> | |
</sp:SymmetricBinding> | |
<sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<wsp:Policy/> | |
</sp:Wss11> | |
<sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<wsp:Policy> | |
<sp:MustSupportIssuedTokens/> | |
<sp:RequireClientEntropy/> | |
<sp:RequireServerEntropy/> | |
</wsp:Policy> | |
</sp:Trust10> | |
<wsam:Addressing> | |
<wsp:Policy> | |
<wsam:AnonymousResponses/> | |
</wsp:Policy> | |
</wsam:Addressing> | |
</wsp:All> | |
</wsp:ExactlyOne> | |
</wsp:Policy> | |
<wsp:Policy wsu:Id="WSHttpBinding_ISimpleService_SimpleMethod_Input_policy"> | |
<wsp:ExactlyOne> | |
<wsp:All> | |
<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> | |
</sp:SignedParts> | |
<sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
</sp:EncryptedParts> | |
</wsp:All> | |
</wsp:ExactlyOne> | |
</wsp:Policy> | |
<wsp:Policy wsu:Id="WSHttpBinding_ISimpleService_SimpleMethod_output_policy"> | |
<wsp:ExactlyOne> | |
<wsp:All> | |
<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> | |
<sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> | |
</sp:SignedParts> | |
<sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> | |
<sp:Body/> | |
</sp:EncryptedParts> | |
</wsp:All> | |
</wsp:ExactlyOne> | |
</wsp:Policy> | |
<wsdl:types> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> | |
<xs:import namespace="http://schemas.datacontract.org/2004/07/TheClient.Test"/> | |
<xs:element name="MyRequest"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/TheClient.Test" minOccurs="0" name="AComplexField" nillable="true" type="q1:InnerClass"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="MyResponse"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="Field1" type="xs:int"/> | |
<xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/TheClient.Test" minOccurs="0" name="Field2" nillable="true" type="q2:AnotherInnerClass"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> | |
<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/"> | |
<xs:element name="anyType" nillable="true" type="xs:anyType"/> | |
<xs:element name="anyURI" nillable="true" type="xs:anyURI"/> | |
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/> | |
<xs:element name="boolean" nillable="true" type="xs:boolean"/> | |
<xs:element name="byte" nillable="true" type="xs:byte"/> | |
<xs:element name="dateTime" nillable="true" type="xs:dateTime"/> | |
<xs:element name="decimal" nillable="true" type="xs:decimal"/> | |
<xs:element name="double" nillable="true" type="xs:double"/> | |
<xs:element name="float" nillable="true" type="xs:float"/> | |
<xs:element name="int" nillable="true" type="xs:int"/> | |
<xs:element name="long" nillable="true" type="xs:long"/> | |
<xs:element name="QName" nillable="true" type="xs:QName"/> | |
<xs:element name="short" nillable="true" type="xs:short"/> | |
<xs:element name="string" nillable="true" type="xs:string"/> | |
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/> | |
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/> | |
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/> | |
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/> | |
<xs:element name="char" nillable="true" type="tns:char"/> | |
<xs:simpleType name="char"> | |
<xs:restriction base="xs:int"/> | |
</xs:simpleType> | |
<xs:element name="duration" nillable="true" type="tns:duration"/> | |
<xs:simpleType name="duration"> | |
<xs:restriction base="xs:duration"> | |
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/> | |
<xs:minInclusive value="-P10675199DT2H48M5.4775808S"/> | |
<xs:maxInclusive value="P10675199DT2H48M5.4775807S"/> | |
</xs:restriction> | |
</xs:simpleType> | |
<xs:element name="guid" nillable="true" type="tns:guid"/> | |
<xs:simpleType name="guid"> | |
<xs:restriction base="xs:string"> | |
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/> | |
</xs:restriction> | |
</xs:simpleType> | |
<xs:attribute name="FactoryType" type="xs:QName"/> | |
<xs:attribute name="Id" type="xs:ID"/> | |
<xs:attribute name="Ref" type="xs:IDREF"/> | |
</xs:schema> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/TheClient.Test" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/TheClient.Test"> | |
<xs:complexType name="InnerClass"> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="Foo" type="xs:decimal"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="InnerClass" nillable="true" type="tns:InnerClass"/> | |
<xs:complexType name="AnotherInnerClass"> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="Bar" nillable="true" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="AnotherInnerClass" nillable="true" type="tns:AnotherInnerClass"/> | |
</xs:schema> | |
</wsdl:types> | |
<wsdl:message name="MyRequest"> | |
<wsdl:part name="parameters" element="tns:MyRequest"/> | |
</wsdl:message> | |
<wsdl:message name="MyResponse"> | |
<wsdl:part name="parameters" element="tns:MyResponse"/> | |
</wsdl:message> | |
<wsdl:portType name="ISimpleService"> | |
<wsdl:operation name="SimpleMethod"> | |
<wsdl:input wsam:Action="http://tempuri.org/ISimpleService/SimpleMethod" name="MyRequest" message="tns:MyRequest"/> | |
<wsdl:output wsam:Action="http://tempuri.org/ISimpleService/SimpleMethodResponse" name="MyResponse" message="tns:MyResponse"/> | |
</wsdl:operation> | |
</wsdl:portType> | |
<wsdl:binding name="WSHttpBinding_ISimpleService" type="tns:ISimpleService"> | |
<wsp:PolicyReference URI="#WSHttpBinding_ISimpleService_policy"/> | |
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> | |
<wsdl:operation name="SimpleMethod"> | |
<soap12:operation soapAction="http://tempuri.org/ISimpleService/SimpleMethod" style="document"/> | |
<wsdl:input name="MyRequest"> | |
<wsp:PolicyReference URI="#WSHttpBinding_ISimpleService_SimpleMethod_Input_policy"/> | |
<soap12:body use="literal"/> | |
</wsdl:input> | |
<wsdl:output name="MyResponse"> | |
<wsp:PolicyReference URI="#WSHttpBinding_ISimpleService_SimpleMethod_output_policy"/> | |
<soap12:body use="literal"/> | |
</wsdl:output> | |
</wsdl:operation> | |
</wsdl:binding> | |
<wsdl:service name="SimpleService"> | |
<wsdl:port name="WSHttpBinding_ISimpleService" binding="tns:WSHttpBinding_ISimpleService"> | |
<soap12:address location="http://localhost:8733/Design_Time_Addresses/VisecaOne/ServiceMessageContract1"/> | |
<wsa10:EndpointReference> | |
<wsa10:Address> | |
http://localhost:8733/Design_Time_Addresses/VisecaOne/ServiceMessageContract1 | |
</wsa10:Address> | |
<Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity"> | |
<Upn>[email protected]</Upn> | |
</Identity> | |
</wsa10:EndpointReference> | |
</wsdl:port> | |
</wsdl:service> | |
</wsdl:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment