[jboss-cvs] JBossAS SVN: r108201 - in trunk/testsuite: src/main/org/jboss/test/ws/jaxws/ejb3Integration and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Sep 17 05:18:13 EDT 2010


Author: alessio.soldano at jboss.com
Date: 2010-09-17 05:18:12 -0400 (Fri, 17 Sep 2010)
New Revision: 108201

Added:
   trunk/testsuite/src/resources/ws/jaxws/ejb3Integration/META-INF/
   trunk/testsuite/src/resources/ws/jaxws/ejb3Integration/META-INF/jboss.xml
Modified:
   trunk/testsuite/imports/sections/ws.xml
   trunk/testsuite/src/main/org/jboss/test/ws/jaxws/ejb3Integration/WebServiceRefBean.java
Log:
[JBAS-8244] Fixing failing org.jboss.test.ws.jaxws.ejb3Integration.WebServiceTestCase


Modified: trunk/testsuite/imports/sections/ws.xml
===================================================================
--- trunk/testsuite/imports/sections/ws.xml	2010-09-17 08:23:55 UTC (rev 108200)
+++ trunk/testsuite/imports/sections/ws.xml	2010-09-17 09:18:12 UTC (rev 108201)
@@ -112,6 +112,9 @@
       <fileset dir="${build.resources}/ws/jaxws/ejb3Integration">
         <include name="org/jboss/test/ws/jaxws/ejb3Integration/*.xml"/>
       </fileset>
+      <metainf dir="${build.resources}/ws/jaxws/ejb3Integration/META-INF">
+        <include name="jboss.xml"/>
+      </metainf>
     </jar>
     
     <!-- jaxws-injection -->

Modified: trunk/testsuite/src/main/org/jboss/test/ws/jaxws/ejb3Integration/WebServiceRefBean.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/ws/jaxws/ejb3Integration/WebServiceRefBean.java	2010-09-17 08:23:55 UTC (rev 108200)
+++ trunk/testsuite/src/main/org/jboss/test/ws/jaxws/ejb3Integration/WebServiceRefBean.java	2010-09-17 09:18:12 UTC (rev 108201)
@@ -35,7 +35,7 @@
 @RemoteBinding(jndiBinding = "/test-webservices/WebServiceRefBean")
 public class WebServiceRefBean implements BusinessInterface
 {
-   @WebServiceRef(wsdlLocation = "http://localhost:8080/webservices-ejb3/SimpleEndpoint?wsdl")
+   @WebServiceRef(wsdlLocation = "http://localhost:8080/webservices-ejb3/SimpleEndpoint?wsdl", name = "service1")
    Ejb3WSEndpoint serviceRef;
    
    public String echo(String msg)

Added: trunk/testsuite/src/resources/ws/jaxws/ejb3Integration/META-INF/jboss.xml
===================================================================
--- trunk/testsuite/src/resources/ws/jaxws/ejb3Integration/META-INF/jboss.xml	                        (rev 0)
+++ trunk/testsuite/src/resources/ws/jaxws/ejb3Integration/META-INF/jboss.xml	2010-09-17 09:18:12 UTC (rev 108201)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 5.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">
+
+<jboss>
+  
+  <enterprise-beans>
+    <session>
+      <ejb-name>WebServiceRefBean</ejb-name>
+      
+      <service-ref>
+        <service-ref-name>service1</service-ref-name>
+        <service-qname>{http://ejb3Integration.jaxws.ws.test.jboss.org/}SimpleEndpointService</service-qname>
+      </service-ref>
+
+    </session>
+  </enterprise-beans>
+  
+</jboss>
\ No newline at end of file



More information about the jboss-cvs-commits mailing list