Author: rsearls
Date: 2014-07-25 17:10:45 -0400 (Fri, 25 Jul 2014)
New Revision: 18816
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/BasicEjb.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbPortComponentUri.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebContext.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceDupServicename.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceNoServicename.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceProvider.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceServicename.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/JBWS3809TestCase.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/dups/
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/dups/EjbWebServiceNoServicename.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/ejb-jar.xml
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/jboss-webservices.xml
Log:
[JBWS-3809] added tests to testsuite
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/BasicEjb.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/BasicEjb.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/BasicEjb.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,14 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import javax.jws.WebParam;
+import javax.jws.WebService;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebService(
+ targetNamespace = "http://org.jboss.ws.test")
+public interface BasicEjb {
+ String getStr (String str);
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbPortComponentUri.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbPortComponentUri.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbPortComponentUri.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,21 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebService(
+ portName = "EjbPortComponentUriServicePort",
+ targetNamespace = "http://org.jboss.ws.test")
+@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
+public class EjbPortComponentUri implements BasicEjb {
+ @WebMethod(operationName = "getStr")
+ public String getStr (@WebParam(name = "str") String str) {
+ return this.getClass().getSimpleName() + ": " + str;
+ }
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebContext.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebContext.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebContext.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,25 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import org.jboss.ws.api.annotation.WebContext;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebService(
+ portName = "EjbWebContextServicePort",
+ targetNamespace = "http://org.jboss.ws.test")
+@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
+@WebContext(urlPattern="MyEjbWebContext")
+public class EjbWebContext implements BasicEjb {
+ @WebMethod(operationName = "getStr")
+ public String getStr (@WebParam(name = "str") String str) {
+ return this.getClass().getSimpleName() + ": " + str;
+ }
+}
+
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceDupServicename.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceDupServicename.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceDupServicename.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,22 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebService(
+ portName = "EjbWebServiceDupServicenameServicePort",
+ targetNamespace = "http://org.jboss.ws.test",
+ serviceName = "ServicenameEjbWebService")
+@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
+public class EjbWebServiceDupServicename implements BasicEjb {
+ @WebMethod(operationName = "getStr")
+ public String getStr (@WebParam(name = "str") String str) {
+ return this.getClass().getSimpleName() + ": " + str;
+ }
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceNoServicename.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceNoServicename.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceNoServicename.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,21 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebService(name = "MyEjbWebServiceNoServicenameService",
+ portName = "EjbWebServiceNoServicenameServicePort",
+ targetNamespace = "http://org.jboss.ws.test")
+@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
+public class EjbWebServiceNoServicename implements BasicEjb {
+ @WebMethod(operationName = "getStr")
+ public String getStr (@WebParam(name = "str") String str) {
+ return this.getClass().getSimpleName() + ": " + str;
+ }
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceProvider.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceProvider.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceProvider.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,22 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.WebServiceProvider;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebServiceProvider(
+ portName = "EjbWebServiceProviderServicePort",
+ targetNamespace = "http://org.jboss.ws.test",
+ serviceName="MyEjbWebServiceProvider")
+@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
+public class EjbWebServiceProvider implements BasicEjb {
+ @WebMethod(operationName = "getStr")
+ public String getStr (@WebParam(name = "str") String str) {
+ return this.getClass().getSimpleName() + ": " + str;
+ }
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceServicename.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceServicename.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/EjbWebServiceServicename.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,22 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebService(
+ portName = "EjbWebServiceServicenameServicePort",
+ targetNamespace = "http://org.jboss.ws.test",
+ serviceName = "ServicenameEjbWebService")
+@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
+public class EjbWebServiceServicename implements BasicEjb {
+ @WebMethod(operationName = "getStr")
+ public String getStr (@WebParam(name = "str") String str) {
+ return this.getClass().getSimpleName() + ": " + str;
+ }
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/JBWS3809TestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/JBWS3809TestCase.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/JBWS3809TestCase.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,142 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809;
+
+import junit.framework.Test;
+import org.jboss.shrinkwrap.api.asset.FileAsset;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestHelper;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import java.io.File;
+import java.net.URL;
+import java.util.LinkedList;
+import java.util.List;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+public class JBWS3809TestCase extends JBossWSTest
+{
+ private final String WEB_CONTEXT = "jaxws-cxf-jbws3809";
+
+ public static JBossWSTestHelper.BaseDeployment<?>[] createDeployments() {
+
+ List<JBossWSTestHelper.BaseDeployment<?>> list = new
LinkedList<JBossWSTestHelper.BaseDeployment<?>>();
+ list.add(new JBossWSTestHelper.JarDeployment("jaxws-cxf-jbws3809.jar") {
{
+ archive
+ .addManifest()
+ .addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb.class)
+ .addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.EjbPortComponentUri.class)
+ .addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebContext.class)
+
.addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceNoServicename.class)
+
.addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.dups.EjbWebServiceNoServicename.class)
+
.addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceServicename.class)
+
.addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceDupServicename.class)
+ .addClass(org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceProvider.class)
+ .add(new FileAsset(new File(JBossWSTestHelper.getTestResourcesDir() +
+ "/jaxws/cxf/jbws3809/META-INF/jboss-webservices.xml")),
+ "META-INF/jboss-webservices.xml")
+ .add(new FileAsset(new File(JBossWSTestHelper.getTestResourcesDir() +
+ "/jaxws/cxf/jbws3809/META-INF/ejb-jar.xml")),
+ "META-INF/ejb-jar.xml")
+ ;
+ }
+ });
+
+ return list.toArray(new JBossWSTestHelper.BaseDeployment<?>[list.size()]);
+ }
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS3809TestCase.class,
+ JBossWSTestHelper.writeToFile(createDeployments()));
+ }
+
+ public void testEjbPortComponentUri() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws.test",
"EjbPortComponentUriService");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/"
+ + WEB_CONTEXT + "/MyEjbPortComponentUri?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ BasicEjb proxy = (BasicEjb)service.getPort(BasicEjb.class);
+
+ assertEquals("EjbPortComponentUri: confirmed",
proxy.getStr("confirmed"));
+ }
+
+ public void testEjbWebContext() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws.test",
"EjbWebContextService");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/"
+ + WEB_CONTEXT + "/MyEjbWebContext?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ BasicEjb proxy = (BasicEjb)service.getPort(BasicEjb.class);
+
+ assertEquals("EjbWebContext: confirmed",
proxy.getStr("confirmed"));
+ }
+
+ public void testEjbWebServiceNoServicename() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws.test",
"EjbWebServiceNoServicenameService");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/"
+ + WEB_CONTEXT + "/MyEjbWebServiceNoServicenameService?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ BasicEjb proxy = (BasicEjb)service.getPort(BasicEjb.class);
+
+ assertEquals("EjbWebServiceNoServicename: confirmed",
proxy.getStr("confirmed"));
+ }
+
+ public void testDupEjbWebServiceNoServicename() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws.test",
"EjbWebServiceNoServicenameService");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/"
+ + WEB_CONTEXT + "/MyDupEjbWebServiceNoServicenameService?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ BasicEjb proxy = (BasicEjb)service.getPort(BasicEjb.class);
+
+ assertEquals("DupEjbWebServiceNoServicename: confirmed",
proxy.getStr("confirmed"));
+ }
+
+ public void testEjbWebServiceServicename() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws.test",
"ServicenameEjbWebService");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/"
+ + WEB_CONTEXT +
"/ServicenameEjbWebService/EjbWebServiceServicename?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ BasicEjb proxy = (BasicEjb)service.getPort(BasicEjb.class);
+
+ assertEquals("EjbWebServiceServicename: confirmed",
proxy.getStr("confirmed"));
+ }
+
+ public void testEjbWebServiceDupServicename() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws.test",
"ServicenameEjbWebService");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/"
+ + WEB_CONTEXT +
"/ServicenameEjbWebService/EjbWebServiceDupServicename?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ BasicEjb proxy = (BasicEjb)service.getPort(BasicEjb.class);
+
+ assertEquals("EjbWebServiceDupServicename: confirmed",
proxy.getStr("confirmed"));
+ }
+
+
+ public void testEjbWebServiceProvider() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws.test",
"MyEjbWebServiceProvider");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/"
+ + WEB_CONTEXT + "/EjbWebServiceProvider?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ BasicEjb proxy = (BasicEjb)service.getPort(BasicEjb.class);
+
+ assertEquals("EjbWebServiceProvider: confirmed",
proxy.getStr("confirmed"));
+ }
+
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/dups/EjbWebServiceNoServicename.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/dups/EjbWebServiceNoServicename.java
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3809/dups/EjbWebServiceNoServicename.java 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,23 @@
+package org.jboss.test.ws.jaxws.cxf.jbws3809.dups;
+
+import org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * User: rsearls
+ * Date: 7/25/14
+ */
+@WebService(name = "MyDupEjbWebServiceNoServicenameService",
+ portName = "DupEjbWebServiceNoServicenameServicePort",
+ targetNamespace = "http://org.jboss.ws.test")
+@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL)
+public class EjbWebServiceNoServicename implements BasicEjb {
+ @WebMethod(operationName = "getStr")
+ public String getStr (@WebParam(name = "str") String str) {
+ return "Dup" + this.getClass().getSimpleName() + ": " + str;
+ }
+}
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/ejb-jar.xml
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/ejb-jar.xml
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/ejb-jar.xml 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+
http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
+ version="3.1">
+
+ <enterprise-beans>
+
+ <session id="EjbPortComponentUriServiceBean">
+ <display-name>EjbPortComponentUriServiceBean</display-name>
+ <ejb-name>EjbPortComponentUriServiceBean</ejb-name>
+ <business-local>org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb
+ </business-local>
+ <ejb-class>org.jboss.test.ws.jaxws.cxf.jbws3809.EjbPortComponentUri
+ </ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+
+ <session id="EjbWebContextServiceBean">
+ <display-name>EjbWebContextServiceBean</display-name>
+ <ejb-name>EjbWebContextServiceBean</ejb-name>
+ <business-local>org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb
+ </business-local>
+ <ejb-class>org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebContext
+ </ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+
+
+ <session id="EjbWebServiceNoServicenameServiceBean">
+ <display-name>EjbWebServiceNoServicenameServiceBean</display-name>
+ <ejb-name>EjbWebServiceNoServicenameServiceBean</ejb-name>
+ <business-local>org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb
+ </business-local>
+ <ejb-class>
+ org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceNoServicename
+ </ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+
+ <session id="DupEjbWebServiceNoServicenameServiceBean">
+
<display-name>DupEjbWebServiceNoServicenameServiceBean</display-name>
+ <ejb-name>DupEjbWebServiceNoServicenameServiceBean</ejb-name>
+ <business-local>org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb
+ </business-local>
+ <ejb-class>
+ org.jboss.test.ws.jaxws.cxf.jbws3809.dups.EjbWebServiceNoServicename
+ </ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+
+ <session id="EjbWebServiceServicenameServiceBean">
+ <display-name>EjbWebServiceServicenameServiceBean</display-name>
+ <ejb-name>EjbWebServiceServicenameServiceBean</ejb-name>
+ <business-local>org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb
+ </business-local>
+ <ejb-class>
+ org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceServicename
+ </ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+
+ <session id="EjbWebServiceDupServicenameServiceBean">
+ <display-name>EjbWebServiceDupServicenameServiceBean</display-name>
+ <ejb-name>EjbWebServiceDupServicenameServiceBean</ejb-name>
+ <business-local>org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb
+ </business-local>
+ <ejb-class>
+ org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceDupServicename
+ </ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+
+ <session id="EjbWebServiceProviderServiceBean">
+ <display-name>EjbWebServiceProviderServiceBean</display-name>
+ <ejb-name>EjbWebServiceProviderServiceBean</ejb-name>
+ <business-local>org.jboss.test.ws.jaxws.cxf.jbws3809.BasicEjb
+ </business-local>
+ <ejb-class>org.jboss.test.ws.jaxws.cxf.jbws3809.EjbWebServiceProvider
+ </ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+
+ </enterprise-beans>
+
+</ejb-jar>
\ No newline at end of file
Added:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/jboss-webservices.xml
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/jboss-webservices.xml
(rev 0)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/cxf/jbws3809/META-INF/jboss-webservices.xml 2014-07-25
21:10:45 UTC (rev 18816)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<webservices version="1.0"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns="http://www.jboss.com/xml/ns/javaee"
+
xsi:schemalocation="http://www.jboss.com/xml/ns/javaee
+
http://www.jboss.org/j2ee/schema/jboss_webservices_1_0.xsd">
+
+ <port-component>
+ <ejb-name>EjbPortComponentUriServiceBean</ejb-name>
+ <port-component-uri>MyEjbPortComponentUri</port-component-uri>
+ </port-component>
+</webservices>
\ No newline at end of file