Author: thomas.diesler(a)jboss.com
Date: 2007-06-01 07:13:38 -0400 (Fri, 01 Jun 2007)
New Revision: 3358
Modified:
trunk/build/version.properties
trunk/integration/sunri/src/test/resources/excludes-jboss50.txt
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java
Log:
Enable sunri oneway
Modified: trunk/build/version.properties
===================================================================
--- trunk/build/version.properties 2007-06-01 11:02:01 UTC (rev 3357)
+++ trunk/build/version.properties 2007-06-01 11:13:38 UTC (rev 3358)
@@ -34,4 +34,4 @@
# Hudson setup
apache-tomcat=5.5.20
-sun-hudson=1.93
+sun-hudson=1.106
Modified: trunk/integration/sunri/src/test/resources/excludes-jboss50.txt
===================================================================
--- trunk/integration/sunri/src/test/resources/excludes-jboss50.txt 2007-06-01 11:02:01
UTC (rev 3357)
+++ trunk/integration/sunri/src/test/resources/excludes-jboss50.txt 2007-06-01 11:13:38
UTC (rev 3358)
@@ -8,7 +8,6 @@
# [JBWS-1673] Fix JAXR samples for SunRI
org/jboss/test/ws/jaxws/samples/jaxr/**
-org/jboss/test/ws/jaxws/samples/oneway/**
org/jboss/test/ws/jaxws/samples/provider/**
org/jboss/test/ws/jaxws/samples/retail/**
org/jboss/test/ws/jaxws/samples/soapbinding/**
Modified:
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java
===================================================================
---
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java 2007-06-01
11:02:01 UTC (rev 3357)
+++
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java 2007-06-01
11:13:38 UTC (rev 3358)
@@ -60,7 +60,7 @@
QName serviceName = new QName(targetNS, "PingEndpointService");
QName portName = new QName(targetNS, "PingEndpointPort");
Service service = Service.create(wsdlURL, serviceName);
- Dispatch dispatch = service.createDispatch(portName, StreamSource.class,
Mode.PAYLOAD);
+ Dispatch dispatch = service.createDispatch(portName, Source.class, Mode.PAYLOAD);
String payload = "<ns1:ping
xmlns:ns1='http://oneway.samples.jaxws.ws.test.jboss.org/'/>&q...;
dispatch.invokeOneWay(new StreamSource(new StringReader(payload)));