geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r732219 - in /geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests: ./ jaxws-ejb-sec/ jaxws-ejb-sec/src/ jaxws-ejb-sec/src/main/ jaxws-ejb-sec/src/main/java/ jaxws-ejb-sec/src/main/java/org/ jaxws-ejb-sec/src/main/java/org/apac...
Date Wed, 07 Jan 2009 04:26:14 GMT
Author: gawor
Date: Tue Jan  6 20:26:13 2009
New Revision: 732219

URL: http://svn.apache.org/viewvc?rev=732219&view=rev
Log:
test for specifying secure http methods for ejb-based web services

Added:
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java   (with props)
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml   (with props)
Modified:
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/pom.xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml Tue Jan  6 20:26:13 2009
@@ -0,0 +1,127 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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/maven-v4_0_0.xsd">
+    
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.testsuite</groupId>
+        <artifactId>jaxws-tests</artifactId>
+        <version>2.2-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>jaxws-ejb-sec</artifactId>
+    <name>Geronimo TestSuite :: WebServices TestSuite :: Secure JAX-WS EJB</name>
+    <packaging>jar</packaging>
+
+    <description>This project executes testcases for your testsuite</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ejb_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        
+        <dependency>
+          <groupId>org.apache.openejb</groupId>
+          <artifactId>ejb31-api-experimental</artifactId>
+          <scope>provided</scope>
+       </dependency>
+        
+        <dependency>
+            <groupId>org.apache.geronimo.modules</groupId>
+            <artifactId>geronimo-openejb</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.framework</groupId>
+            <artifactId>geronimo-kernel</artifactId>
+            <version>${version}</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.framework</groupId>
+            <artifactId>geronimo-security</artifactId>
+            <version>${version}</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.buildsupport</groupId>
+            <artifactId>geronimo-maven-plugin</artifactId>
+            <version>${version}</version>
+            <scope>provided</scope>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <systemProperties>
+                        <property>
+                            <name>webAppName</name>
+                            <value>${artifactId}-${version}</value>
+                        </property>
+                    </systemProperties>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>geronimo-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>deploy-ejb</id>
+                        <phase>pre-integration-test</phase>
+                        <goals>
+                            <goal>deploy-module</goal>
+                        </goals>
+                        <configuration>
+                            <moduleArchive>${project.build.directory}/${artifactId}-${version}.jar</moduleArchive>
+                        </configuration>
+                    </execution>
+                            
+                    <execution>
+                        <id>undeploy-ejb-as-moduleId</id>
+                        <phase>post-integration-test</phase>
+                        <goals>
+                            <goal>undeploy-module</goal>
+                        </goals>
+                        <configuration>
+                            <moduleId>${groupId}/${artifactId}/${version}/jar</moduleId>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
+

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java Tue Jan  6 20:26:13 2009
@@ -0,0 +1,59 @@
+/**
+ *  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.
+ */
+package org.apache.geronimo.test;
+
+import java.util.logging.Logger;
+
+import javax.annotation.Resource;
+import javax.ejb.Remote;
+import javax.ejb.Stateless;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.WebServiceContext;
+
+@WebService(wsdlLocation="wsdl/greeter.wsdl")
+@Stateless
+@Remote(JAXWSGreeter.class)
+@SOAPBinding(style=SOAPBinding.Style.RPC, 
+             use=SOAPBinding.Use.LITERAL,
+             parameterStyle=SOAPBinding.ParameterStyle.WRAPPED
+)
+public class JAXWSBean implements JAXWSGreeter { 
+
+    private static final Logger LOG =
+        Logger.getLogger(JAXWSBean.class.getName());
+
+    @Resource
+    private WebServiceContext context;
+
+    public String greetMe(String me) {
+        LOG.info("WebServiceContext: " + context);
+        LOG.info("Principal: " + context.getUserPrincipal());
+        LOG.info("Context: " + context.getMessageContext());
+
+        System.out.println("i'm a ejb ws: " + me);
+
+        return "Hello " + me;
+    }
+    
+    public String greetMeEjb(String me) {
+        return "Hello EJB " + me;
+    }
+    
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java Tue Jan  6 20:26:13 2009
@@ -0,0 +1,25 @@
+/**
+ *  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.
+ */
+package org.apache.geronimo.test;
+
+public interface JAXWSGreeter { 
+    
+    public String greetMeEjb(String me);
+
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/java/org/apache/geronimo/test/JAXWSGreeter.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml Tue Jan  6 20:26:13 2009
@@ -0,0 +1,57 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<ejb-jar version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
+  <display-name>JAXWSBean</display-name>
+  <enterprise-beans>
+    <session>
+      <display-name>BeanBasic</display-name>
+      <ejb-name>BeanBasic</ejb-name>
+      <ejb-class>org.apache.geronimo.test.JAXWSBean</ejb-class>
+      <session-type>Stateless</session-type>
+      <transaction-type>Container</transaction-type>
+    </session>
+
+    <session>
+      <display-name>BeanBasicAllowGet</display-name>
+      <ejb-name>BeanBasicAllowGet</ejb-name>
+      <ejb-class>org.apache.geronimo.test.JAXWSBean</ejb-class>
+      <session-type>Stateless</session-type>
+      <transaction-type>Container</transaction-type>
+    </session>
+
+    <session>
+      <display-name>BeanHttps</display-name>
+      <ejb-name>BeanHttps</ejb-name>
+      <ejb-class>org.apache.geronimo.test.JAXWSBean</ejb-class>
+      <session-type>Stateless</session-type>
+      <transaction-type>Container</transaction-type>
+    </session>
+
+    <session>
+      <display-name>BeanHttpsAllowGet</display-name>
+      <ejb-name>BeanHttpsAllowGet</ejb-name>
+      <ejb-class>org.apache.geronimo.test.JAXWSBean</ejb-class>
+      <session-type>Stateless</session-type>
+      <transaction-type>Container</transaction-type>
+    </session>
+  </enterprise-beans>
+
+</ejb-jar>

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml Tue Jan  6 20:26:13 2009
@@ -0,0 +1,78 @@
+<?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.
+-->
+<openejb-jar xmlns="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+  xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
+  xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+  xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+    <environment>
+        <moduleId>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>${pom.artifactId}</artifactId>
+            <version>${version}</version>
+            <type>jar</type>
+        </moduleId>
+    </environment>
+
+    <enterprise-beans>
+        <session>
+            <ejb-name>BeanBasic</ejb-name>
+            <web-service-address>/BeanBasic/ejb</web-service-address>
+            <web-service-security>
+                <security-realm-name>geronimo-admin</security-realm-name>
+                <transport-guarantee>NONE</transport-guarantee>
+                <auth-method>BASIC</auth-method>
+            </web-service-security>
+        </session>
+
+        <session>
+            <ejb-name>BeanBasicAllowGet</ejb-name>
+            <web-service-address>/BeanBasicAllowGet/ejb</web-service-address>
+            <web-service-security>
+                <security-realm-name>geronimo-admin</security-realm-name>
+                <transport-guarantee>NONE</transport-guarantee>
+                <auth-method>BASIC</auth-method>
+                <http-method>POST</http-method>
+            </web-service-security>
+        </session>
+
+        <session>
+            <ejb-name>BeanHttps</ejb-name>
+            <web-service-address>/BeanHttps/ejb</web-service-address>
+            <web-service-security>
+                <security-realm-name>geronimo-admin</security-realm-name>
+                <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+                <auth-method>NONE</auth-method>
+            </web-service-security>
+        </session>
+
+        <session>
+            <ejb-name>BeanHttpsAllowGet</ejb-name>
+            <web-service-address>/BeanHttpsAllowGet/ejb</web-service-address>
+            <web-service-security>
+                <security-realm-name>geronimo-admin</security-realm-name>
+                <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+                <auth-method>NONE</auth-method>
+                <http-method>POST</http-method>
+            </web-service-security>
+        </session>
+    </enterprise-beans>
+
+</openejb-jar>

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl Tue Jan  6 20:26:13 2009
@@ -0,0 +1,83 @@
+<?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:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://test.geronimo.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="JAXWSBeanService" targetNamespace="http://test.geronimo.apache.org/">
+  <types>
+        <schema targetNamespace="http://test.geronimo.apache.org/"
+                xmlns="http://www.w3.org/2001/XMLSchema" 
+                elementFormDefault="qualified">
+        </schema>
+  </types>
+  <message name="greetMeResponse">
+    <part name="return" type="xsd:string">
+    </part>
+  </message>
+  <message name="greetMe">
+    <part name="arg0" type="xsd:string">
+    </part>
+  </message>
+  <message name="greetMeEjbResponse">
+    <part name="return" type="xsd:string">
+    </part>
+  </message>
+  <message name="greetMeEjb">
+    <part name="arg0" type="xsd:string">
+    </part>
+  </message>
+  <portType name="JAXWSBean">
+    <operation name="greetMe">
+      <input message="tns:greetMe">
+    </input>
+      <output message="tns:greetMeResponse">
+    </output>
+    </operation>
+    <operation name="greetMeEjb">
+      <input message="tns:greetMeEjb">
+    </input>
+      <output message="tns:greetMeEjbResponse">
+    </output>
+    </operation>
+  </portType>
+  <binding name="JAXWSBeanPortBinding" type="tns:JAXWSBean">
+    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+    <operation name="greetMe">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body namespace="http://test.geronimo.apache.org/" use="literal"/>
+      </input>
+      <output>
+        <soap:body namespace="http://test.geronimo.apache.org/" use="literal"/>
+      </output>
+    </operation>
+    <operation name="greetMeEjb">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body namespace="http://test.geronimo.apache.org/" use="literal"/>
+      </input>
+      <output>
+        <soap:body namespace="http://test.geronimo.apache.org/" use="literal"/>
+      </output>
+    </operation>
+  </binding>
+  <service name="JAXWSBeanService">
+    <port binding="tns:JAXWSBeanPortBinding" name="JAXWSBeanPort">
+      <soap:address location="http://localhost:8080/JAXWSBean1/ejb"/>
+    </port>
+  </service>
+</definitions>

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/main/resources/wsdl/greeter.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java Tue Jan  6 20:26:13 2009
@@ -0,0 +1,274 @@
+/**
+ *  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.
+ */
+package org.apache.geronimo.testsuite.testset;
+
+import java.io.File;
+import java.io.InputStream;
+import java.io.StringReader;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.util.Iterator;
+import java.util.Map;
+
+import javax.net.ssl.HttpsURLConnection;
+import javax.wsdl.Definition;
+import javax.wsdl.PortType;
+import javax.wsdl.factory.WSDLFactory;
+import javax.wsdl.xml.WSDLReader;
+
+import org.apache.geronimo.testsupport.TestSupport;
+import org.testng.annotations.Test;
+import org.w3c.dom.Document;
+import org.w3c.dom.Text;
+import org.xml.sax.InputSource;
+
+public class JaxWSTest extends TestSupport {
+
+    private String baseHttpUrl = "http://localhost:8080/";
+    private String baseHttpsUrl = "https://localhost:8443/";
+
+    @Test
+    public void testInvokeBasic() throws Exception {
+        invokeBasic("BeanBasic/ejb");
+    }
+        
+    @Test
+    public void testInvokeBasicAllowGet() throws Exception {
+        invokeBasic("BeanBasicAllowGet/ejb");
+    }
+    
+    private void invokeBasic(String address) throws Exception {
+        URL url = new URL(baseHttpUrl + address);
+                
+        InputStream requestInput;
+        HttpURLConnection conn;
+        
+        // send request WITHOUT basic authentication info
+        requestInput = JaxWSTest.class.getResourceAsStream("/request1.xml");
+        assertNotNull("SOAP request not specified", requestInput);
+        
+        conn = (HttpURLConnection) url.openConnection();
+        try {
+            String reply = TestUtils.call(requestInput, conn);            
+            assertEquals("responseCode", 401, conn.getResponseCode());
+        } finally {
+            conn.disconnect();
+        }
+        
+        // send request WITH basic authentication info
+        requestInput = JaxWSTest.class.getResourceAsStream("/request1.xml");
+        assertNotNull("SOAP request not specified", requestInput);
+        
+        conn = (HttpURLConnection) url.openConnection();
+        conn.setRequestProperty("Authorization", TestUtils.getAuthorizationValue());
+        try {
+            checkResponse(requestInput, conn);
+        } finally {
+            conn.disconnect();
+        }
+    }
+    
+    @Test
+    public void testInvokeHttps() throws Exception {
+        invokeHttps("BeanHttps/ejb");
+    }
+    
+    @Test
+    public void testInvokeHttpsAllowGet() throws Exception {
+        invokeHttps("BeanHttpsAllowGet/ejb");
+    }
+    
+    private void invokeHttps(String address) throws Exception {
+        URL url;
+        InputStream requestInput;
+        
+        // send request over http
+        url = new URL(baseHttpUrl + address);
+        
+        requestInput = JaxWSTest.class.getResourceAsStream("/request1.xml");
+        assertNotNull("SOAP request not specified", requestInput);
+        
+        HttpURLConnection conn1 = (HttpURLConnection) url.openConnection();
+        try {
+            String reply = TestUtils.call(requestInput, conn1);            
+            assertEquals("responseCode", 403, conn1.getResponseCode());
+        } finally {
+            conn1.disconnect();
+        }
+        
+        // send requests over https        
+        String oldTrustStore = System.getProperty("javax.net.ssl.trustStore");
+        String oldTrustStorePassword = System.getProperty("javax.net.ssl.trustStorePassword");
+        
+        File keyStore = new File(TestUtils.getGeronimoHome(), "var/security/keystores/geronimo-default");        
+        System.setProperty("javax.net.ssl.trustStore", keyStore.getAbsolutePath());
+        System.setProperty("javax.net.ssl.trustStorePassword", "secret");
+        
+        url = new URL(baseHttpsUrl + address);
+        
+        requestInput = JaxWSTest.class.getResourceAsStream("/request1.xml");
+        assertNotNull("SOAP request not specified", requestInput);
+        
+        HttpsURLConnection conn2 = (HttpsURLConnection) url.openConnection();
+        conn2.setHostnameVerifier(new TestUtils.TestHostnameVerifier());
+        try {
+            checkResponse(requestInput, conn2);
+        } finally {
+            TestUtils.unset("javax.net.ssl.trustStore", oldTrustStore);
+            TestUtils.unset("javax.net.ssl.trustStorePassword", oldTrustStorePassword);
+            
+            conn2.disconnect();
+        }
+    }
+
+    private void checkResponse(InputStream requestInput, HttpURLConnection conn) throws Exception {
+        String reply = TestUtils.call(requestInput, conn);
+        
+        assertEquals("responseCode", 200, conn.getResponseCode());
+        String contentType = conn.getHeaderField("Content-Type");
+        assertTrue("contentType", contentType.indexOf("text/xml") != -1);
+                    
+        InputSource is = new InputSource(new StringReader(reply));
+        Document doc = TestUtils.parseMessage(is);
+        
+        Text replyMsg = TestUtils.findText(doc.getDocumentElement(), "Hello foo bar");
+        assertTrue("reply message", replyMsg != null);
+    }
+    
+    @Test
+    public void testWSDLBasic() throws Exception {
+        URL url = new URL(baseHttpUrl + "BeanBasic/ejb?wsdl");
+        
+        HttpURLConnection conn;
+        
+        // get wsdl WITHOUT basic authentication info
+        conn = (HttpURLConnection) url.openConnection();
+        try {
+            String reply = TestUtils.call(conn);            
+            assertEquals("responseCode", 401, conn.getResponseCode());
+        } finally {
+            conn.disconnect();
+        }
+        
+        // get wsdl WITH basic authentication info
+        conn = (HttpURLConnection) url.openConnection();
+        conn.setRequestProperty("Authorization", TestUtils.getAuthorizationValue());
+        try {
+            checkWSDL(conn);
+        } finally {
+            conn.disconnect();
+        }
+    }
+    
+    @Test
+    public void testWSDLBasicAllowGet() throws Exception {
+        URL url = new URL(baseHttpUrl + "BeanBasicAllowGet/ejb?wsdl");
+        
+        HttpURLConnection conn;
+        
+        // get wsdl WITHOUT basic authentication info
+        conn = (HttpURLConnection) url.openConnection();
+        try {
+            checkWSDL(conn);
+        } finally {
+            conn.disconnect();
+        }
+    }
+    
+    @Test
+    public void testWSDLHttps() throws Exception {
+        URL url;
+        
+        // get wsdl over http
+        url = new URL(baseHttpUrl + "BeanHttps/ejb?wsdl");
+                
+        HttpURLConnection conn1 = (HttpURLConnection) url.openConnection();
+        try {
+            String reply = TestUtils.call(conn1);            
+            assertEquals("responseCode", 403, conn1.getResponseCode());
+        } finally {
+            conn1.disconnect();
+        }
+        
+        // get wsdl over https        
+        String oldTrustStore = System.getProperty("javax.net.ssl.trustStore");
+        String oldTrustStorePassword = System.getProperty("javax.net.ssl.trustStorePassword");
+        
+        File keyStore = new File(TestUtils.getGeronimoHome(), "var/security/keystores/geronimo-default");        
+        System.setProperty("javax.net.ssl.trustStore", keyStore.getAbsolutePath());
+        System.setProperty("javax.net.ssl.trustStorePassword", "secret");
+        
+        url = new URL(baseHttpsUrl + "BeanHttps/ejb?wsdl");
+                
+        HttpsURLConnection conn2 = (HttpsURLConnection) url.openConnection();
+        conn2.setHostnameVerifier(new TestUtils.TestHostnameVerifier());
+        try {
+            checkWSDL(conn2);
+        } finally {
+            TestUtils.unset("javax.net.ssl.trustStore", oldTrustStore);
+            TestUtils.unset("javax.net.ssl.trustStorePassword", oldTrustStorePassword);
+            
+            conn2.disconnect();
+        }
+    }
+    
+    @Test
+    public void testWSDLHttpsAllowGet() throws Exception {
+        URL url;
+        
+        // get wsdl over http
+        url = new URL(baseHttpUrl + "BeanHttpsAllowGet/ejb?wsdl");
+                
+        HttpURLConnection conn1 = (HttpURLConnection) url.openConnection();
+        try {
+            checkWSDL(conn1);
+        } finally {
+            conn1.disconnect();
+        }
+    }
+    
+    private void checkWSDL(HttpURLConnection conn) throws Exception {
+        conn.setConnectTimeout(30 * 1000);
+        conn.setReadTimeout(30 * 1000);
+        conn.setUseCaches(false);
+
+        WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
+        wsdlReader.setFeature("javax.wsdl.importDocuments", false);
+        Definition def = wsdlReader.readWSDL(null, new InputSource(conn.getInputStream()));
+
+        System.out.println("WSDL: " + def);
+
+        assertTrue(def.getPortTypes().size() > 0);
+
+        boolean found = false;
+
+        Iterator iter = def.getPortTypes().entrySet().iterator();
+        while (iter.hasNext()) {
+            PortType portType = 
+                (PortType)((Map.Entry)iter.next()).getValue();
+                
+            if (found == false &&
+                portType.getOperation("greetMe", null, null) != null) {
+                found = true;
+            }
+        }
+
+        assertTrue("Operation not found", found);
+    }
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java Tue Jan  6 20:26:13 2009
@@ -0,0 +1,196 @@
+/**
+ *  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.
+ */
+package org.apache.geronimo.testsuite.testset;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.net.HttpURLConnection;
+
+import javax.net.ssl.HostnameVerifier;
+import javax.net.ssl.SSLSession;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.apache.geronimo.crypto.encoders.Base64;
+import org.apache.geronimo.mavenplugins.geronimo.ServerProxy;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.w3c.dom.Text;
+import org.xml.sax.InputSource;
+
+public class TestUtils {
+
+    private static final String geronimoHome;
+    
+    static {
+        geronimoHome = initGeronimoHome();
+    }
+
+    private static String initGeronimoHome() {
+        ServerProxy server = null;
+        try {
+            server = new ServerProxy("localhost", 1099, "system", "manager");
+        } catch (Exception e) {
+            throw new RuntimeException("Unable to setup ServerProxy", e);
+        }
+
+        String home = server.getGeronimoHome();
+        Throwable exception = server.getLastError();
+
+        server.closeConnection();
+
+        if (exception != null) {
+            throw new RuntimeException("Failed to get Geronimo home", exception);
+        } else {
+            return home;
+        }
+    }
+
+    public static String getGeronimoHome() {
+        return geronimoHome;
+    }
+    
+    public static void unset(String property, String value) {
+        if (value == null) {
+            System.clearProperty(property);        
+        } else {
+            System.setProperty(property, value);
+        }
+    }
+    
+    public static Document parseMessage(InputSource is) throws Exception {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        DocumentBuilder db = dbf.newDocumentBuilder();
+
+        Document doc = db.parse(is);
+        return doc;
+    }
+
+    public static Element findElement(Element element, String name) {
+        NodeList list = element.getChildNodes();
+        for (int i = 0; i < list.getLength(); i++) {
+            Node child = (Node)list.item(i);
+            if (child instanceof Element) {
+                Element childEl = (Element)child;
+                if (name.equals(childEl.getLocalName())) {
+                    return childEl;
+                } else {
+                    childEl = findElement(childEl, name);
+                    if (childEl != null) {
+                        return childEl;
+                    }
+                }
+            }
+        }
+        return null;
+    }
+    
+    public static Text findText(Element element, String value) {
+        NodeList list = element.getChildNodes();
+        for (int i = 0; i < list.getLength(); i++) {
+            Node child = (Node)list.item(i);
+            if (child instanceof Text) {
+                Text text = (Text)child;
+                if (text.getData().indexOf(value) != -1) {
+                    return text;
+                }
+            } else if (child instanceof Element) {
+                Element childEl = (Element)child;
+                Text text = findText(childEl, value);
+                if (text != null) {
+                    return text;
+                }
+            }
+        }   
+        return null;
+    }
+    
+    public static String getAuthorizationValue() {
+        return getAuthorizationValue("system", "manager");
+    }
+    
+    public static String getAuthorizationValue(String user, String password) {
+        String userPassword = user + ":" + password;
+        byte[] encodedUserPassword = Base64.encode(userPassword.getBytes());
+        String encodedUserPasswordStr = new String(encodedUserPassword, 0, encodedUserPassword.length);
+        return "Basic " + encodedUserPasswordStr;
+    }
+
+    public static String call(HttpURLConnection conn) throws IOException {
+        return call(null, conn);
+    }
+    
+    public static String call(InputStream requestInput, HttpURLConnection conn) throws IOException {        
+        conn.setConnectTimeout(30 * 1000);
+        conn.setReadTimeout(30 * 1000);
+        conn.setUseCaches(false);
+        
+        if (requestInput != null) {
+            conn.setDoOutput(true);
+            conn.setDoInput(true);        
+            conn.setRequestMethod("POST");
+            conn.setRequestProperty("Content-Type", "text/xml");
+
+            OutputStream out = conn.getOutputStream();
+
+            byte[] data = new byte[1024];
+            int read = 0;
+            while ((read = requestInput.read(data, 0, data.length)) != -1) {
+                out.write(data, 0, read);
+            }
+
+            requestInput.close();
+
+            out.flush();
+            out.close();
+        }
+
+        InputStream is = null;
+        
+        try {
+            is = conn.getInputStream();
+        } catch (IOException e) {
+            is = conn.getErrorStream();
+        }
+        
+        StringBuffer buf = new StringBuffer();
+        BufferedReader in = new BufferedReader(new InputStreamReader(is));
+        String inputLine;
+        while ((inputLine = in.readLine()) != null) {
+            System.out.println(inputLine);
+            buf.append(inputLine);
+        }
+        in.close();
+        
+        return buf.toString();
+    }
+
+    public static class TestHostnameVerifier implements HostnameVerifier {
+        public boolean verify(String hostname, SSLSession session) {
+            return true;
+        }
+    }
+
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml?rev=732219&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml Tue Jan  6 20:26:13 2009
@@ -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>
+      <x:greetMe xmlns:x="http://test.geronimo.apache.org/">
+        <arg0>foo bar</arg0>
+      </x:greetMe>
+   </soap:Body>
+</soap:Envelope>

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/resources/request1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/pom.xml?rev=732219&r1=732218&r2=732219&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/pom.xml (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/pom.xml Tue Jan  6 20:26:13 2009
@@ -78,6 +78,7 @@
         <module>jaxws-war</module>
         <module>jaxws-client</module>
         <module>jaxws-ejb</module>
+        <module>jaxws-ejb-sec</module>
         <module>jaxws-rest-war</module>
         <module>jaxws-partial</module>
     </modules>



Mime
View raw message