JBossWS SVN: r6354 - framework/trunk/src/test/ant-import.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 07:45:21 -0400 (Fri, 11 Apr 2008)
New Revision: 6354
Modified:
framework/trunk/src/test/ant-import/build-testsuite.xml
Log:
[JBWS-2113] tools.jar not available on Mac OS X (Thanks Radim Marek)
Modified: framework/trunk/src/test/ant-import/build-testsuite.xml
===================================================================
--- framework/trunk/src/test/ant-import/build-testsuite.xml 2008-04-11 11:38:40 UTC (rev 6353)
+++ framework/trunk/src/test/ant-import/build-testsuite.xml 2008-04-11 11:45:21 UTC (rev 6354)
@@ -41,6 +41,10 @@
<condition property="tools.jar" value="${java.home}/../lib/tools.jar">
<available file="${java.home}/../lib/tools.jar"/>
</condition>
+ <!-- [JBWS-2113] tools.jar not available on Mac OS X -->
+ <condition property="tools.jar" value="${java.home}/../Classes/classes.jar">
+ <available file="${java.home}/../Classes/classes.jar"/>
+ </condition>
<fail message="Not available: ${java.home}/lib/tools.jar, ${java.home}/../lib/tools.jar" unless="tools.jar"/>
<!-- Use -Ddebug=true for remote debugging -->
16 years, 9 months
JBossWS SVN: r6353 - in framework/trunk/src/test: java/org/jboss/test/ws/jaxws and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 07:38:40 -0400 (Fri, 11 Apr 2008)
New Revision: 6353
Added:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java
framework/trunk/src/test/resources/jaxws/jbws1178/
framework/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/
framework/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml
Modified:
framework/trunk/src/test/ant-import/build-jars-jaxws.xml
Log:
Move jbws1178 test to framework
Modified: framework/trunk/src/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/src/test/ant-import/build-jars-jaxws.xml 2008-04-11 11:37:22 UTC (rev 6352)
+++ framework/trunk/src/test/ant-import/build-jars-jaxws.xml 2008-04-11 11:38:40 UTC (rev 6353)
@@ -123,6 +123,13 @@
</fileset>
</jar>
+ <!-- jaxws-jbws1178 -->
+ <war destfile="${tests.output.dir}/libs/jaxws-jbws1178.war" webxml="${tests.output.dir}/resources/jaxws/jbws1178/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.class"/>
+ </classes>
+ </war>
+
<!-- jaxws-jbws1190 -->
<war destfile="${tests.output.dir}/libs/jaxws-jbws1190.war" webxml="${tests.output.dir}/resources/jaxws/jbws1190/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
Added: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java (rev 0)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java 2008-04-11 11:38:40 UTC (rev 6353)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1178;
+
+import java.net.InetAddress;
+import java.net.URL;
+import java.util.Map;
+
+import javax.management.Attribute;
+import javax.management.ObjectName;
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+
+import junit.extensions.TestSetup;
+import junit.framework.Test;
+
+import org.jboss.wsf.common.ObjectNameFactory;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-1178] Multiple virtual host and soap:address problem
+ * [JBWS-864] soap:address in wsdl ignores <url-pattern>
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ * @since 05-Oct-2006
+ */
+public class JBWS1178TestCase extends JBossWSTest
+{
+
+ public static Test suite()
+ {
+ TestSetup testSetup = new JBossWSTestSetup(JBWS1178TestCase.class, "jaxws-jbws1178.war")
+ {
+ private final ObjectName objectName = ObjectNameFactory.create("jboss.ws:service=ServerConfig");
+ private String webServiceHost;
+
+ public void setUp() throws Exception
+ {
+ // Setting the WebServiceHost to an empty string, causes the request host to be used.
+ // This must be done before deploy time.
+ webServiceHost = (String)getServer().getAttribute(objectName, "WebServiceHost");
+ getServer().setAttribute(objectName, new Attribute("WebServiceHost", ""));
+ super.setUp();
+ }
+
+ public void tearDown() throws Exception
+ {
+ super.tearDown();
+ getServer().setAttribute(objectName, new Attribute("WebServiceHost", webServiceHost));
+ }
+ };
+ return testSetup;
+ }
+
+
+ public void testHostAddress() throws Exception
+ {
+ InetAddress inetAddr = InetAddress.getByName(getServerHost());
+ URL wsdlURL = new URL("http://" + inetAddr.getHostAddress() + ":8080/jaxws-jbws1178/testpattern?wsdl");
+
+ QName serviceName = new QName("http://org.jboss.ws/jbws1178", "TestEndpointService");
+ Service service = Service.create(wsdlURL, serviceName);
+ TestEndpoint port = service.getPort(TestEndpoint.class);
+ Map<String, Object> reqCtx = ((BindingProvider)port).getRequestContext();
+ URL epURL = new URL((String)reqCtx.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY));
+
+ assertEquals(wsdlURL.getHost(), epURL.getHost());
+ }
+
+ public void testHostName() throws Exception
+ {
+ InetAddress inetAddr = InetAddress.getByName(getServerHost());
+ URL wsdlURL = new URL("http://" + inetAddr.getHostName() + ":8080/jaxws-jbws1178/testpattern?wsdl");
+
+ QName serviceName = new QName("http://org.jboss.ws/jbws1178", "TestEndpointService");
+ Service service = Service.create(wsdlURL, serviceName);
+ TestEndpoint port = service.getPort(TestEndpoint.class);
+ Map<String, Object> reqCtx = ((BindingProvider)port).getRequestContext();
+ URL epURL = new URL((String)reqCtx.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY));
+
+ assertEquals(wsdlURL.getHost(), epURL.getHost());
+ }
+}
Property changes on: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java (rev 0)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java 2008-04-11 11:38:40 UTC (rev 6353)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1178;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "TestEndpoint", serviceName = "TestEndpointService", targetNamespace = "http://org.jboss.ws/jbws1178")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface TestEndpoint
+{
+ @WebMethod
+ public String echo(String input);
+}
Property changes on: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java (rev 0)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java 2008-04-11 11:38:40 UTC (rev 6353)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1178;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "TestEndpoint", serviceName = "TestEndpointService", targetNamespace = "http://org.jboss.ws/jbws1178")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class TestEndpointImpl
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
Property changes on: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml
===================================================================
--- framework/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml (rev 0)
+++ framework/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml 2008-04-11 11:38:40 UTC (rev 6353)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <servlet>
+ <servlet-name>TestEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws1178.TestEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestEndpoint</servlet-name>
+ <!-- [JBWS-864] soap:address in wsdl ignores <url-pattern> -->
+ <url-pattern>/testpattern</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Property changes on: framework/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
16 years, 9 months
JBossWS SVN: r6352 - in stack/native/trunk: src/test/java/org/jboss/test/ws/jaxws and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 07:37:22 -0400 (Fri, 11 Apr 2008)
New Revision: 6352
Removed:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/
stack/native/trunk/src/test/resources/jaxws/jbws1178/
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
Move jbws1178 test to framework
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-11 11:29:26 UTC (rev 6351)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-11 11:37:22 UTC (rev 6352)
@@ -155,13 +155,6 @@
</webinf>
</war>
- <!-- jaxws-jbws1178 -->
- <war destfile="${tests.output.dir}/libs/jaxws-jbws1178.war" webxml="${tests.output.dir}/resources/jaxws/jbws1178/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.class"/>
- </classes>
- </war>
-
<!-- jaxws-jbws1666 -->
<war destfile="${tests.output.dir}/libs/jaxws-jbws1666.war" webxml="${tests.output.dir}/resources/jaxws/jbws1666/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
16 years, 9 months
JBossWS SVN: r6351 - in stack/native/trunk: src/test/java/org/jboss/test/ws/jaxws/jbws1178 and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 07:29:26 -0400 (Fri, 11 Apr 2008)
New Revision: 6351
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java
stack/native/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml
Log:
[JBWS-2104] Migrate JBWS1178TestCase to JAX-WS
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-11 09:26:31 UTC (rev 6350)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-11 11:29:26 UTC (rev 6351)
@@ -158,7 +158,7 @@
<!-- jaxws-jbws1178 -->
<war destfile="${tests.output.dir}/libs/jaxws-jbws1178.war" webxml="${tests.output.dir}/resources/jaxws/jbws1178/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.class"/>
</classes>
</war>
Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java 2008-04-11 09:26:31 UTC (rev 6350)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/JBWS1178TestCase.java 2008-04-11 11:29:26 UTC (rev 6351)
@@ -23,20 +23,20 @@
import java.net.InetAddress;
import java.net.URL;
+import java.util.Map;
import javax.management.Attribute;
import javax.management.ObjectName;
import javax.xml.namespace.QName;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.ServiceFactory;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
import junit.extensions.TestSetup;
import junit.framework.Test;
-import org.jboss.ws.core.jaxrpc.client.CallImpl;
+import org.jboss.wsf.common.ObjectNameFactory;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
-import org.jboss.wsf.common.ObjectNameFactory;
/**
* [JBWS-1178] Multiple virtual host and soap:address problem
@@ -79,12 +79,11 @@
InetAddress inetAddr = InetAddress.getByName(getServerHost());
URL wsdlURL = new URL("http://" + inetAddr.getHostAddress() + ":8080/jaxws-jbws1178/testpattern?wsdl");
- ServiceFactory factory = ServiceFactory.newInstance();
QName serviceName = new QName("http://org.jboss.ws/jbws1178", "TestEndpointService");
- QName portName = new QName("http://org.jboss.ws/jbws1178", "TestEndpointPort");
- Service service = factory.createService(wsdlURL, serviceName);
- CallImpl call = (CallImpl)service.createCall(portName);
- URL epURL = new URL(call.getEndpointMetaData().getEndpointAddress());
+ Service service = Service.create(wsdlURL, serviceName);
+ TestEndpoint port = service.getPort(TestEndpoint.class);
+ Map<String, Object> reqCtx = ((BindingProvider)port).getRequestContext();
+ URL epURL = new URL((String)reqCtx.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY));
assertEquals(wsdlURL.getHost(), epURL.getHost());
}
@@ -94,12 +93,11 @@
InetAddress inetAddr = InetAddress.getByName(getServerHost());
URL wsdlURL = new URL("http://" + inetAddr.getHostName() + ":8080/jaxws-jbws1178/testpattern?wsdl");
- ServiceFactory factory = ServiceFactory.newInstance();
QName serviceName = new QName("http://org.jboss.ws/jbws1178", "TestEndpointService");
- QName portName = new QName("http://org.jboss.ws/jbws1178", "TestEndpointPort");
- Service service = factory.createService(wsdlURL, serviceName);
- CallImpl call = (CallImpl)service.createCall(portName);
- URL epURL = new URL(call.getEndpointMetaData().getEndpointAddress());
+ Service service = Service.create(wsdlURL, serviceName);
+ TestEndpoint port = service.getPort(TestEndpoint.class);
+ Map<String, Object> reqCtx = ((BindingProvider)port).getRequestContext();
+ URL epURL = new URL((String)reqCtx.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY));
assertEquals(wsdlURL.getHost(), epURL.getHost());
}
Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java 2008-04-11 09:26:31 UTC (rev 6350)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java 2008-04-11 11:29:26 UTC (rev 6351)
@@ -25,13 +25,10 @@
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
-@WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/jbws1178")
+@WebService(name = "TestEndpoint", serviceName = "TestEndpointService", targetNamespace = "http://org.jboss.ws/jbws1178")
@SOAPBinding(style = SOAPBinding.Style.RPC)
-public class TestEndpoint
+public interface TestEndpoint
{
@WebMethod
- public String echo(String input)
- {
- return input;
- }
+ public String echo(String input);
}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java (from rev 6350, stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1178/TestEndpointImpl.java 2008-04-11 11:29:26 UTC (rev 6351)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1178;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "TestEndpoint", serviceName = "TestEndpointService", targetNamespace = "http://org.jboss.ws/jbws1178")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class TestEndpointImpl
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
Modified: stack/native/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml 2008-04-11 09:26:31 UTC (rev 6350)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1178/WEB-INF/web.xml 2008-04-11 11:29:26 UTC (rev 6351)
@@ -5,7 +5,7 @@
<servlet>
<servlet-name>TestEndpoint</servlet-name>
- <servlet-class>org.jboss.test.ws.jaxws.jbws1178.TestEndpoint</servlet-class>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws1178.TestEndpointImpl</servlet-class>
</servlet>
<servlet-mapping>
16 years, 9 months
JBossWS SVN: r6350 - stack/native/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 05:26:31 -0400 (Fri, 11 Apr 2008)
New Revision: 6350
Modified:
stack/native/trunk/version.properties
Log:
New version scheme
Modified: stack/native/trunk/version.properties
===================================================================
--- stack/native/trunk/version.properties 2008-04-11 09:26:27 UTC (rev 6349)
+++ stack/native/trunk/version.properties 2008-04-11 09:26:31 UTC (rev 6350)
@@ -5,7 +5,7 @@
specification.vendor=JBoss (http://www.jboss.org)
specification.version=jbossws-3.0
-version.id=3.0.2-native-2.0.5.DEV
+version.id=native-3.0.2.DEV
repository.id=snapshot
implementation.title=JBoss Web Services - Native
16 years, 9 months
JBossWS SVN: r6349 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 05:26:27 -0400 (Fri, 11 Apr 2008)
New Revision: 6349
Modified:
stack/cxf/trunk/version.properties
Log:
New version scheme
Modified: stack/cxf/trunk/version.properties
===================================================================
--- stack/cxf/trunk/version.properties 2008-04-11 09:25:08 UTC (rev 6348)
+++ stack/cxf/trunk/version.properties 2008-04-11 09:26:27 UTC (rev 6349)
@@ -5,7 +5,7 @@
specification.vendor=JBoss (http://www.jboss.org)
specification.version=jbossws-3.0
-version.id=3.0.2-cxf-1.0.2.DEV
+version.id=cxf-3.0.2.DEV
repository.id=snapshot
implementation.title=JBoss Web Services - Apache CXF
16 years, 9 months
JBossWS SVN: r6348 - stack/metro/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 05:25:08 -0400 (Fri, 11 Apr 2008)
New Revision: 6348
Modified:
stack/metro/trunk/version.properties
Log:
New version scheme
Modified: stack/metro/trunk/version.properties
===================================================================
--- stack/metro/trunk/version.properties 2008-04-11 09:24:03 UTC (rev 6347)
+++ stack/metro/trunk/version.properties 2008-04-11 09:25:08 UTC (rev 6348)
@@ -5,7 +5,7 @@
specification.vendor=JBoss (http://www.jboss.org)
specification.version=jbossws-3.0
-version.id=3.0.2-metro-1.0.2.DEV
+version.id=metro-3.0.2.DEV
repository.id=snapshot
implementation.title=JBoss Web Services - Sun Metro
16 years, 9 months
JBossWS SVN: r6347 - stack/native/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 05:24:03 -0400 (Fri, 11 Apr 2008)
New Revision: 6347
Modified:
stack/native/trunk/src/test/resources/test-excludes-jboss501.txt
Log:
Fixed: [JBAS-5389] EJB3 ClientLauncher not available
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss501.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss501.txt 2008-04-11 09:04:00 UTC (rev 6346)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss501.txt 2008-04-11 09:24:03 UTC (rev 6347)
@@ -33,10 +33,6 @@
# [EJBTHREE-1150] WebServiceContext injection requires mapped-name
org/jboss/test/ws/jaxws/samples/context/WebServiceContextJSETestCase.*
-# [JBAS-5389] EJB3 ClientLauncher not available
-org/jboss/test/ws/jaxws/samples/webserviceref/**
-org/jboss/test/ws/jaxws/webserviceref/**
-
# [JBAS-5257] jboss:service=defaultClassLoader is not registered with dynamic webapp deployment
org/jboss/test/ws/jaxws/endpoint/**
16 years, 9 months
JBossWS SVN: r6346 - framework/trunk/src/test/ant-import.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 05:04:00 -0400 (Fri, 11 Apr 2008)
New Revision: 6346
Modified:
framework/trunk/src/test/ant-import/build-testsuite.xml
Log:
[JBAS-5389] org.jboss.ejb3.client.ClientLauncher now lives in jboss-appclient.jar
Modified: framework/trunk/src/test/ant-import/build-testsuite.xml
===================================================================
--- framework/trunk/src/test/ant-import/build-testsuite.xml 2008-04-11 07:35:58 UTC (rev 6345)
+++ framework/trunk/src/test/ant-import/build-testsuite.xml 2008-04-11 09:04:00 UTC (rev 6346)
@@ -189,14 +189,15 @@
<path id="integration.target.javac.classpath">
<pathelement location="${jboss.client}/activation.jar"/>
<pathelement location="${jboss.client}/jaxws-tools.jar"/>
- <pathelement location="${jboss.client}/jboss-wsit-tools.jar"/>
<pathelement location="${jboss.client}/jboss-annotations-ejb3.jar"/>
+ <pathelement location="${jboss.client}/jboss-appclient.jar"/>
<pathelement location="${jboss.client}/jboss-common-core.jar"/>
<pathelement location="${jboss.client}/jboss-ejb3-client.jar"/>
<pathelement location="${jboss.client}/jboss-ejb3-ext-api.jar"/>
<pathelement location="${jboss.client}/jboss-logging-spi.jar"/>
<pathelement location="${jboss.client}/jboss-metadata.jar"/>
<pathelement location="${jboss.client}/jboss-remoting.jar"/>
+ <pathelement location="${jboss.client}/jboss-wsit-tools.jar"/>
<pathelement location="${jboss.client}/jboss-xml-binding.jar"/>
<pathelement location="${jboss.client}/mail.jar"/>
<pathelement location="${jboss.client}/stax-api.jar"/>
@@ -220,11 +221,12 @@
<pathelement location="${jboss.client}/jaxb-impl.jar"/>
<pathelement location="${jboss.client}/jaxb-xjc.jar"/>
<pathelement location="${jboss.client}/jaxws-tools.jar"/>
- <pathelement location="${jboss.client}/jboss-wsit-tools.jar"/>
+ <pathelement location="${jboss.client}/jboss-appclient.jar"/>
<pathelement location="${jboss.client}/jboss-container-metadata.jar"/>
<pathelement location="${jboss.client}/jboss-ejb3-ext-api.jar"/>
<pathelement location="${jboss.client}/jboss-metadata.jar"/>
<pathelement location="${jboss.client}/jboss-remoting.jar"/>
+ <pathelement location="${jboss.client}/jboss-wsit-tools.jar"/>
<pathelement location="${jboss.client}/jboss-xml-binding.jar"/>
<pathelement location="${jboss.client}/jbossall-client.jar"/>
<pathelement location="${jboss.client}/jbossws-jboss50.jar"/>
16 years, 9 months
JBossWS SVN: r6345 - stack/metro/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-11 03:35:58 -0400 (Fri, 11 Apr 2008)
New Revision: 6345
Modified:
stack/metro/trunk/src/test/resources/test-excludes-jboss501.txt
Log:
# [JBAS-5359] mapped-name is required for context of deployment
Modified: stack/metro/trunk/src/test/resources/test-excludes-jboss501.txt
===================================================================
--- stack/metro/trunk/src/test/resources/test-excludes-jboss501.txt 2008-04-11 07:21:11 UTC (rev 6344)
+++ stack/metro/trunk/src/test/resources/test-excludes-jboss501.txt 2008-04-11 07:35:58 UTC (rev 6345)
@@ -78,6 +78,8 @@
# [JBWS-2136] ClassCastException: com.sun.xml.ws.server.EndpointMessageContextImpl
org/jboss/test/ws/jaxws/namespace/**
+# [JBAS-5359] mapped-name is required for context of deployment
+org/jboss/test/ws/jaxws/jbws1611/**
16 years, 9 months