| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <definitions |
| xmlns="http://schemas.xmlsoap.org/wsdl/" |
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| name="NewWebServiceService" targetNamespace="http://policy/" xmlns:tns="http://policy/" 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:wsp1="http://www.w3.org/ns/ws-policy" xmlns:fi="http://java.sun.com/xml/ns/wsit/2006/09/policy/fastinfoset/service" xmlns:tcp="http://java.sun.com/xml/ns/wsit/2006/09/policy/soaptcp/service" xmlns:wsaw="http://www.w3.org/2005/08/addressing" xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy" xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:sp1="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:t1="http://docs.oasis-open.org/ws-sx/ws-trust/200512" |
| > |
| <message name="sample_operation"/> |
| <message name="sample_operationResponse"/> |
| <portType name="NewWebService"> |
| <operation name="sample_operation"> |
| <input message="tns:sample_operation"/> |
| <output message="tns:sample_operationResponse"/> |
| </operation> |
| </portType> |
| <binding name="NewWebServicePortBinding" type="tns:NewWebService"> |
| <wsp1:PolicyReference URI="#NewWebServicePortBindingPolicy"/> |
| <operation name="sample_operation"> |
| <input> |
| <wsp1:PolicyReference URI="#NewWebServicePortBinding_sample_operation_Input_Policy"/> |
| </input> |
| <output> |
| <wsp1:PolicyReference URI="#NewWebServicePortBinding_sample_operation_Output_Policy"/> |
| </output> |
| </operation> |
| </binding> |
| <service name="NewWebServiceService"> |
| <port name="NewWebServicePort" binding="tns:NewWebServicePortBinding"/> |
| </service> |
| <wsp1:Policy wsu:Id="NewWebServicePortBindingPolicy"> |
| <wsp1:ExactlyOne> |
| <wsp1:All> |
| <wsam:Addressing wsp1:Optional="false"/> |
| <sp1:Wss11> |
| <wsp1:Policy> |
| <sp1:MustSupportRefIssuerSerial/> |
| <sp1:MustSupportRefThumbprint/> |
| <sp1:MustSupportRefEncryptedKey/> |
| <sp1:MustSupportRefKeyIdentifier/> |
| </wsp1:Policy> |
| </sp1:Wss11> |
| <sp1:Trust13> |
| <wsp1:Policy> |
| <sp1:MustSupportIssuedTokens/> |
| <sp1:RequireClientEntropy/> |
| <sp1:RequireServerEntropy/> |
| </wsp1:Policy> |
| </sp1:Trust13> |
| <sp1:SymmetricBinding> |
| <wsp1:Policy> |
| <sp1:ProtectionToken> |
| <wsp1:Policy> |
| <sp1:X509Token sp1:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Always"> |
| <wsp1:Policy> |
| <sp1:WssX509V3Token10/> |
| <sp1:RequireIssuerSerialReference/> |
| </wsp1:Policy> |
| </sp1:X509Token> |
| </wsp1:Policy> |
| </sp1:ProtectionToken> |
| <sp1:Layout> |
| <wsp1:Policy> |
| <sp1:Lax/> |
| </wsp1:Policy> |
| </sp1:Layout> |
| <sp1:IncludeTimestamp/> |
| <sp1:OnlySignEntireHeadersAndBody/> |
| <sp1:AlgorithmSuite> |
| <wsp1:Policy> |
| <sp1:Basic128/> |
| </wsp1:Policy> |
| </sp1:AlgorithmSuite> |
| </wsp1:Policy> |
| </sp1:SymmetricBinding> |
| <sp1:EndorsingSupportingTokens> |
| <wsp1:Policy> |
| <sp1:IssuedToken sp1:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"> |
| <sp1:RequestSecurityTokenTemplate> |
| <t1:TokenType>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1</t1:TokenType> |
| <t1:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</t1:KeyType> |
| <t1:KeySize>256</t1:KeySize> |
| </sp1:RequestSecurityTokenTemplate> |
| <wsp1:Policy> |
| <sp1:RequireInternalReference/> |
| </wsp1:Policy> |
| </sp1:IssuedToken> |
| </wsp1:Policy> |
| </sp1:EndorsingSupportingTokens> |
| </wsp1:All> |
| </wsp1:ExactlyOne> |
| </wsp1:Policy> |
| <wsp1:Policy wsu:Id="NewWebServicePortBinding_sample_operation_Input_Policy"> |
| <wsp1:ExactlyOne> |
| <wsp1:All> |
| <sp1:EncryptedParts> |
| <sp1:Body/> |
| </sp1:EncryptedParts> |
| <sp1:SignedParts> |
| <sp1:Body/> |
| <sp1:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="AckRequested" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| <sp1:Header Name="SequenceAcknowledgement" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| <sp1:Header Name="Sequence" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| <sp1:Header Name="CreateSequence" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| </sp1:SignedParts> |
| </wsp1:All> |
| </wsp1:ExactlyOne> |
| </wsp1:Policy> |
| <wsp1:Policy wsu:Id="NewWebServicePortBinding_sample_operation_Output_Policy"> |
| <wsp1:ExactlyOne> |
| <wsp1:All> |
| <sp1:EncryptedParts> |
| <sp1:Body/> |
| </sp1:EncryptedParts> |
| <sp1:SignedParts> |
| <sp1:Body/> |
| <sp1:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/> |
| <sp1:Header Name="AckRequested" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| <sp1:Header Name="SequenceAcknowledgement" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| <sp1:Header Name="Sequence" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| <sp1:Header Name="CreateSequence" Namespace="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/> |
| </sp1:SignedParts> |
| </wsp1:All> |
| </wsp1:ExactlyOne> |
| </wsp1:Policy> |
| </definitions> |