axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r698451 - /webservices/axis2/trunk/java/modules/mtompolicy/test-resources/policy-mtom-optional.xml
Date Wed, 24 Sep 2008 07:41:39 GMT
Author: nandana
Date: Wed Sep 24 00:41:38 2008
New Revision: 698451

URL: http://svn.apache.org/viewvc?rev=698451&view=rev
Log:
AXIS2-4046 test policy to check wsp:Optional attribute in MTOMAssertion

Added:
    webservices/axis2/trunk/java/modules/mtompolicy/test-resources/policy-mtom-optional.xml

Added: webservices/axis2/trunk/java/modules/mtompolicy/test-resources/policy-mtom-optional.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/mtompolicy/test-resources/policy-mtom-optional.xml?rev=698451&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/mtompolicy/test-resources/policy-mtom-optional.xml
(added)
+++ webservices/axis2/trunk/java/modules/mtompolicy/test-resources/policy-mtom-optional.xml
Wed Sep 24 00:41:38 2008
@@ -0,0 +1,27 @@
+<?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.
+  -->
+ 
+<wsp:Policy wsu:Id="SigEncr" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
+	<wsp:ExactlyOne>
+		<wsp:All>
+			<wsoma:OptimizedMimeSerialization xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"
wsp:Optional="true"/>
+		</wsp:All>
+	</wsp:ExactlyOne>
+</wsp:Policy>



Mime
View raw message