JBossWS SVN: r11459 - in stack/native/branches/jbossws-native-3.1.2: modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389 and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-01-19 11:53:35 -0500 (Tue, 19 Jan 2010)
New Revision: 11459
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2682/JBWS2682TestCase.java
stack/native/branches/jbossws-native-3.1.2/pom.xml
Log:
Moving to latest jaxb patch + enabling tests
Modified: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java 2010-01-19 10:13:12 UTC (rev 11458)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java 2010-01-19 16:53:35 UTC (rev 11459)
@@ -28,7 +28,6 @@
import junit.framework.Test;
-import org.jboss.test.ws.jaxws.jbws1309.EndpointInterface;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
@@ -50,11 +49,6 @@
}
public void testCall() throws Exception {
- if (true) {
- System.out.println("FIXME [JBPAPP-3389] Mixed up namespace prefixes when marshalling response with Element containing attributes.");
- return;
- }
-
URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
QName serviceName = new QName("http://ws.jboss.org/jbpapp3389",
"EndpointImplService");
Modified: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2682/JBWS2682TestCase.java
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2682/JBWS2682TestCase.java 2010-01-19 10:13:12 UTC (rev 11458)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2682/JBWS2682TestCase.java 2010-01-19 16:53:35 UTC (rev 11459)
@@ -94,12 +94,6 @@
public void testBadMessage() throws Exception
{
- if (true)
- {
- System.out.println("FIXME [JBWS-2682] Incorrect Parsing of Badly Formed int.");
- return;
- }
-
SOAPMessage response = sendMessage(this.badMsgString);
SOAPEnvelope resEnv = response.getSOAPPart().getEnvelope();
SOAPFault fault = resEnv.getBody().getFault();
Modified: stack/native/branches/jbossws-native-3.1.2/pom.xml
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/pom.xml 2010-01-19 10:13:12 UTC (rev 11458)
+++ stack/native/branches/jbossws-native-3.1.2/pom.xml 2010-01-19 16:53:35 UTC (rev 11459)
@@ -59,8 +59,8 @@
<codehaus.jettison.version>1.1</codehaus.jettison.version>
<commons.logging.version>1.1.1</commons.logging.version>
<javassist.version>3.9.0.GA</javassist.version>
- <jaxb.api.version>2.1.9.patch01</jaxb.api.version>
- <jaxb.impl.version>2.1.9.patch01</jaxb.impl.version>
+ <jaxb.api.version>2.1.9.patch02</jaxb.api.version>
+ <jaxb.impl.version>2.1.9.patch02</jaxb.impl.version>
<jboss.common.version>1.2.1.GA</jboss.common.version>
<jboss.jaxbintros.version>1.0.0.GA</jboss.jaxbintros.version>
<jboss.remoting.version>2.5.2</jboss.remoting.version>
15 years, 2 months
JBossWS SVN: r11458 - stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-01-19 05:13:12 -0500 (Tue, 19 Jan 2010)
New Revision: 11458
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java
Log:
[JBWS-2889] Make sure BindingProvider.getEndpointReference throws WebServiceException and not InvocationTargetException
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java 2010-01-19 10:03:43 UTC (rev 11457)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java 2010-01-19 10:13:12 UTC (rev 11458)
@@ -22,6 +22,7 @@
package org.jboss.ws.core.jaxws.client;
import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.rmi.RemoteException;
import java.util.ArrayList;
@@ -102,8 +103,16 @@
String methodName = method.getName();
if (stubMethods.contains(method))
{
- Method stubMethod = ClientImpl.class.getMethod(methodName, method.getParameterTypes());
- return stubMethod.invoke(client, args);
+ try
+ {
+ Method stubMethod = ClientImpl.class.getMethod(methodName, method.getParameterTypes());
+ return stubMethod.invoke(client, args);
+ }
+ catch (InvocationTargetException ite) //unwrap the cause and re-throw as is if it's a WebServiceException (spec requirement for getEndpointReference(..) for instance)
+ {
+ Throwable cause = ite.getCause();
+ throw (cause != null && cause instanceof WebServiceException) ? cause : ite;
+ }
}
// An invocation on proxy's Object class
15 years, 2 months
JBossWS SVN: r11457 - framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/endpointReference.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-01-19 05:03:43 -0500 (Tue, 19 Jan 2010)
New Revision: 11457
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/endpointReference/BindingProviderTestCase.java
Log:
[JBWS-2889] Providing testcase for getEndpointReference(..) exception handling
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/endpointReference/BindingProviderTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/endpointReference/BindingProviderTestCase.java 2010-01-19 10:02:45 UTC (rev 11456)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/endpointReference/BindingProviderTestCase.java 2010-01-19 10:03:43 UTC (rev 11457)
@@ -30,6 +30,7 @@
import javax.xml.ws.Dispatch;
import javax.xml.ws.EndpointReference;
import javax.xml.ws.Service;
+import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service.Mode;
import javax.xml.ws.soap.AddressingFeature;
@@ -73,10 +74,14 @@
bp.getEndpointReference(MyEndpointReference.class);
fail("Exception expected");
}
- catch (Exception e)
+ catch (WebServiceException e)
{
//NOP: the provided EndpointReference is not supported by the implementation
}
+ catch (Throwable t)
+ {
+ fail("WebServiceException expected, got " + t);
+ }
String retObj = port.echo("Hello");
assertEquals("Hello", retObj);
@@ -108,12 +113,16 @@
try
{
bp.getEndpointReference(MyEndpointReference.class);
- fail("Exception expected");
+ fail("WebServiceException expected");
}
- catch (Exception e)
+ catch (WebServiceException e)
{
//NOP: the provided EndpointReference is not supported by the implementation
}
+ catch (Throwable t)
+ {
+ fail("WebServiceException expected, got " + t);
+ }
}
public void testDispatchWithFeatures() throws Exception
15 years, 2 months
JBossWS SVN: r11456 - framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1733.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-01-19 05:02:45 -0500 (Tue, 19 Jan 2010)
New Revision: 11456
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java
Log:
Improving a test check
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java 2010-01-19 06:27:51 UTC (rev 11455)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java 2010-01-19 10:02:45 UTC (rev 11456)
@@ -65,7 +65,7 @@
((BindingProvider)proxy).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
for (int i = 1; i <= 10; i++)
{
- assertTrue(proxy.getCounter() == i);
+ assertEquals(i, proxy.getCounter());
}
}
15 years, 2 months
JBossWS SVN: r11455 - framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-01-19 01:27:51 -0500 (Tue, 19 Jan 2010)
New Revision: 11455
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
Log:
fixing test classpath
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2010-01-18 21:13:47 UTC (rev 11454)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2010-01-19 06:27:51 UTC (rev 11455)
@@ -89,6 +89,7 @@
cp.append(PS + jbc + FS + "jbossws-" + stackName + "-client.jar");
cp.append(PS + jbc + FS + "jboss-common-core.jar");
cp.append(PS + jbc + FS + "jboss-javaee.jar");
+ cp.append(PS + jbc + FS + "log4j.jar");
String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + FS + "endorsed -cp " + cp + " " + TestClient.class.getName() + " " + getServerHost();
ByteArrayOutputStream bout = new ByteArrayOutputStream();
15 years, 2 months
JBossWS SVN: r11454 - stack/native/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-01-18 16:13:47 -0500 (Mon, 18 Jan 2010)
New Revision: 11454
Modified:
stack/native/trunk/modules/testsuite/test-excludes-jboss601.txt
Log:
[JBAS-7631] excluding test
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss601.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-01-18 20:29:45 UTC (rev 11453)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss601.txt 2010-01-18 21:13:47 UTC (rev 11454)
@@ -7,3 +7,5 @@
# [JBWS-2718] Loading artifacts from WEB-INF/wsdl1 fails
org/jboss/test/ws/jaxws/jbws2718/**
+# [JBAS-7631] NPE in EjbReferenceResolverBase.getMatch() method
+org/jboss/test/ws/jaxws/jbws2634/**
15 years, 2 months
JBossWS SVN: r11453 - in stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws: jaxws/jbws2565 and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-01-18 15:29:45 -0500 (Mon, 18 Jan 2010)
New Revision: 11453
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws167/HelloJavaBean.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2565/MyWebServiceBean.java
Log:
fixing hudson regression
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws167/HelloJavaBean.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws167/HelloJavaBean.java 2010-01-18 14:22:35 UTC (rev 11452)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws167/HelloJavaBean.java 2010-01-18 20:29:45 UTC (rev 11453)
@@ -48,7 +48,7 @@
log.info("soapAction: " + Arrays.asList(soapAction));
String retStr;
- if (soapAction != null && soapAction.length == 1 && soapAction[0].equals("/foo/bar"))
+ if (soapAction != null && soapAction.length == 1 && soapAction[0].indexOf("/foo/bar") != -1)
{
retStr = "[pass]";
}
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2565/MyWebServiceBean.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2565/MyWebServiceBean.java 2010-01-18 14:22:35 UTC (rev 11452)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2565/MyWebServiceBean.java 2010-01-18 20:29:45 UTC (rev 11453)
@@ -49,7 +49,7 @@
style = SOAPBinding.Style.DOCUMENT,
parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
)
-public final class MyWebServiceBean
+public class MyWebServiceBean
{
@WebMethod
@PermitAll
15 years, 2 months
JBossWS SVN: r11452 - stack/native/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-01-18 09:22:35 -0500 (Mon, 18 Jan 2010)
New Revision: 11452
Modified:
stack/native/trunk/pom.xml
Log:
fixing parent
Modified: stack/native/trunk/pom.xml
===================================================================
--- stack/native/trunk/pom.xml 2010-01-18 14:22:21 UTC (rev 11451)
+++ stack/native/trunk/pom.xml 2010-01-18 14:22:35 UTC (rev 11452)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-parent</artifactId>
- <version>1.0.4-SNAPSHOT</version>
+ <version>1.0.4.GA</version>
</parent>
<!-- Source Control Management -->
15 years, 2 months
JBossWS SVN: r11451 - stack/metro/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-01-18 09:22:21 -0500 (Mon, 18 Jan 2010)
New Revision: 11451
Modified:
stack/metro/trunk/pom.xml
Log:
fixing parent
Modified: stack/metro/trunk/pom.xml
===================================================================
--- stack/metro/trunk/pom.xml 2010-01-18 14:22:08 UTC (rev 11450)
+++ stack/metro/trunk/pom.xml 2010-01-18 14:22:21 UTC (rev 11451)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-parent</artifactId>
- <version>1.0.4-SNAPSHOT</version>
+ <version>1.0.4.GA</version>
</parent>
<!-- Source Control Management -->
15 years, 2 months
JBossWS SVN: r11450 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2010-01-18 09:22:08 -0500 (Mon, 18 Jan 2010)
New Revision: 11450
Modified:
stack/cxf/trunk/pom.xml
Log:
fixing parent
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2010-01-18 14:18:41 UTC (rev 11449)
+++ stack/cxf/trunk/pom.xml 2010-01-18 14:22:08 UTC (rev 11450)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-parent</artifactId>
- <version>1.0.4-SNAPSHOT</version>
+ <version>1.0.4.GA</version>
</parent>
<!-- Source Control Management -->
15 years, 2 months