JBossWS SVN: r12013 - stack/metro/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 05:07:38 -0400 (Fri, 16 Apr 2010)
New Revision: 12013
Modified:
stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt
Log:
[JBWS-3002] excluding test case
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt 2010-04-16 09:06:01 UTC (rev 12012)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt 2010-04-16 09:07:38 UTC (rev 12013)
@@ -73,3 +73,7 @@
# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt 2010-04-16 09:06:01 UTC (rev 12012)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt 2010-04-16 09:07:38 UTC (rev 12013)
@@ -73,3 +73,7 @@
# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt 2010-04-16 09:06:01 UTC (rev 12012)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt 2010-04-16 09:07:38 UTC (rev 12013)
@@ -73,3 +73,7 @@
# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-04-16 09:06:01 UTC (rev 12012)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-04-16 09:07:38 UTC (rev 12013)
@@ -68,3 +68,7 @@
# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
14 years, 8 months
JBossWS SVN: r12012 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 05:06:01 -0400 (Fri, 16 Apr 2010)
New Revision: 12012
Modified:
stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss601.txt
Log:
[JBWS-3002] excluding test case
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2010-04-16 09:03:05 UTC (rev 12011)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2010-04-16 09:06:01 UTC (rev 12012)
@@ -62,3 +62,7 @@
# [JBWS-2987] Review JMS integration
org/jboss/test/ws/jaxws/samples/jmstransport/**
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt 2010-04-16 09:03:05 UTC (rev 12011)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt 2010-04-16 09:06:01 UTC (rev 12012)
@@ -62,3 +62,7 @@
# [JBWS-2987] Review JMS integration
org/jboss/test/ws/jaxws/samples/jmstransport/**
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt 2010-04-16 09:03:05 UTC (rev 12011)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt 2010-04-16 09:06:01 UTC (rev 12012)
@@ -62,3 +62,7 @@
# [JBWS-2987] Review JMS integration
org/jboss/test/ws/jaxws/samples/jmstransport/**
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss601.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-04-16 09:03:05 UTC (rev 12011)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-04-16 09:06:01 UTC (rev 12012)
@@ -56,3 +56,7 @@
# [JBWS-2987] Review JMS integration
org/jboss/test/ws/jaxws/samples/jmstransport/**
+
+# [JBWS-3002] Verify POJO endpoints are shared
+org/jboss/test/ws/jaxws/jbws2486/**
+
14 years, 8 months
JBossWS SVN: r12011 - in framework/trunk/testsuite/test: java/org/jboss/test/ws/jaxws and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 05:03:05 -0400 (Fri, 16 Apr 2010)
New Revision: 12011
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486Impl.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486TestCase.java
framework/trunk/testsuite/test/resources/jaxws/jbws2486/
framework/trunk/testsuite/test/resources/jaxws/jbws2486/WEB-INF/
framework/trunk/testsuite/test/resources/jaxws/jbws2486/WEB-INF/web.xml
Modified:
framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
Log:
[JBWS-3002] refactoring test to framework
Modified: framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2010-04-16 09:01:00 UTC (rev 12010)
+++ framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2010-04-16 09:03:05 UTC (rev 12011)
@@ -737,6 +737,14 @@
</metainf>
</jar>
+ <!-- jaxws-jbws2486 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2486.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2486/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2486/*.class"/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws2486/*TestCase.class"/>
+ </classes>
+ </war>
+
<!-- jbws2527 -->
<war warfile="${tests.output.dir}/test-libs/jaxws-jbws2527-client.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2527/WEB-INF-client/web.xml">
<classes dir="${tests.output.dir}/test-classes">
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486.java 2010-04-16 09:03:05 UTC (rev 12011)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws2486;
+
+import javax.jws.WebService;
+
+@WebService
+public interface JBWS2486
+{
+ String getServiceInstanceId();
+}
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486Impl.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486Impl.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486Impl.java 2010-04-16 09:03:05 UTC (rev 12011)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws2486;
+
+import javax.jws.WebService;
+
+@WebService(serviceName = "JBWS2486Service", endpointInterface = "org.jboss.test.ws.jaxws.jbws2486.JBWS2486")
+public class JBWS2486Impl implements JBWS2486
+{
+
+ public String getServiceInstanceId()
+ {
+ return "" + this;
+ }
+
+}
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486TestCase.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2486/JBWS2486TestCase.java 2010-04-16 09:03:05 UTC (rev 12011)
@@ -0,0 +1,71 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws2486;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-2486] POJO service should be shared
+ *
+ * @author richard.opalka(a)jboss.com
+ */
+public class JBWS2486TestCase extends JBossWSTest
+{
+ private String targetNS = "http://jbws2486.jaxws.ws.test.jboss.org/";
+ private JBWS2486 proxy;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS2486TestCase.class, "jaxws-jbws2486.war");
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ QName serviceName = new QName(targetNS, "JBWS2486Service");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws2486/JBWS2486Service?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ proxy = (JBWS2486)service.getPort(JBWS2486.class);
+ }
+
+ public void testIssue() throws Exception
+ {
+ String serviceInstanceId = proxy.getServiceInstanceId();
+ for (int i = 1; i <= 10; i++)
+ {
+ assertEquals(proxy.getServiceInstanceId(), serviceInstanceId);
+ }
+ }
+
+}
Added: framework/trunk/testsuite/test/resources/jaxws/jbws2486/WEB-INF/web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2486/WEB-INF/web.xml (rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2486/WEB-INF/web.xml 2010-04-16 09:03:05 UTC (rev 12011)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>JBWS2486Service</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws2486.JBWS2486Impl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JBWS2486Service</servlet-name>
+ <url-pattern>/JBWS2486Service</url-pattern>
+ </servlet-mapping>
+
+</web-app>
14 years, 8 months
JBossWS SVN: r12010 - in stack/native/trunk/modules/testsuite/native-tests: src/test/java/org/jboss/test/ws/jaxws and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 05:01:00 -0400 (Fri, 16 Apr 2010)
New Revision: 12010
Removed:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2486/
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2486/
Modified:
stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
[JBWS-3002] refactoring test to framework
Modified: stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-04-16 08:43:35 UTC (rev 12009)
+++ stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-04-16 09:01:00 UTC (rev 12010)
@@ -507,14 +507,6 @@
</fileset>
</jar>
- <!-- jaxws-jbws2486 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2486.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2486/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2486/*.class"/>
- <exclude name="org/jboss/test/ws/jaxws/jbws2486/*TestCase.class"/>
- </classes>
- </war>
-
<!-- jaxws-jbws2526 -->
<war warfile="${tests.output.dir}/test-libs/jaxws-jbws2526.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2526/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/test-classes">
14 years, 8 months
JBossWS SVN: r12009 - in legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc: soap and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 04:43:35 -0400 (Fri, 16 Apr 2010)
New Revision: 12009
Modified:
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/JAXRPCException.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceException.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceFactory.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/soap/SOAPFaultException.java
Log:
[JBPAPP-4099] fixing also JAX-RPC API to be executable on JDK6 if it's endorsed by mistake
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/JAXRPCException.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/JAXRPCException.java 2010-04-16 08:01:26 UTC (rev 12008)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/JAXRPCException.java 2010-04-16 08:43:35 UTC (rev 12009)
@@ -21,22 +21,13 @@
*/
package javax.xml.rpc;
-import org.jboss.util.id.SerialVersion;
-
/**
* @author Scott.Stark(a)jboss.org
* @version $Revision$
*/
public class JAXRPCException extends RuntimeException
{
- /** @since 4.0.2 */
- static final long serialVersionUID;
- static
- {
- if (SerialVersion.version == SerialVersion.LEGACY)
- serialVersionUID = 2012915834079496799L;
- else serialVersionUID = 5213579554532711730L;
- }
+ private static final long serialVersionUID = 5213579554532711730L;
public JAXRPCException()
{
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceException.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceException.java 2010-04-16 08:01:26 UTC (rev 12008)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceException.java 2010-04-16 08:43:35 UTC (rev 12009)
@@ -21,22 +21,13 @@
*/
package javax.xml.rpc;
-import org.jboss.util.id.SerialVersion;
-
/**
* @author Scott.Stark(a)jboss.org
* @version $Revision$
*/
public class ServiceException extends Exception
{
- /** @since 4.0.2 */
- static final long serialVersionUID;
- static
- {
- if (SerialVersion.version == SerialVersion.LEGACY)
- serialVersionUID = -4042547292194127311L;
- else serialVersionUID = -6582148924441189775L;
- }
+ private static final long serialVersionUID = -6582148924441189775L;
public ServiceException()
{
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceFactory.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceFactory.java 2010-04-16 08:01:26 UTC (rev 12008)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/ServiceFactory.java 2010-04-16 08:43:35 UTC (rev 12009)
@@ -28,8 +28,6 @@
import javax.xml.namespace.QName;
-import org.jboss.logging.Logger;
-
/** The javax.xml.rpc.ServiceFactory is an abstract class that provides a
* factory for the creation of instances of the type javax.xml.rpc.Service.
* This abstract class follows the abstract static factory design pattern.
@@ -45,9 +43,6 @@
*/
public abstract class ServiceFactory
{
- // provide logging
- private static Logger log = Logger.getLogger(ServiceFactory.class);
-
// The singlton
private static ServiceFactory factory;
@@ -101,7 +96,7 @@
}
catch (ClassNotFoundException e1)
{
- if(log.isDebugEnabled()) log.debug("Cannot load factory: " + factoryName);
+ // ignore
}
}
}
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/soap/SOAPFaultException.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/soap/SOAPFaultException.java 2010-04-16 08:01:26 UTC (rev 12008)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/rpc/soap/SOAPFaultException.java 2010-04-16 08:43:35 UTC (rev 12009)
@@ -27,8 +27,6 @@
import javax.xml.soap.Detail;
import javax.xml.soap.Name;
-import org.jboss.logging.Logger;
-
/** The SOAPFaultException exception represents a SOAP fault.
*
* The message part in the SOAP fault maps to the contents of faultdetail
@@ -48,9 +46,6 @@
*/
public class SOAPFaultException extends RuntimeException
{
- // provide logging
- private static Logger log = Logger.getLogger(SOAPFaultException.class);
-
private QName faultCode;
private String faultString;
private String faultActor;
@@ -61,7 +56,6 @@
super(faultString);
Name detailName = faultDetail != null ? faultDetail.getElementName() : null;
- if(log.isDebugEnabled()) log.debug("new SOAPFaultException [code=" + faultCode + ",string=" + faultString + ",actor=" + faultActor + ",detail=" + detailName + "]");
this.faultCode = faultCode;
this.faultString = faultString;
14 years, 8 months
JBossWS SVN: r12008 - in legacy/branches/jbossws-1.2.1.GA_CP: jbossws-core/src/java/javax/xml/soap and 3 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 04:01:26 -0400 (Fri, 16 Apr 2010)
New Revision: 12008
Added:
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/resources/jboss-saaj.jar/META-INF/services/javax.xml.soap.SOAPConnectionFactory
Modified:
legacy/branches/jbossws-1.2.1.GA_CP/build/ant-import/build-deploy.xml
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/FactoryLoader.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnection.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnectionFactory.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPException.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/ws/addressing/AddressingBuilder.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/build.xml
Log:
[JBPAPP-4099] fixing JBossWS 1.2.1 to be executable on JDK6
Modified: legacy/branches/jbossws-1.2.1.GA_CP/build/ant-import/build-deploy.xml
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/build/ant-import/build-deploy.xml 2010-04-16 07:56:06 UTC (rev 12007)
+++ legacy/branches/jbossws-1.2.1.GA_CP/build/ant-import/build-deploy.xml 2010-04-16 08:01:26 UTC (rev 12008)
@@ -55,6 +55,15 @@
<include name="jbossws-wsconsume-impl.jar"/>
</fileset>
</copy>
+ <copy todir="${jboss42.home}/lib/endorsed" overwrite="true">
+ <fileset dir="${core.output.lib.dir}">
+ <include name="jboss-jaxws.jar"/>
+ <include name="jboss-saaj.jar"/>
+ </fileset>
+ <fileset dir="${thirdparty.dir}">
+ <include name="jaxb-api.jar"/>
+ </fileset>
+ </copy>
<copy todir="${jboss42.home}/server/${jboss.server.instance}/lib" overwrite="true">
<fileset dir="${core.output.lib.dir}">
<include name="jbossws-integration.jar"/>
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/FactoryLoader.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/FactoryLoader.java 2010-04-16 07:56:06 UTC (rev 12007)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/FactoryLoader.java 2010-04-16 08:01:26 UTC (rev 12008)
@@ -31,8 +31,6 @@
import java.security.PrivilegedAction;
import java.util.Properties;
-import org.jboss.logging.Logger;
-
// $Id$
/**
@@ -43,9 +41,6 @@
*/
public class FactoryLoader
{
- // provide logging
- private static Logger log = Logger.getLogger(FactoryLoader.class);
-
private FactoryLoader()
{
}
@@ -72,7 +67,6 @@
{
try
{
- if(log.isDebugEnabled()) log.debug("Load from system property: " + factoryName);
Class factoryClass = loader.loadClass(factoryName);
factory = factoryClass.newInstance();
}
@@ -98,7 +92,6 @@
factoryName = jaxmProperties.getProperty(propertyName);
if (factoryName != null)
{
- if(log.isDebugEnabled()) log.debug("Load from " + jaxmFile + ": " + factoryName);
Class factoryClass = loader.loadClass(factoryName);
factory = factoryClass.newInstance();
}
@@ -124,7 +117,6 @@
br.close();
if (factoryName != null)
{
- if(log.isTraceEnabled()) log.trace("Load from Service API " + filename + ": " + factoryName);
Class factoryClass = loader.loadClass(factoryName);
factory = factoryClass.newInstance();
}
@@ -142,7 +134,6 @@
try
{
factoryName = defaultFactory;
- if(log.isDebugEnabled()) log.debug("Load from default: " + factoryName);
Class factoryClass = loader.loadClass(factoryName);
factory = factoryClass.newInstance();
}
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnection.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnection.java 2010-04-16 07:56:06 UTC (rev 12007)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnection.java 2010-04-16 08:01:26 UTC (rev 12008)
@@ -21,8 +21,6 @@
*/
package javax.xml.soap;
-import org.jboss.util.NotImplementedException;
-
/** A point-to-point connection that a client can use for sending messages directly to a remote
* party (represented by a URL, for instance).
*
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnectionFactory.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnectionFactory.java 2010-04-16 07:56:06 UTC (rev 12007)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPConnectionFactory.java 2010-04-16 08:01:26 UTC (rev 12008)
@@ -24,8 +24,6 @@
import java.security.AccessController;
import java.security.PrivilegedAction;
-import org.jboss.logging.Logger;
-
/** A factory for creating SOAPConnection objects. Implementation of this class
* is optional. If SOAPConnectionFactory.newInstance() throws an
* UnsupportedOperationException then the implementation does not support the
@@ -39,9 +37,6 @@
*/
public abstract class SOAPConnectionFactory
{
- // provide logging
- private static Logger log = Logger.getLogger(SOAPConnectionFactory.class);
-
private static final String DEFAULT_SOAP_CONNECTION_FACTORY = "org.jboss.ws.core.soap.SOAPConnectionFactoryImpl";
private static final String[] alternativeFactories = new String[] { "org.jboss.webservice.soap.SOAPConnectionFactoryImpl",
"org.jboss.axis.soap.SOAPConnectionFactoryImpl" };
@@ -81,7 +76,7 @@
}
catch (ClassNotFoundException e1)
{
- if(log.isDebugEnabled()) log.debug("Cannot load factory: " + factoryName);
+ // ignore
}
}
}
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPException.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPException.java 2010-04-16 07:56:06 UTC (rev 12007)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/soap/SOAPException.java 2010-04-16 08:01:26 UTC (rev 12008)
@@ -21,22 +21,13 @@
*/
package javax.xml.soap;
-import org.jboss.util.id.SerialVersion;
-
/**
* @author Scott.Stark(a)jboss.org
* @version $Revision$
*/
public class SOAPException extends Exception
{
- /** @since 4.0.2 */
- static final long serialVersionUID;
- static
- {
- if (SerialVersion.version == SerialVersion.LEGACY)
- serialVersionUID = -4385552115225336830L;
- else serialVersionUID = 5083961510786058130L;
- }
+ private static final long serialVersionUID = 5083961510786058130L;
public SOAPException()
{
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/ws/addressing/AddressingBuilder.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/ws/addressing/AddressingBuilder.java 2010-04-16 07:56:06 UTC (rev 12007)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/javax/xml/ws/addressing/AddressingBuilder.java 2010-04-16 08:01:26 UTC (rev 12008)
@@ -31,13 +31,8 @@
import javax.xml.namespace.QName;
-import org.jboss.logging.Logger;
-
public abstract class AddressingBuilder implements AddressingType
{
- // provide logging
- private static Logger log = Logger.getLogger(AddressingBuilder.class);
-
protected AddressingBuilder()
{
}
@@ -67,7 +62,7 @@
}
catch (Exception e)
{
- log.warn("Could not create and instance of " + name + " trying " + DEFAULT_ADDRESSING_BUILDER);
+ // ignore
}
// default builder
Added: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/resources/jboss-saaj.jar/META-INF/services/javax.xml.soap.SOAPConnectionFactory
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/resources/jboss-saaj.jar/META-INF/services/javax.xml.soap.SOAPConnectionFactory (rev 0)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/resources/jboss-saaj.jar/META-INF/services/javax.xml.soap.SOAPConnectionFactory 2010-04-16 08:01:26 UTC (rev 12008)
@@ -0,0 +1 @@
+org.jboss.ws.core.soap.SOAPConnectionFactoryImpl
\ No newline at end of file
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/build.xml
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/build.xml 2010-04-16 07:56:06 UTC (rev 12007)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/build.xml 2010-04-16 08:01:26 UTC (rev 12008)
@@ -64,7 +64,7 @@
<!-- Java Endorsed -->
<condition property="endorsed.dirs" value="${jboss.home}/lib/endorsed">
- <isset property="jbossws.integration.target.jboss"/>
+ <isset property="jbossws.integration.target"/>
</condition>
<condition property="endorsed.dirs" value="${tomcat.home}/common/endorsed">
<isset property="jbossws.integration.target.tomcat"/>
14 years, 8 months
JBossWS SVN: r12007 - legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/org/jboss/ws/metadata/wsdl/xmlschema.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 03:56:06 -0400 (Fri, 16 Apr 2010)
New Revision: 12007
Modified:
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSParticle.java
Log:
[JBPAPP-4098] fixing wrong compareTo method assumptions
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSParticle.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSParticle.java 2010-04-16 07:54:27 UTC (rev 12006)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-core/src/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSParticle.java 2010-04-16 07:56:06 UTC (rev 12007)
@@ -117,10 +117,14 @@
JBossXSParticle w = (JBossXSParticle)o;
String oname = w.getTerm().getName();
String termName = term.getName();
- if (termName != null)
+ if (termName != null && oname != null)
c = termName.compareTo(oname);
+ else if (termName == null)
+ c = -1;
+ else
+ c = 1;
//In the case of doclit, need to be careful about String_1,SimpleType_2
- if (termName != null)
+ if (termName != null && oname != null)
{
char num1 = termName.charAt(termName.length() - 1);
char num2 = oname.charAt(oname.length() - 1);
14 years, 8 months
JBossWS SVN: r12006 - in legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools: jbws818 and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-04-16 03:54:27 -0400 (Fri, 16 Apr 2010)
New Revision: 12006
Modified:
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws1170/JBWS1170TestCase.java
legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws818/JBWS818TestCase.java
Log:
[JBPAPP-4109] disabling wrong XML byte by byte comparison
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws1170/JBWS1170TestCase.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws1170/JBWS1170TestCase.java 2010-04-16 02:36:20 UTC (rev 12005)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws1170/JBWS1170TestCase.java 2010-04-16 07:54:27 UTC (rev 12006)
@@ -47,7 +47,8 @@
Element exp = DOMUtils.parse(new FileInputStream(resourceDir + "/wrapper-mapping.xml"));
Element was = DOMUtils.parse(new FileInputStream(toolsDir + "/wrapper-mapping.xml"));
- assertEquals(exp, was);
+ // With JDK6 these are not lexically equivalent
+ //assertEquals(exp, was);
String expLine="";
BufferedReader br = new BufferedReader(new FileReader(resourceDir + "/ParsedAddress.java"));
Modified: legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws818/JBWS818TestCase.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws818/JBWS818TestCase.java 2010-04-16 02:36:20 UTC (rev 12005)
+++ legacy/branches/jbossws-1.2.1.GA_CP/jbossws-tests/src/java/org/jboss/test/ws/tools/jbws818/JBWS818TestCase.java 2010-04-16 07:54:27 UTC (rev 12006)
@@ -50,6 +50,7 @@
Element exp = DOMUtils.parse(new FileInputStream("resources/tools/jbws818/CrossPackageInheritenceService.wsdl"));
Element was = DOMUtils.parse(new FileInputStream("tools/jbws818/wsdl/CrossPackageInheritenceService.wsdl"));
- assertEquals(exp, was);
+ // With JDK6 these are not lexically equivalent
+ //assertEquals(exp, was);
}
}
14 years, 8 months
JBossWS SVN: r12005 - common/branches.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2010-04-15 22:36:20 -0400 (Thu, 15 Apr 2010)
New Revision: 12005
Added:
common/branches/jms-integration/
Log:
Create jms integration branch
Copied: common/branches/jms-integration (from rev 12004, common/trunk)
14 years, 8 months
JBossWS SVN: r12004 - stack/metro/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-04-15 12:54:56 -0400 (Thu, 15 Apr 2010)
New Revision: 12004
Modified:
stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt
Log:
[JBWS-2998] Updating excludes
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt 2010-04-15 15:54:24 UTC (rev 12003)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt 2010-04-15 16:54:56 UTC (rev 12004)
@@ -70,5 +70,6 @@
org/jboss/test/ws/jaxws/jbws2985/**
org/jboss/test/ws/jaxws/jbws2991/**
-# [JBWS-2998] service-ref mtom configuration through deployment descriptor
+# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
+org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt 2010-04-15 15:54:24 UTC (rev 12003)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss510.txt 2010-04-15 16:54:56 UTC (rev 12004)
@@ -70,5 +70,6 @@
org/jboss/test/ws/jaxws/jbws2985/**
org/jboss/test/ws/jaxws/jbws2991/**
-# [JBWS-2998] service-ref mtom configuration through deployment descriptor
+# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
+org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt 2010-04-15 15:54:24 UTC (rev 12003)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss600.txt 2010-04-15 16:54:56 UTC (rev 12004)
@@ -70,5 +70,6 @@
org/jboss/test/ws/jaxws/jbws2985/**
org/jboss/test/ws/jaxws/jbws2991/**
-# [JBWS-2998] service-ref mtom configuration through deployment descriptor
+# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
+org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-04-15 15:54:24 UTC (rev 12003)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-04-15 16:54:56 UTC (rev 12004)
@@ -65,5 +65,6 @@
org/jboss/test/ws/jaxws/jbws2991/**
org/jboss/test/ws/jaxws/endpointReference/EndpointReferenceBuilderTestCase.*
-# [JBWS-2998] service-ref mtom configuration through deployment descriptor
+# [JBWS-2998] Complete integration development for JSR109 requirements
org/jboss/test/ws/jaxws/jbws2307/JBWS2307MTOMTestCase.*
+org/jboss/test/ws/jaxws/jbws2999/JBWS2999TestCase.*
14 years, 8 months