[jboss-cvs] JBossAS SVN: r108357 - trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Sep 27 03:40:34 EDT 2010
Author: richard.opalka at jboss.com
Date: 2010-09-27 03:40:34 -0400 (Mon, 27 Sep 2010)
New Revision: 108357
Modified:
trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ApplicationClient.java
trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/EJB3Client.java
trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ServletClient.java
Log:
[JBAS-8471] fixing test - type have to be specified for @WebServiceRef declared on types
Modified: trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ApplicationClient.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ApplicationClient.java 2010-09-27 06:01:59 UTC (rev 108356)
+++ trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ApplicationClient.java 2010-09-27 07:40:34 UTC (rev 108357)
@@ -34,12 +34,16 @@
import org.jboss.logging.Logger;
//Test on type with wsdlLocation
- at WebServiceRef(name = "service1", value = TestEndpointService.class, wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl")
+ at WebServiceRef(name = "service1", value = TestEndpointService.class, type = TestEndpointService.class, wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl")
// Test multiple on type
- at WebServiceRefs( {
- @WebServiceRef(name = "service2", value = TestEndpointService.class),
- @WebServiceRef(name = "port1", value = TestEndpointService.class, type = TestEndpoint.class) })
+ at WebServiceRefs
+(
+ {
+ @WebServiceRef(name = "service2", value = TestEndpointService.class, type = TestEndpointService.class),
+ @WebServiceRef(name = "port1", value = TestEndpointService.class, type = TestEndpoint.class)
+ }
+)
public class ApplicationClient
{
// Provide logging
Modified: trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/EJB3Client.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/EJB3Client.java 2010-09-27 06:01:59 UTC (rev 108356)
+++ trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/EJB3Client.java 2010-09-27 07:40:34 UTC (rev 108357)
@@ -39,12 +39,16 @@
@Stateless
// Test on type with wsdlLocation
- at WebServiceRef(name = "service1", value = TestEndpointService.class, wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl")
+ at WebServiceRef(name = "service1", value = TestEndpointService.class, type = TestEndpointService.class, wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl")
// Test multiple on type
- at WebServiceRefs( {
- @WebServiceRef(name = "service2", value = TestEndpointService.class),
- @WebServiceRef(name = "port1", value = TestEndpointService.class, type = TestEndpoint.class) })
+ at WebServiceRefs
+(
+ {
+ @WebServiceRef(name = "service2", value = TestEndpointService.class, type = TestEndpointService.class),
+ @WebServiceRef(name = "port1", value = TestEndpointService.class, type = TestEndpoint.class)
+ }
+)
public class EJB3Client implements EJB3Remote
{
// Provide logging
Modified: trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ServletClient.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ServletClient.java 2010-09-27 06:01:59 UTC (rev 108356)
+++ trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/ServletClient.java 2010-09-27 07:40:34 UTC (rev 108357)
@@ -36,17 +36,21 @@
import org.jboss.logging.Logger;
//Test on type with wsdlLocation
- at WebServiceRef(name = "service1", value = TestEndpointService.class, wsdlLocation = "WEB-INF/wsdl/TestEndpoint.wsdl")
+ at WebServiceRef(name = "service1", value = TestEndpointService.class, type = TestEndpointService.class, wsdlLocation = "WEB-INF/wsdl/TestEndpoint.wsdl")
// Test multiple on type
- at WebServiceRefs( {
- @WebServiceRef(name = "service2", value = TestEndpointService.class),
- @WebServiceRef(name = "port1", value = TestEndpointService.class, type = TestEndpoint.class) })
+ at WebServiceRefs
+(
+ {
+ @WebServiceRef(name = "service2", value = TestEndpointService.class, type = TestEndpointService.class),
+ @WebServiceRef(name = "port1", value = TestEndpointService.class, type = TestEndpoint.class)
+ }
+)
public class ServletClient extends HttpServlet
{
// Provide logging
private static Logger log = Logger.getLogger(ServletClient.class);
-
+
// Test on field with name
@WebServiceRef(name = "TestEndpointService3")
public TestEndpointService service3;
More information about the jboss-cvs-commits
mailing list