ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1610173 - in /webservices/axiom/trunk: ./ aspects/core-aspects/src/main/java/org/apache/axiom/core/ modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/ systests/ sys...
Date Sun, 13 Jul 2014 12:03:40 GMT
Author: veithen
Date: Sun Jul 13 12:03:40 2014
New Revision: 1610173

URL: http://svn.apache.org/r1610173
Log:
Fix an interoperability issue with WSS4J.

Added:
    webservices/axiom/trunk/systests/wss4j-tests/   (with props)
    webservices/axiom/trunk/systests/wss4j-tests/pom.xml   (with props)
    webservices/axiom/trunk/systests/wss4j-tests/src/
    webservices/axiom/trunk/systests/wss4j-tests/src/test/
    webservices/axiom/trunk/systests/wss4j-tests/src/test/java/
    webservices/axiom/trunk/systests/wss4j-tests/src/test/java/WSS4JTest.java   (with props)
    webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/
    webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/crypto.properties
    webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope1.xml   (with
props)
    webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope2.xml   (with
props)
Modified:
    webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/CoreParentNodeSupport.aj
    webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java
    webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
    webservices/axiom/trunk/pom.xml
    webservices/axiom/trunk/systests/jboss-tests/pom.xml
    webservices/axiom/trunk/systests/osgi-tests/pom.xml
    webservices/axiom/trunk/systests/pom.xml

Modified: webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/CoreParentNodeSupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/CoreParentNodeSupport.aj?rev=1610173&r1=1610172&r2=1610173&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/CoreParentNodeSupport.aj
(original)
+++ webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/CoreParentNodeSupport.aj
Sun Jul 13 12:03:40 2014
@@ -53,9 +53,6 @@ public aspect CoreParentNodeSupport {
      * @param omNode
      */
     public void CoreParentNode.coreSetFirstChild(CoreChildNode firstChild) {
-        if (firstChild != null) {
-            firstChild.coreSetParent(this);
-        }
         this.firstChild = firstChild;
     }
 

Modified: webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java?rev=1610173&r1=1610172&r2=1610173&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java
(original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java
Sun Jul 13 12:03:40 2014
@@ -610,11 +610,11 @@ public abstract class NodeImpl extends I
             NodeImpl siblingImpl = (NodeImpl) sibling;
             siblingImpl.internalSetNextSibling(this);
             NodeImpl previousSibling = internalGetPreviousSibling();
+            siblingImpl.setParent(parentNode, false);
             if (previousSibling == null) {
                 parentNode.coreSetFirstChild((CoreChildNode)siblingImpl);
                 siblingImpl.internalSetPreviousSibling(null);
             } else {
-                siblingImpl.setParent(parentNode, false);
                 previousSibling.setNextOMSibling((OMNode)siblingImpl);
                 siblingImpl.setPreviousOMSibling((OMNode)previousSibling);
             }

Modified: webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java?rev=1610173&r1=1610172&r2=1610173&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
(original)
+++ webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
Sun Jul 13 12:03:40 2014
@@ -166,12 +166,12 @@ public abstract class OMNodeImpl extends
         }
         OMNodeImpl siblingImpl = (OMNodeImpl)parent.prepareNewChild(sibling);
         OMNodeImpl previousSibling = (OMNodeImpl)coreGetPreviousSibling();
+        siblingImpl.coreSetParent(parent);
         if (previousSibling == null) {
             parent.coreSetFirstChild(siblingImpl);
             siblingImpl.coreSetNextSibling(this);
             siblingImpl.coreSetPreviousSibling(null);
         } else {
-            siblingImpl.coreSetParent(parent);
             siblingImpl.coreSetNextSibling(this);
             previousSibling.coreSetNextSibling(siblingImpl);
             siblingImpl.coreSetPreviousSibling(previousSibling);

Modified: webservices/axiom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1610173&r1=1610172&r2=1610173&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Sun Jul 13 12:03:40 2014
@@ -287,7 +287,17 @@
             <dependency>
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
-                <version>4.9</version>
+                <version>4.11</version>
+            </dependency>
+            <dependency>
+                <groupId>org.hamcrest</groupId>
+                <artifactId>hamcrest-core</artifactId>
+                <version>1.3</version>
+            </dependency>
+            <dependency>
+                <groupId>org.hamcrest</groupId>
+                <artifactId>hamcrest-library</artifactId>
+                <version>1.3</version>
             </dependency>
             <dependency>
                 <groupId>xmlunit</groupId>

Modified: webservices/axiom/trunk/systests/jboss-tests/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/jboss-tests/pom.xml?rev=1610173&r1=1610172&r2=1610173&view=diff
==============================================================================
--- webservices/axiom/trunk/systests/jboss-tests/pom.xml (original)
+++ webservices/axiom/trunk/systests/jboss-tests/pom.xml Sun Jul 13 12:03:40 2014
@@ -66,13 +66,6 @@
         </testResources>
         <plugins>
             <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-            <plugin>
                 <artifactId>maven-dependency-plugin</artifactId>
                 <executions>
                     <execution>

Modified: webservices/axiom/trunk/systests/osgi-tests/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/osgi-tests/pom.xml?rev=1610173&r1=1610172&r2=1610173&view=diff
==============================================================================
--- webservices/axiom/trunk/systests/osgi-tests/pom.xml (original)
+++ webservices/axiom/trunk/systests/osgi-tests/pom.xml Sun Jul 13 12:03:40 2014
@@ -140,13 +140,6 @@
                 </executions>
             </plugin>
             <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-            <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     <redirectTestOutputToFile>true</redirectTestOutputToFile>

Modified: webservices/axiom/trunk/systests/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/pom.xml?rev=1610173&r1=1610172&r2=1610173&view=diff
==============================================================================
--- webservices/axiom/trunk/systests/pom.xml (original)
+++ webservices/axiom/trunk/systests/pom.xml Sun Jul 13 12:03:40 2014
@@ -31,6 +31,13 @@
     <build>
         <plugins>
             <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
                 <artifactId>maven-deploy-plugin</artifactId>
                 <configuration>
                     <skip>true</skip>
@@ -51,5 +58,6 @@
         <module>jboss-tests</module>
         <module>osgi-tests</module>
         <module>spring-ws-tests</module>
+        <module>wss4j-tests</module>
     </modules>
 </project>

Propchange: webservices/axiom/trunk/systests/wss4j-tests/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Jul 13 12:03:40 2014
@@ -0,0 +1,4 @@
+.classpath
+.project
+target
+.settings

Added: webservices/axiom/trunk/systests/wss4j-tests/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/wss4j-tests/pom.xml?rev=1610173&view=auto
==============================================================================
--- webservices/axiom/trunk/systests/wss4j-tests/pom.xml (added)
+++ webservices/axiom/trunk/systests/wss4j-tests/pom.xml Sun Jul 13 12:03:40 2014
@@ -0,0 +1,125 @@
+<?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.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.ws.commons.axiom</groupId>
+        <artifactId>systests</artifactId>
+        <version>1.2.15-SNAPSHOT</version>
+    </parent>
+    <artifactId>wss4j-tests</artifactId>
+    <name>WSS4J Tests</name>
+    <dependencies>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>axiom-api</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>axiom-dom</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.security</groupId>
+            <artifactId>wss4j</artifactId>
+            <version>1.6.16</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.hamcrest</groupId>
+            <artifactId>hamcrest-library</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-clean-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <!-- Need to clean the keystore because keytool-maven-plugin is
not idempotent and fails
+                             when executing mvn install twice in a row. Note that keytool-maven-plugin
also has
+                             a "clean" goal but we don't use it because it generates a warning
if the keystore
+                             doesn't exist. -->
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                        <configuration>
+                            <excludeDefaultDirectories>true</excludeDefaultDirectories>
+                            <filesets>
+                                <fileset>
+                                    <directory>${project.build.directory}</directory>
+                                    <includes>
+                                        <include>keystore</include>
+                                    </includes>
+                                </fileset>
+                            </filesets>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>keytool-maven-plugin</artifactId>
+                <version>1.5</version>
+                <executions>
+                    <execution>
+                        <id>generate-key-pair</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>generateKeyPair</goal>
+                        </goals>
+                        <configuration>
+                            <alias>key1</alias>
+                            <dname>cn=dummy</dname>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>generate-secret-key</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>generateSecretKey</goal>
+                        </goals>
+                        <configuration>
+                            <alias>key2</alias>
+                            <keyalg>DES</keyalg>
+                            <keysize>56</keysize>
+                        </configuration>
+                    </execution>
+                </executions>
+                <configuration>
+                    <keystore>${project.build.directory}/keystore</keystore>
+                    <storetype>JCEKS</storetype>
+                    <storepass>password</storepass>
+                    <keypass>password</keypass>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: webservices/axiom/trunk/systests/wss4j-tests/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/trunk/systests/wss4j-tests/src/test/java/WSS4JTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/wss4j-tests/src/test/java/WSS4JTest.java?rev=1610173&view=auto
==============================================================================
--- webservices/axiom/trunk/systests/wss4j-tests/src/test/java/WSS4JTest.java (added)
+++ webservices/axiom/trunk/systests/wss4j-tests/src/test/java/WSS4JTest.java Sun Jul 13 12:03:40
2014
@@ -0,0 +1,102 @@
+/*
+ * 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.
+ */
+import static org.hamcrest.Matchers.hasSize;
+import static org.junit.Assert.assertThat;
+
+import java.util.Vector;
+
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMMetaFactory;
+import org.apache.axiom.om.OMXMLBuilderFactory;
+import org.apache.axiom.soap.SOAPMessage;
+import org.apache.ws.security.WSConstants;
+import org.apache.ws.security.WSEncryptionPart;
+import org.apache.ws.security.WSSecurityEngine;
+import org.apache.ws.security.WSSecurityException;
+import org.apache.ws.security.components.crypto.Crypto;
+import org.apache.ws.security.components.crypto.CryptoFactory;
+import org.apache.ws.security.message.WSSecEncrypt;
+import org.apache.ws.security.message.WSSecHeader;
+import org.apache.ws.security.message.WSSecSignature;
+import org.junit.Before;
+import org.junit.Test;
+import org.w3c.dom.Document;
+
+public class WSS4JTest {
+    private Crypto crypto;
+    
+    @Before
+    public void setUp() throws WSSecurityException {
+        crypto = CryptoFactory.getInstance();
+    }
+    
+    private static SOAPMessage load(String file) {
+        OMMetaFactory metaFactory = OMAbstractFactory.getMetaFactory(OMAbstractFactory.FEATURE_DOM);
+        return OMXMLBuilderFactory.createSOAPModelBuilder(metaFactory,
+                WSS4JTest.class.getResourceAsStream(file), null).getSOAPMessage();
+    }
+    
+    private void testSignature(String file, Vector<WSEncryptionPart> parts) throws
Exception {
+        WSSecSignature sign = new WSSecSignature();
+        sign.setUserInfo("key1", "password");
+        sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
+        sign.setParts(parts);
+
+        SOAPMessage message = load(file);
+        Document doc = (Document)message;
+        
+        WSSecHeader secHeader = new WSSecHeader();
+        secHeader.insertSecurityHeader(doc);
+        
+        Document signedDoc = sign.build(doc, crypto, secHeader);
+        
+        WSSecurityEngine secEngine = new WSSecurityEngine();
+        assertThat(secEngine.processSecurityHeader(signedDoc, null, null, crypto), hasSize(2));
+    }
+    
+    @Test
+    public void testSignHeaderAndBody() throws Exception {
+        Vector<WSEncryptionPart> parts = new Vector<WSEncryptionPart>();
+        parts.add(new WSEncryptionPart("header", "urn:ns1", ""));
+        parts.add(new WSEncryptionPart("Body", "http://schemas.xmlsoap.org/soap/envelope/",
""));
+        testSignature("envelope1.xml", parts);
+    }
+    
+    @Test
+    public void testSignPartById() throws Exception {
+        Vector<WSEncryptionPart> parts = new Vector<WSEncryptionPart>();
+        parts.add(new WSEncryptionPart("my-id"));
+        testSignature("envelope2.xml", parts);
+    }
+    
+    @Test
+    public void testEncryptHeader() throws Exception {
+        Vector<WSEncryptionPart> parts = new Vector<WSEncryptionPart>();
+        parts.add(new WSEncryptionPart("header", "urn:ns1", "Header"));
+        WSSecEncrypt encrypt = new WSSecEncrypt();
+        encrypt.setUserInfo("key2", "password");
+        encrypt.setEncryptSymmKey(false);
+        encrypt.setParts(parts);
+        SOAPMessage message = load("envelope1.xml");
+        Document doc = (Document)message;
+        WSSecHeader secHeader = new WSSecHeader();
+        secHeader.insertSecurityHeader(doc);
+        encrypt.build(doc, crypto, secHeader);
+    }
+}

Propchange: webservices/axiom/trunk/systests/wss4j-tests/src/test/java/WSS4JTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/crypto.properties
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/crypto.properties?rev=1610173&view=auto
==============================================================================
--- webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/crypto.properties (added)
+++ webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/crypto.properties Sun
Jul 13 12:03:40 2014
@@ -0,0 +1,23 @@
+#
+# 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.
+#
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=JCEKS
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=cn=dummy
+org.apache.ws.security.crypto.merlin.file=target/keystore

Added: webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope1.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope1.xml?rev=1610173&view=auto
==============================================================================
--- webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope1.xml (added)
+++ webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope1.xml Sun Jul
13 12:03:40 2014
@@ -0,0 +1,31 @@
+<?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.
+  -->
+<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:ns1"
xmlns:ns2="urn:ns2">
+    <soap:Header>
+        <ns1:header>
+            <someStuff/>
+        </ns1:header> 
+    </soap:Header>
+    <soap:Body>
+        <ns2:operation>
+            <otherStuff/>
+        </ns2:operation>
+    </soap:Body>
+</soap:Envelope>
\ No newline at end of file

Propchange: webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope2.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope2.xml?rev=1610173&view=auto
==============================================================================
--- webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope2.xml (added)
+++ webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope2.xml Sun Jul
13 12:03:40 2014
@@ -0,0 +1,26 @@
+<?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.
+  -->
+<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
+    <soap:Body>
+        <operation>
+            <test Id="my-id">test</test>
+        </operation>
+    </soap:Body>
+</soap:Envelope>
\ No newline at end of file

Propchange: webservices/axiom/trunk/systests/wss4j-tests/src/test/resources/envelope2.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message