geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r509765 [2/2] - in /geronimo/server/trunk: assemblies/geronimo-jetty6-jee5/src/main/var/config/ assemblies/geronimo-tomcat6-jee5/src/main/var/config/ configs/cxf-deployer/src/plan/ configs/cxf/ configs/jaxws-deployer/ configs/openejb-deploy...
Date Tue, 20 Feb 2007 21:42:09 GMT
Modified: geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java?view=diff&rev=509765&r1=509764&r2=509765
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java (original)
+++ geronimo/server/trunk/modules/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client/JAXWSServiceReference.java Tue Feb 20 13:42:07 2007
@@ -1,172 +1,174 @@
-/**
- *  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.jaxws.client;
-
-import org.apache.geronimo.naming.reference.SimpleReference;
-import org.apache.geronimo.naming.reference.ClassLoaderAwareReference;
-import org.apache.geronimo.naming.reference.KernelAwareReference;
-import org.apache.geronimo.kernel.Kernel;
-import org.apache.geronimo.jaxws.JAXWSAnnotationProcessor;
-import org.apache.geronimo.jaxws.JNDIResolver;
-import org.apache.geronimo.gbean.AbstractName;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import javax.naming.NamingException;
-import javax.xml.ws.Service;
-import javax.xml.ws.handler.HandlerResolver;
-import javax.xml.namespace.QName;
-import java.net.URL;
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.lang.reflect.InvocationTargetException;
-import java.util.Map;
-
-import net.sf.cglib.proxy.Callback;
-import net.sf.cglib.proxy.NoOp;
-import net.sf.cglib.proxy.Enhancer;
-import net.sf.cglib.proxy.MethodInterceptor;
-import net.sf.cglib.reflect.FastConstructor;
-import net.sf.cglib.reflect.FastClass;
-
-public abstract class JAXWSServiceReference extends SimpleReference implements ClassLoaderAwareReference, KernelAwareReference {
-    private static final Log LOG = LogFactory.getLog(JAXWSServiceReference.class);
-    private static final Class[] URL_SERVICE_NAME_CONSTRUCTOR =
-        new Class[] { URL.class, QName.class };
-    protected String serviceClassName;
-    protected ClassLoader classLoader;
-    protected AbstractName moduleName;
-    protected URI wsdlURI;
-    protected QName serviceQName;
-    private Kernel kernel;
-    protected String handlerChainsXML;
-    protected Map<Object, EndpointInfo> seiInfoMap;
-    protected String referenceClassName;
-
-    public JAXWSServiceReference(String handlerChainsXML, Map<Object, EndpointInfo> seiInfoMap, AbstractName name, QName serviceQName, URI wsdlURI, String referenceClassName, String serviceClassName) {
-        this.handlerChainsXML = handlerChainsXML;
-        this.seiInfoMap = seiInfoMap;
-        moduleName = name;
-        this.serviceQName = serviceQName;
-        this.wsdlURI = wsdlURI;
-        this.referenceClassName = referenceClassName;
-        this.serviceClassName = serviceClassName;
-    }
-
-    public void setClassLoader(ClassLoader classLoader) {
-        this.classLoader = classLoader;
-    }
-
-    public void setKernel(Kernel kernel) {
-        this.kernel = kernel;
-    }
-
-    private Class loadClass(String name) throws NamingException {
-        try {
-            return this.classLoader.loadClass(name);
-        } catch (ClassNotFoundException e) {
-            NamingException exception = new NamingException(
-                    "Count not load class " + name);
-            exception.initCause(e);
-            throw exception;
-        }
-    }
-
-    private URL getWsdlURL() {
-        if (this.wsdlURI == null) {
-            return null;
-        }
-        try {
-            return new URL(this.wsdlURI.toString());
-        } catch (MalformedURLException e1) {
-            // not a URL, assume it's a local reference
-            try {
-                URL moduleBaseUrl = (URL) this.kernel.getAttribute(
-                        this.moduleName, "configurationBaseUrl");
-                return new URL(moduleBaseUrl.toString() + this.wsdlURI.toString());
-            } catch (Exception e) {
-                // this should not happen
-                LOG.warn("Error constructing WSDL location", e);
-                return null;
-            }
-        }
-    }
-
-    private Class getReferenceClass() throws NamingException {
-        return (this.referenceClassName != null) ? loadClass(this.referenceClassName) : null;
-    }
-
-    public Object getContent() throws NamingException {
-        Service instance = null;
-        URL wsdlURL = getWsdlURL();
-        Class serviceClass = loadClass(this.serviceClassName);
-
-        if (Service.class.equals(serviceClass)) {
-            serviceClass = GenericService.class;
-        }
-
-        instance = createServiceProxy(serviceClass, this.classLoader, this.serviceQName, wsdlURL);
-
-        HandlerResolver handlerResolver = getHandlerResolver(serviceClass);
-        if(handlerResolver != null) {
-            instance.setHandlerResolver(handlerResolver);
-        }
-
-        Class referenceClass = getReferenceClass();
-        if (referenceClass != null && !Service.class.isAssignableFrom(referenceClass)) {
-            // do port lookup
-            return instance.getPort(referenceClass);
-        } else {
-            // return service
-            return instance;
-        }
-    }
-
-    protected abstract HandlerResolver getHandlerResolver(Class serviceClass);
-
-    private Service createServiceProxy(Class superClass, ClassLoader classLoader, QName serviceName, URL wsdlLocation) throws NamingException {
-        Callback callback = new PortMethodInterceptor(this.seiInfoMap);
-        Callback[] methodInterceptors = new Callback[]{NoOp.INSTANCE, callback};
-
-        Enhancer enhancer = new Enhancer();
-        enhancer.setClassLoader(classLoader);
-        enhancer.setSuperclass(superClass);
-        enhancer.setCallbackFilter(new PortMethodFilter());
-        enhancer.setCallbackTypes(new Class[]{NoOp.class, MethodInterceptor.class});
-        enhancer.setUseFactory(false);
-        enhancer.setUseCache(false);
-        Class serviceClass = enhancer.createClass();
-
-        Enhancer.registerCallbacks(serviceClass, methodInterceptors);
-
-        FastConstructor constructor =
-            FastClass.create(serviceClass).getConstructor(URL_SERVICE_NAME_CONSTRUCTOR);
-        Object[] arguments =
-            new Object[]{wsdlLocation, serviceName};
-
-        LOG.debug("Initializing service with: " + wsdlLocation + " " + serviceName);
-
-        try {
-            return (Service)constructor.newInstance(arguments);
-        } catch (InvocationTargetException e) {
-            NamingException exception = new NamingException("Could not construct service proxy");
-            exception.initCause(e.getTargetException());
-            throw exception;
-        }
-    }
-}
+/**
+ *  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.jaxws.client;
+
+import org.apache.geronimo.naming.reference.SimpleReference;
+import org.apache.geronimo.naming.reference.ClassLoaderAwareReference;
+import org.apache.geronimo.naming.reference.KernelAwareReference;
+import org.apache.geronimo.kernel.Kernel;
+import org.apache.geronimo.jaxws.JAXWSAnnotationProcessor;
+import org.apache.geronimo.jaxws.JNDIResolver;
+import org.apache.geronimo.gbean.AbstractName;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.naming.NamingException;
+import javax.xml.ws.Service;
+import javax.xml.ws.handler.HandlerResolver;
+import javax.xml.namespace.QName;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.lang.reflect.InvocationTargetException;
+import java.util.Map;
+
+import net.sf.cglib.proxy.Callback;
+import net.sf.cglib.proxy.NoOp;
+import net.sf.cglib.proxy.Enhancer;
+import net.sf.cglib.proxy.MethodInterceptor;
+import net.sf.cglib.reflect.FastConstructor;
+import net.sf.cglib.reflect.FastClass;
+
+public abstract class JAXWSServiceReference extends SimpleReference implements ClassLoaderAwareReference, KernelAwareReference {
+    private static final Log LOG = LogFactory.getLog(JAXWSServiceReference.class);
+    private static final Class[] URL_SERVICE_NAME_CONSTRUCTOR =
+        new Class[] { URL.class, QName.class };
+    protected String serviceClassName;
+    protected ClassLoader classLoader;
+    protected AbstractName moduleName;
+    protected URI wsdlURI;
+    protected QName serviceQName;
+    private Kernel kernel;
+    protected String handlerChainsXML;
+    protected Map<Object, EndpointInfo> seiInfoMap;
+    protected String referenceClassName;
+
+    public JAXWSServiceReference(String handlerChainsXML, Map<Object, EndpointInfo> seiInfoMap, AbstractName name, QName serviceQName, URI wsdlURI, String referenceClassName, String serviceClassName) {
+        this.handlerChainsXML = handlerChainsXML;
+        this.seiInfoMap = seiInfoMap;
+        moduleName = name;
+        this.serviceQName = serviceQName;
+        this.wsdlURI = wsdlURI;
+        this.referenceClassName = referenceClassName;
+        this.serviceClassName = serviceClassName;
+    }
+
+    public void setClassLoader(ClassLoader classLoader) {
+        this.classLoader = classLoader;
+    }
+
+    public void setKernel(Kernel kernel) {
+        this.kernel = kernel;
+    }
+
+    private Class loadClass(String name) throws NamingException {
+        try {
+            return this.classLoader.loadClass(name);
+        } catch (ClassNotFoundException e) {
+            NamingException exception = new NamingException(
+                    "Count not load class " + name);
+            exception.initCause(e);
+            throw exception;
+        }
+    }
+
+    private URL getWsdlURL() {
+        if (this.wsdlURI == null) {
+            return null;
+        }
+        try {
+            return new URL(this.wsdlURI.toString());
+        } catch (MalformedURLException e1) {
+            // not a URL, assume it's a local reference
+            try {
+                URL moduleBaseUrl = (URL) this.kernel.getAttribute(
+                        this.moduleName, "configurationBaseUrl");
+                return new URL(moduleBaseUrl.toString() + this.wsdlURI.toString());
+            } catch (Exception e) {
+                URL wsdlURL = this.classLoader.getResource(this.wsdlURI.toString());
+                if (wsdlURL == null) {
+                    LOG.warn("Error obtaining WSDL: " + this.wsdlURI, e);
+                }
+                return wsdlURL;
+            }
+        }
+    }
+
+    private Class getReferenceClass() throws NamingException {
+        return (this.referenceClassName != null) ? loadClass(this.referenceClassName) : null;
+    }
+
+    public Object getContent() throws NamingException {
+        Service instance = null;
+        URL wsdlURL = getWsdlURL();
+        Class serviceClass = loadClass(this.serviceClassName);
+
+        if (Service.class.equals(serviceClass)) {
+            serviceClass = GenericService.class;
+        }
+
+        instance = createServiceProxy(serviceClass, this.classLoader, this.serviceQName, wsdlURL);
+
+        HandlerResolver handlerResolver = getHandlerResolver(serviceClass);
+        if(handlerResolver != null) {
+            instance.setHandlerResolver(handlerResolver);
+        }
+
+        Class referenceClass = getReferenceClass();
+        if (referenceClass != null && !Service.class.isAssignableFrom(referenceClass)) {
+            // do port lookup
+            return instance.getPort(referenceClass);
+        } else {
+            // return service
+            return instance;
+        }
+    }
+
+    protected abstract HandlerResolver getHandlerResolver(Class serviceClass);
+
+    private Service createServiceProxy(Class superClass, ClassLoader classLoader, QName serviceName, URL wsdlLocation) throws NamingException {
+        Callback callback = new PortMethodInterceptor(this.seiInfoMap);
+        Callback[] methodInterceptors = new Callback[]{NoOp.INSTANCE, callback};
+
+        Enhancer enhancer = new Enhancer();
+        enhancer.setClassLoader(classLoader);
+        enhancer.setSuperclass(superClass);
+        enhancer.setCallbackFilter(new PortMethodFilter());
+        enhancer.setCallbackTypes(new Class[]{NoOp.class, MethodInterceptor.class});
+        enhancer.setUseFactory(false);
+        enhancer.setUseCache(false);
+        Class serviceClass = enhancer.createClass();
+
+        Enhancer.registerCallbacks(serviceClass, methodInterceptors);
+
+        FastConstructor constructor =
+            FastClass.create(serviceClass).getConstructor(URL_SERVICE_NAME_CONSTRUCTOR);
+        Object[] arguments =
+            new Object[]{wsdlLocation, serviceName};
+
+        LOG.debug("Initializing service with: " + wsdlLocation + " " + serviceName);
+
+        try {
+            return (Service)constructor.newInstance(arguments);
+        } catch (InvocationTargetException e) {
+            NamingException exception = new NamingException("Could not construct service proxy");
+            exception.initCause(e.getTargetException());
+            throw exception;
+        }
+    }
+}

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/pom.xml?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/pom.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/pom.xml Tue Feb 20 13:42:07 2007
@@ -0,0 +1,254 @@
+<?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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.testsuite</groupId>
+        <artifactId>jaxws-tests</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>jaxws-client</artifactId>
+    <name>Geronimo TestSuite :: WebServices TestSuite :: JAX-WS Client</name>
+    <packaging>jar</packaging>
+
+    <description>This project executes testcases for your testsuite</description>
+
+    <properties>
+       <clientLogFile>${basedir}/target/client.log</clientLogFile>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>javax.xml.ws</groupId>
+            <artifactId>jaxws-api</artifactId>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jsr173_api</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-impl</artifactId>
+            <version>2.0.2</version>
+            <exclusions>
+            	<exclusion>
+            		<artifactId>jsr173</artifactId>
+            		<groupId>javax.xml</groupId>
+            	</exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-xjc</artifactId>
+            <version>2.0.2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<version>1.1</version>
+				<executions>
+					<execution>
+						<id>gen-ts</id>
+						<phase>generate-sources</phase>
+						<configuration>
+							<tasks>
+								<echo>Generating java from wsdl</echo>
+								<property name="schema.output.base.dir" value="target/schema"/>
+								<property name="schema.generated.src.dir" value="${schema.output.base.dir}/src"/>
+								
+								<mkdir dir="${schema.output.base.dir}"/>
+								<mkdir dir="${schema.generated.src.dir}"/>
+
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+										<classpath refid="maven.runtime.classpath"/>
+										<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl src/main/resources/META-INF/wsdl/greeter_control.wsdl"/>
+								</java>
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+				</executions>
+            </plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+				<execution>
+					<id>add-source</id>
+					<phase>generate-sources</phase>
+					<goals>
+					  <goal>add-source</goal>
+					</goals>
+					<configuration>
+					  <sources>
+						<source>target/schema/src</source>
+					</sources>
+					</configuration>
+				</execution>
+				</executions>
+			  </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <mainClass>org.apache.geronimo.test.JAXWSClient</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <systemProperties>
+                        <property>
+                            <name>clientLogFile</name>
+                            <value>${clientLogFile}</value>
+                        </property>
+                    </systemProperties>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.geronimo.plugins</groupId>
+                <artifactId>testsuite-maven-plugin</artifactId>
+                <version>${version}</version>
+                <executions>
+                    <execution>
+                        <id>generate-surefire-xml</id>
+                        <phase>install</phase>
+                        <goals>
+                            <goal>generate-surefire-xml</goal>
+                        </goals>
+                        <!-- 
+                        Merging the configuration of this plugin with the one it inherits.
+                        Updating the reports in the grandparent directly as we'd have missed the boat for the parent's install phase.
+                        This plugin executes twice in Maven 2.0.4 (http://jira.codehaus.org/browse/MNG-2221)
+                        Maven.2.0.5 will fix it soon.
+                        -->
+                        <configuration>
+                            <grandParent>true</grandParent>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                <artifactId>tools-maven-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.geronimo.plugins</groupId>
+                <artifactId>geronimo-maven-plugin</artifactId>
+                <executions>
+
+                    <execution>
+                        <id>deploy-service</id>
+                        <phase>pre-integration-test</phase>
+                        <goals>
+                            <goal>deploy-module</goal>
+                        </goals>
+                        <configuration>
+                            <moduleArchive>${settings.localRepository}/org/apache/geronimo/testsuite/jaxws-war/${version}/jaxws-war-${version}.war</moduleArchive>
+                        </configuration>
+                    </execution>
+
+                    <execution>
+                        <id>deploy-client</id>
+                        <phase>pre-integration-test</phase>
+                        <goals>
+                            <goal>deploy-module</goal>
+                        </goals>
+                        <configuration>
+                            <moduleArchive>${project.build.directory}/${artifactId}-${version}.jar</moduleArchive>
+                        </configuration>
+                    </execution>
+
+                    <execution>
+                        <phase>pre-integration-test</phase>
+                        <id>run-client</id>
+                        <goals>
+                            <goal>run-client</goal>
+                        </goals>
+                        <configuration>
+                            <moduleId>JEE5/JAXWSClient/1.1/car</moduleId>
+                            <logOutput>true</logOutput>
+                            <logFile>${clientLogFile}</logFile>
+                        </configuration>
+                    </execution>
+
+                    <execution>
+                        <id>undeploy-client-as-moduleId</id>
+                        <phase>post-integration-test</phase>
+                        <goals>
+                            <goal>undeploy-module</goal>
+                        </goals>
+                        <configuration>
+                            <moduleId>JEE5/JAXWSClientServer/1.1/car</moduleId>
+                        </configuration>
+                    </execution>
+
+                    <execution>
+                        <id>undeploy-service-as-moduleId</id>
+                        <phase>post-integration-test</phase>
+                        <goals>
+                            <goal>undeploy-module</goal>
+                        </goals>
+                        <configuration>
+                            <moduleId>JEE5/JAXWSServlet/1.1/car</moduleId>
+                        </configuration>
+                    </execution>
+
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
+

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/geronimo/test/JAXWSClient.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/geronimo/test/JAXWSClient.java?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/geronimo/test/JAXWSClient.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/geronimo/test/JAXWSClient.java Tue Feb 20 13:42:07 2007
@@ -0,0 +1,51 @@
+/**
+ *  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.io.IOException;
+import java.io.PrintWriter;
+
+import javax.naming.InitialContext;
+import javax.xml.ws.Service;
+import org.apache.greeter_control.Greeter;
+
+public class JAXWSClient {
+
+    public static void main(String [] args) throws Exception {
+        try {
+            test("Tester");
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+        
+        // needs to be forced because of a bug
+        System.exit(0);
+    }
+
+    public static void test(String name) throws Exception {
+        if (name == null) {
+            name = "Unknown";
+        }
+        InitialContext ctx = new InitialContext();
+        Service service = (Service)ctx.lookup("java:comp/env/services/Greeter");
+        Greeter greeter = service.getPort(Greeter.class);
+        System.out.println("WebService returned: " + greeter.greetMe(name));
+    }
+    
+}

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/Greeter.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/Greeter.java?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/Greeter.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/Greeter.java Tue Feb 20 13:42:07 2007
@@ -0,0 +1,82 @@
+/**
+ * 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.greeter_control;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+
+@WebService(name = "Greeter", targetNamespace = "http://apache.org/greeter_control")
+public interface Greeter {
+
+
+    /**
+     * 
+     * @return
+     *     returns java.lang.String
+     */
+    @WebMethod
+    @WebResult(name = "responseType", targetNamespace = "http://apache.org/greeter_control/types")
+    @RequestWrapper(localName = "sayHi", targetNamespace = "http://apache.org/greeter_control/types", className = "org.apache.greeter_control.types.SayHi")
+    @ResponseWrapper(localName = "sayHiResponse", targetNamespace = "http://apache.org/greeter_control/types", className = "org.apache.greeter_control.types.SayHiResponse")
+    public String sayHi();
+
+    /**
+     * 
+     * @param requestType
+     * @return
+     *     returns java.lang.String
+     */
+    @WebMethod
+    @WebResult(name = "responseType", targetNamespace = "http://apache.org/greeter_control/types")
+    @RequestWrapper(localName = "greetMe", targetNamespace = "http://apache.org/greeter_control/types", className = "org.apache.greeter_control.types.GreetMe")
+    @ResponseWrapper(localName = "greetMeResponse", targetNamespace = "http://apache.org/greeter_control/types", className = "org.apache.greeter_control.types.GreetMeResponse")
+    public String greetMe(
+        @WebParam(name = "requestType", targetNamespace = "http://apache.org/greeter_control/types")
+        String requestType);
+
+    /**
+     * 
+     * @param requestType
+     */
+    @WebMethod
+    @Oneway
+    @RequestWrapper(localName = "greetMeOneWay", targetNamespace = "http://apache.org/greeter_control/types", className = "org.apache.greeter_control.types.GreetMeOneWay")
+    public void greetMeOneWay(
+        @WebParam(name = "requestType", targetNamespace = "http://apache.org/greeter_control/types")
+        String requestType);
+
+    /**
+     * 
+     * @throws PingMeFault
+     */
+    @WebMethod
+    @RequestWrapper(localName = "pingMe", targetNamespace = "http://apache.org/greeter_control/types", className = "org.apache.greeter_control.types.PingMe")
+    @ResponseWrapper(localName = "pingMeResponse", targetNamespace = "http://apache.org/greeter_control/types", className = "org.apache.greeter_control.types.PingMeResponse")
+    public void pingMe()
+        throws PingMeFault
+    ;
+
+}

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/PingMeFault.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/PingMeFault.java?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/PingMeFault.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/java/org/apache/greeter_control/PingMeFault.java Tue Feb 20 13:42:07 2007
@@ -0,0 +1,67 @@
+/**
+ * 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.greeter_control;
+
+import javax.xml.ws.WebFault;
+import org.apache.greeter_control.types.FaultDetail;
+
+
+@WebFault(name = "faultDetail", targetNamespace = "http://apache.org/greeter_control/types")
+public class PingMeFault
+    extends Exception
+{
+
+    /**
+     * Java type that goes as soapenv:Fault detail element.
+     * 
+     */
+    private FaultDetail faultInfo;
+
+    /**
+     * 
+     * @param faultInfo
+     * @param message
+     */
+    public PingMeFault(String message, FaultDetail faultInfo) {
+        super(message);
+        this.faultInfo = faultInfo;
+    }
+
+    /**
+     * 
+     * @param faultInfo
+     * @param message
+     * @param cause
+     */
+    public PingMeFault(String message, FaultDetail faultInfo, Throwable cause) {
+        super(message, cause);
+        this.faultInfo = faultInfo;
+    }
+
+    /**
+     * 
+     * @return
+     *     returns fault bean: org.apache.greeter_control.types.FaultDetail
+     */
+    public FaultDetail getFaultInfo() {
+        return faultInfo;
+    }
+
+}

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/application-client.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/application-client.xml?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/application-client.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/application-client.xml Tue Feb 20 13:42:07 2007
@@ -0,0 +1,30 @@
+<?xml version="1.0"?> 
+<!--
+   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.
+-->
+    
+<application-client xmlns="http://java.sun.com/xml/ns/javaee" version="5">
+
+    <display-name>JAXWS Client</display-name>
+
+   <service-ref>
+       <service-ref-name>services/Greeter</service-ref-name>
+       <service-interface>javax.xml.ws.Service</service-interface>
+       <wsdl-file>META-INF/wsdl/greeter_control.wsdl</wsdl-file>
+   </service-ref>
+
+</application-client>
+

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/geronimo-application-client.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/geronimo-application-client.xml?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/geronimo-application-client.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/geronimo-application-client.xml Tue Feb 20 13:42:07 2007
@@ -0,0 +1,51 @@
+<?xml version="1.0"?> 
+<!--
+   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.
+-->
+<application-client
+   xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.2"
+   xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+   <dep:client-environment>
+    <dep:moduleId>
+      <dep:groupId>JEE5</dep:groupId>
+      <dep:artifactId>JAXWSClient</dep:artifactId>
+      <dep:version>1.1</dep:version>
+      <dep:type>car</dep:type>
+    </dep:moduleId>
+   </dep:client-environment>
+
+   <dep:server-environment> 
+    <dep:moduleId>
+      <dep:groupId>JEE5</dep:groupId>
+      <dep:artifactId>JAXWSClientServer</dep:artifactId>
+      <dep:version>1.1</dep:version>
+      <dep:type>car</dep:type>
+    </dep:moduleId>
+   </dep:server-environment>
+
+ <service-ref>
+   <service-ref-name>services/Greeter</service-ref-name>
+   <port>
+      <port-name>GreeterPort</port-name>
+      <protocol>http</protocol>
+      <host>localhost</host>
+      <port>8080</port>
+      <uri>/jaxws-war-2.0-SNAPSHOT/servlet</uri>
+   </port>
+ </service-ref>
+
+</application-client>

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/wsdl/greeter_control.wsdl
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/wsdl/greeter_control.wsdl?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/wsdl/greeter_control.wsdl (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/main/resources/META-INF/wsdl/greeter_control.wsdl Tue Feb 20 13:42:07 2007
@@ -0,0 +1,182 @@
+<?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.
+-->
+<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://apache.org/greeter_control"
+    xmlns:x1="http://apache.org/greeter_control/types"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://apache.org/greeter_control" name="HelloWorld">
+    <wsdl:types>
+        <schema targetNamespace="http://apache.org/greeter_control/types" 
+            xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+            <element name="sayHi">
+                <complexType/>
+            </element>
+            <element name="sayHiResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMe">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeOneWay">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="pingMe">
+                <complexType/>
+            </element>
+            <element name="pingMeResponse">
+                <complexType/>
+            </element>
+            <element name="faultDetail">
+                <complexType>
+                    <sequence>
+                        <element name="minor" type="xsd:short"/>
+                        <element name="major" type="xsd:short"/>
+                    </sequence>
+                </complexType>
+            </element>
+            
+        </schema>
+    </wsdl:types>
+
+   
+   <wsdl:message name="sayHiRequest">
+        <wsdl:part element="x1:sayHi" name="in"/>
+    </wsdl:message>
+    <wsdl:message name="sayHiResponse">
+        <wsdl:part element="x1:sayHiResponse" name="out"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeRequest">
+        <wsdl:part element="x1:greetMe" name="in"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeResponse">
+        <wsdl:part element="x1:greetMeResponse" name="out"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeOneWayRequest">
+        <wsdl:part element="x1:greetMeOneWay" name="in"/>
+    </wsdl:message>
+    <wsdl:message name="pingMeRequest">
+    <wsdl:part name="in" element="x1:pingMe"/>
+    </wsdl:message>
+    <wsdl:message name="pingMeResponse">
+        <wsdl:part name="out" element="x1:pingMeResponse"/>
+    </wsdl:message>        
+    <wsdl:message name="pingMeFault">
+        <wsdl:part name="faultDetail" element="x1:faultDetail"/>
+    </wsdl:message> 
+        
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="sayHi">
+            <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+            <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+        </wsdl:operation>
+        
+        <wsdl:operation name="greetMe">
+            <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
+            <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
+        </wsdl:operation>
+        
+        <wsdl:operation name="greetMeOneWay">
+            <wsdl:input message="tns:greetMeOneWayRequest" name="greetMeOneWayRequest"/>
+        </wsdl:operation>
+
+        <wsdl:operation name="pingMe">
+            <wsdl:input name="pingMeRequest" message="tns:pingMeRequest"/>
+            <wsdl:output name="pingMeResponse" message="tns:pingMeResponse"/>
+            <wsdl:fault name="pingMeFault" message="tns:pingMeFault"/>
+        </wsdl:operation> 
+    </wsdl:portType>
+    
+
+    <wsdl:binding name="GreeterSOAPBinding" type="tns:Greeter">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        
+        <wsdl:operation name="sayHi">
+            <soap:operation soapAction="" style="document"/>
+            <wsdl:input name="sayHiRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        
+        <wsdl:operation name="greetMe">
+            <soap:operation soapAction="" style="document"/>
+            <wsdl:input name="greetMeRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="greetMeResponse">
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        
+        <wsdl:operation name="greetMeOneWay">
+            <soap:operation soapAction="" style="document"/>
+            <wsdl:input name="greetMeOneWayRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+
+            <wsdl:operation name="pingMe">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="pingMeFault">
+                <soap:fault name="pingMeFault" use="literal"/>
+            </wsdl:fault>
+        </wsdl:operation>
+        
+    </wsdl:binding>
+  
+    <wsdl:service name="GreeterService">
+        <wsdl:port binding="tns:GreeterSOAPBinding" name="GreeterPort">
+            <soap:address location="http://localhost:8080/SoapContext/GreeterPort"/>
+            <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/08/addressing/wsdl"/>
+        </wsdl:port>
+    </wsdl:service>
+   
+    
+</wsdl:definitions>
+

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/test/java/org/apache/geronimo/testsuite/testset/ClientJAXWSTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/test/java/org/apache/geronimo/testsuite/testset/ClientJAXWSTest.java?view=auto&rev=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/test/java/org/apache/geronimo/testsuite/testset/ClientJAXWSTest.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-client/src/test/java/org/apache/geronimo/testsuite/testset/ClientJAXWSTest.java Tue Feb 20 13:42:07 2007
@@ -0,0 +1,64 @@
+/**
+ *  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.InputStreamReader;
+import java.io.FileInputStream;
+
+import org.apache.geronimo.testsupport.TestSupport;
+import org.testng.annotations.Test;
+
+public class ClientJAXWSTest extends TestSupport {
+
+    @Test
+    public void testClient() throws Exception {
+        String expected = "Hello Tester";
+
+        String outputFile = System.getProperty("clientLogFile");
+        assertNotNull(outputFile);
+        FileInputStream in = null;
+        try {
+            in = new FileInputStream(outputFile);
+            BufferedReader reader = 
+                new BufferedReader(new InputStreamReader(in));
+
+            String inputLine;
+            boolean found = false;
+            while ((inputLine = reader.readLine()) != null) {
+                System.out.println(inputLine);
+
+                if (found == false &&
+                    inputLine.indexOf("WebService returned: " + expected) != -1) {
+                    found = true;
+                }
+            }
+            in.close();
+
+            assertTrue("Reply", found);
+
+        } finally {
+            if (in != null) {
+                in.close();
+            }
+        }
+    }
+
+}

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-war/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-war/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java?view=diff&rev=509765&r1=509764&r2=509765
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java Tue Feb 20 13:42:07 2007
@@ -176,7 +176,7 @@
 
     @Test
     public void testClientInvocation() throws Exception {
-        String expected = null; // should be "Hello Tester"; - CXF bugs or something
+        String expected = "Hello Tester";
 
         String warName = System.getProperty("webAppName");
         assertNotNull(warName);



Mime
View raw message