JBossWS SVN: r18013 - in projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss: wsf/test and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: rsvoboda(a)redhat.com
Date: 2013-10-18 10:14:23 -0400 (Fri, 18 Oct 2013)
New Revision: 18013
Modified:
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
Log:
WSI: bp12 code style fixes
Modified: projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java
===================================================================
--- projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java 2013-10-18 14:04:05 UTC (rev 18012)
+++ projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java 2013-10-18 14:14:23 UTC (rev 18013)
@@ -236,7 +236,9 @@
StringBuffer buffer = new StringBuffer();
while ((inputLine = in.readLine()) != null)
+ {
buffer.append(inputLine);
+ }
in.close();
System.out.println(buffer.toString());
Modified: projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
===================================================================
--- projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java 2013-10-18 14:04:05 UTC (rev 18012)
+++ projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java 2013-10-18 14:14:23 UTC (rev 18013)
@@ -51,10 +51,14 @@
{
String helperClassName = req.getParameter("helper");
if (helperClassName == null || helperClassName.length() == 0)
+ {
throw new ServletException("helper not specified!");
+ }
String path = req.getParameter("path");
if (path == null || path.length() == 0)
+ {
throw new ServletException("path not specified!");
+ }
try
{
ClientHelper helper = (ClientHelper) Class.forName(helperClassName).newInstance();
@@ -99,14 +103,18 @@
{
w.print(it.next());
if (it.hasNext())
+ {
w.print(", ");
+ }
}
res.getWriter().print(" # Error tests: ");
for (Iterator<String> it = errorTests.iterator(); it.hasNext();)
{
w.print(it.next());
if (it.hasNext())
+ {
w.print(", ");
+ }
}
}
}
10 years, 11 months
JBossWS SVN: r18012 - in projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss: wsf/test and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: rsvoboda(a)redhat.com
Date: 2013-10-18 10:04:05 -0400 (Fri, 18 Oct 2013)
New Revision: 18012
Modified:
projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1190/Test119XTestCase.java
projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
Log:
WSI: bp20 code style fixes
Modified: projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1190/Test119XTestCase.java
===================================================================
--- projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1190/Test119XTestCase.java 2013-10-18 12:41:51 UTC (rev 18011)
+++ projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1190/Test119XTestCase.java 2013-10-18 14:04:05 UTC (rev 18012)
@@ -237,7 +237,9 @@
StringBuffer buffer = new StringBuffer();
while ((inputLine = in.readLine()) != null)
+ {
buffer.append(inputLine);
+ }
in.close();
System.out.println(buffer.toString());
Modified: projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
===================================================================
--- projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/wsf/test/TestServlet.java 2013-10-18 12:41:51 UTC (rev 18011)
+++ projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/wsf/test/TestServlet.java 2013-10-18 14:04:05 UTC (rev 18012)
@@ -51,10 +51,14 @@
{
String helperClassName = req.getParameter("helper");
if (helperClassName == null || helperClassName.length() == 0)
+ {
throw new ServletException("helper not specified!");
+ }
String path = req.getParameter("path");
if (path == null || path.length() == 0)
+ {
throw new ServletException("path not specified!");
+ }
try
{
ClientHelper helper = (ClientHelper) Class.forName(helperClassName).newInstance();
@@ -71,8 +75,7 @@
int testsRun = 0;
if (methodName != null && methodName.length() > 0)
{
- Method m = null;
- m = helper.getClass().getMethod(methodName);
+ Method m = helper.getClass().getMethod(methodName);
testsRun++;
invokeMethod(m, helper, failedTests, errorTests);
}
@@ -100,14 +103,18 @@
{
w.print(it.next());
if (it.hasNext())
+ {
w.print(", ");
+ }
}
res.getWriter().print(" # Error tests: ");
for (Iterator<String> it = errorTests.iterator(); it.hasNext();)
{
w.print(it.next());
if (it.hasNext())
+ {
w.print(", ");
+ }
}
}
}
10 years, 11 months
JBossWS SVN: r18009 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2013-10-17 13:09:48 -0400 (Thu, 17 Oct 2013)
New Revision: 18009
Modified:
stack/cxf/trunk/pom.xml
Log:
Using latest jbossws-common
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2013-10-17 13:38:50 UTC (rev 18008)
+++ stack/cxf/trunk/pom.xml 2013-10-17 17:09:48 UTC (rev 18009)
@@ -61,7 +61,7 @@
<properties>
<jbossws.api.version>1.0.2.Final</jbossws.api.version>
<jbossws.spi.version>2.2.2.Final</jbossws.spi.version>
- <jbossws.common.version>2.2.2.Final</jbossws.common.version>
+ <jbossws.common.version>2.2.3-SNAPSHOT</jbossws.common.version>
<jbossws.common.tools.version>1.2.0.Final</jbossws.common.tools.version>
<jbossws.jboss712.version>4.2.1.Final</jbossws.jboss712.version>
<jbossws.jboss713.version>4.2.1.Final</jbossws.jboss713.version>
10 years, 11 months
JBossWS SVN: r18008 - common/trunk/src/main/java/org/jboss/ws/common/configuration.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2013-10-17 09:38:50 -0400 (Thu, 17 Oct 2013)
New Revision: 18008
Added:
common/trunk/src/main/java/org/jboss/ws/common/configuration/SOAPConfigDelegateHandler.java
Modified:
common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java
Log:
[JBWS-3720] Adding SOAPConfigDelegateHandler
Modified: common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java
===================================================================
--- common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java 2013-10-17 13:06:04 UTC (rev 18007)
+++ common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java 2013-10-17 13:38:50 UTC (rev 18008)
@@ -36,6 +36,7 @@
import javax.xml.ws.BindingProvider;
import javax.xml.ws.handler.Handler;
import javax.xml.ws.handler.LogicalHandler;
+import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.http.HTTPBinding;
import javax.xml.ws.soap.SOAPBinding;
@@ -182,6 +183,10 @@
{
handlers.add(new LogicalConfigDelegateHandler((LogicalHandler)h, isPre));
}
+ else if (h instanceof SOAPHandler)
+ {
+ handlers.add(new SOAPConfigDelegateHandler((SOAPHandler)h, isPre));
+ }
else
{
handlers.add(new ConfigDelegateHandler((Handler)h, isPre));
Added: common/trunk/src/main/java/org/jboss/ws/common/configuration/SOAPConfigDelegateHandler.java
===================================================================
--- common/trunk/src/main/java/org/jboss/ws/common/configuration/SOAPConfigDelegateHandler.java (rev 0)
+++ common/trunk/src/main/java/org/jboss/ws/common/configuration/SOAPConfigDelegateHandler.java 2013-10-17 13:38:50 UTC (rev 18008)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, 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.ws.common.configuration;
+
+import java.util.Set;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.handler.soap.SOAPHandler;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+
+
+/**
+ * JBossWS client / endpoint configuration-contributed SOAP handler
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 17-Oct-2013
+ *
+ */
+public class SOAPConfigDelegateHandler<T extends SOAPMessageContext> extends ConfigDelegateHandler<T> implements SOAPHandler<T>
+{
+ public SOAPConfigDelegateHandler(SOAPHandler<T> delegate, boolean isPre) {
+ super(delegate, isPre);
+ }
+
+ @Override
+ public Set<QName> getHeaders()
+ {
+ return ((SOAPHandler<T>)delegate).getHeaders();
+ }
+}
Property changes on: common/trunk/src/main/java/org/jboss/ws/common/configuration/SOAPConfigDelegateHandler.java
___________________________________________________________________
Added: svn:keywords
+ Rev Date
Added: svn:eol-style
+ native
10 years, 11 months
JBossWS SVN: r18007 - projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198.
by jbossws-commits@lists.jboss.org
Author: rsvoboda(a)redhat.com
Date: 2013-10-17 09:06:04 -0400 (Thu, 17 Oct 2013)
New Revision: 18007
Modified:
projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/Test1198TestCase.java
Log:
WSI: bp20 Test1198TestCase - fix for request 3
Modified: projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/Test1198TestCase.java
===================================================================
--- projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/Test1198TestCase.java 2013-10-17 12:58:47 UTC (rev 18006)
+++ projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/Test1198TestCase.java 2013-10-17 13:06:04 UTC (rev 18007)
@@ -69,7 +69,8 @@
System.out.println("Invoking sign2 and exception is expected...");
try
{
- response = port.sign2("Fault","World");
+ port.sign2("Fault","World");
+ fail("Exception is expected.");
}
catch (Exception e)
{
10 years, 11 months
JBossWS SVN: r18006 - projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1197.
by jbossws-commits@lists.jboss.org
Author: rsvoboda(a)redhat.com
Date: 2013-10-17 08:58:47 -0400 (Thu, 17 Oct 2013)
New Revision: 18006
Modified:
projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1197/Test1197TestCase.java
Log:
WSI: bp20 Test1197TestCase - fix for request 8
Modified: projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1197/Test1197TestCase.java
===================================================================
--- projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1197/Test1197TestCase.java 2013-10-17 12:53:36 UTC (rev 18005)
+++ projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1197/Test1197TestCase.java 2013-10-17 12:58:47 UTC (rev 18006)
@@ -92,7 +92,8 @@
headerText.value = "Hello";
try
{
- response = port.sign1("world");
+ port.sign7("World", headerText);
+ fail("Exception is expected.");
}
catch (Exception e)
{
10 years, 11 months
JBossWS SVN: r18005 - projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198.
by jbossws-commits@lists.jboss.org
Author: rsvoboda(a)redhat.com
Date: 2013-10-17 08:53:36 -0400 (Thu, 17 Oct 2013)
New Revision: 18005
Modified:
projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/SignatureRpcLiteralImpl.java
Log:
WSI: throw created exception
Modified: projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/SignatureRpcLiteralImpl.java
===================================================================
--- projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/SignatureRpcLiteralImpl.java 2013-10-17 12:07:12 UTC (rev 18004)
+++ projects/wsi-bp-test/trunk/bp20-tests/src/test/java/org/jboss/test/ws/jaxws/bp20/wsa/test1198/SignatureRpcLiteralImpl.java 2013-10-17 12:53:36 UTC (rev 18005)
@@ -41,7 +41,7 @@
{
if (parameter1.equals("Fault"))
{
- new SignatureRpcLiteralSign2SignatureHeaderRpcFaultFaultMessage("Fault : " + parameter1 + "," + parameter2);
+ throw new SignatureRpcLiteralSign2SignatureHeaderRpcFaultFaultMessage("Fault : " + parameter1 + "," + parameter2);
}
return "Sign2, Parameter=" + parameter1 + ",Parameter=" + parameter2;
}
10 years, 11 months
JBossWS SVN: r18004 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2013-10-17 08:07:12 -0400 (Thu, 17 Oct 2013)
New Revision: 18004
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
[JBWS-3679] Enabling test
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2013-10-17 12:02:29 UTC (rev 18003)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2013-10-17 12:07:12 UTC (rev 18004)
@@ -671,9 +671,6 @@
<!--# [JBWS-3560] fastinfoset module is required in as712 -->
<exclude>org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase*</exclude>
- <!--# [JBWS-3679] @WebServiceRef injection of co-located client with no specified wsdlLocation is not working -->
- <exclude>org/jboss/test/ws/jaxws/cxf/jbws3679/**</exclude>
-
<!--# [WFLY-308] Provide facility for running ejb3 ws endpoints authorization independently -->
<exclude>org/jboss/test/ws/jaxws/handlerauth/HandlerAuthTestCase*</exclude>
@@ -744,9 +741,6 @@
<!--# [JBWS-3560] fastinfoset module is required in as713 -->
<exclude>org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase*</exclude>
- <!--# [JBWS-3679] @WebServiceRef injection of co-located client with no specified wsdlLocation is not working -->
- <exclude>org/jboss/test/ws/jaxws/cxf/jbws3679/**</exclude>
-
<!--# [WFLY-308] Provide facility for running ejb3 ws endpoints authorization independently -->
<exclude>org/jboss/test/ws/jaxws/handlerauth/HandlerAuthTestCase*</exclude>
@@ -814,9 +808,6 @@
<!--# [JBWS-3560] fastinfoset module is required in as720 -->
<exclude>org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase*</exclude>
- <!--# [JBWS-3679] @WebServiceRef injection of co-located client with no specified wsdlLocation is not working -->
- <exclude>org/jboss/test/ws/jaxws/cxf/jbws3679/**</exclude>
-
<!--# [WFLY-308] Provide facility for running ejb3 ws endpoints authorization independently -->
<exclude>org/jboss/test/ws/jaxws/handlerauth/HandlerAuthTestCase*</exclude>
@@ -884,9 +875,6 @@
<!-- # [JBWS-3620] Authentication failures w/ Undertow -->
<exclude>org/jboss/test/ws/jaxws/cxf/httpauth/HelloDigestTestCase*</exclude>
- <!--# [JBWS-3679] @WebServiceRef injection of co-located client with no specified wsdlLocation is not working -->
- <exclude>org/jboss/test/ws/jaxws/cxf/jbws3679/**</exclude>
-
<!-- Manually setup KDC before run this test-->
<exclude>org/jboss/test/ws/jaxws/samples/wsse/kerberos/*TestCase*</exclude>
</excludes>
10 years, 11 months
JBossWS SVN: r18003 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2013-10-17 08:02:29 -0400 (Thu, 17 Oct 2013)
New Revision: 18003
Modified:
stack/cxf/trunk/pom.xml
Log:
Using latest snapshot of jbossws-native and jbossws-jboss720
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2013-10-17 12:01:40 UTC (rev 18002)
+++ stack/cxf/trunk/pom.xml 2013-10-17 12:02:29 UTC (rev 18003)
@@ -65,8 +65,8 @@
<jbossws.common.tools.version>1.2.0.Final</jbossws.common.tools.version>
<jbossws.jboss712.version>4.2.1.Final</jbossws.jboss712.version>
<jbossws.jboss713.version>4.2.1.Final</jbossws.jboss713.version>
- <jbossws.jboss720.version>4.2.1.Final</jbossws.jboss720.version>
- <jbossws.native.version>4.1.1.Final</jbossws.native.version>
+ <jbossws.jboss720.version>4.2.2-SNAPSHOT</jbossws.jboss720.version>
+ <jbossws.native.version>4.1.2-SNAPSHOT</jbossws.native.version>
<jboss712.version>7.1.2.Final</jboss712.version>
<jboss713.version>7.1.3.Final</jboss713.version>
<jboss720.version>7.2.0.Final</jboss720.version>
10 years, 11 months
JBossWS SVN: r18002 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: asoldano
Date: 2013-10-17 08:01:40 -0400 (Thu, 17 Oct 2013)
New Revision: 18002
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
[WFLY-308][JBWS-3378] Enabling test
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2013-10-17 11:54:24 UTC (rev 18001)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2013-10-17 12:01:40 UTC (rev 18002)
@@ -887,9 +887,6 @@
<!--# [JBWS-3679] @WebServiceRef injection of co-located client with no specified wsdlLocation is not working -->
<exclude>org/jboss/test/ws/jaxws/cxf/jbws3679/**</exclude>
- <!--# [WFLY-308] Provide facility for running ejb3 ws endpoints authorization independently -->
- <exclude>org/jboss/test/ws/jaxws/handlerauth/HandlerAuthTestCase*</exclude>
-
<!-- Manually setup KDC before run this test-->
<exclude>org/jboss/test/ws/jaxws/samples/wsse/kerberos/*TestCase*</exclude>
</excludes>
10 years, 11 months