Author: heiko.braun(a)jboss.com
Date: 2008-01-16 05:45:41 -0500 (Wed, 16 Jan 2008)
New Revision: 5476
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EJB3Bean.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EndpointInterface.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessBean.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessRemote.java
stack/native/trunk/src/test/resources/jaxws/jbws1841/
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/application-client.xml
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/ejb-jar.xml
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss-client.xml
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss.xml
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/wsdl/
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/wsdl/TestService.wsdl
stack/native/trunk/src/test/resources/jaxws/jbws1841/application.xml
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/ServiceObjectFactoryJAXWS.java
stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt
stack/native/trunk/src/test/resources/test-excludes-jboss405.txt
stack/native/trunk/src/test/resources/test-excludes-jboss421.txt
stack/native/trunk/src/test/resources/test-excludes-jboss422.txt
Log:
Fix JBWS-1841: WebServiceRef injection from DD doesn't work
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-01-16 09:26:39 UTC (rev
5475)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-01-16 10:45:41 UTC (rev
5476)
@@ -543,6 +543,18 @@
<include
name="org/jboss/test/ws/jaxws/jbws1840/SecureEndpointImpl.class"/>
</fileset>
</jar>
+
+ <!-- jaxws-jbws1841 -->
+ <jar destfile="${tests.output.dir}/libs/jaxws-jbws1841.jar">
+ <fileset dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1841/*.class"/>
+ </fileset>
+ <metainf
dir="${tests.output.dir}/resources/jaxws/jbws1841/META-INF">
+ <include name="wsdl/*"/>
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ </metainf>
+ </jar>
<!-- jaxws-jbws1843 -->
<war warfile="${tests.output.dir}/libs/jaxws-jbws1843.war"
webxml="${tests.output.dir}/resources/jaxws/jbws1843/WEB-INF/web.xml">
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/ServiceObjectFactoryJAXWS.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/ServiceObjectFactoryJAXWS.java 2008-01-16
09:26:39 UTC (rev 5475)
+++
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/ServiceObjectFactoryJAXWS.java 2008-01-16
10:45:41 UTC (rev 5476)
@@ -24,6 +24,15 @@
// $Id$
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.ConfigProvider;
+import org.jboss.ws.core.client.ServiceObjectFactory;
+import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData;
+
+import javax.naming.*;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
@@ -33,21 +42,6 @@
import java.net.URL;
import java.util.Hashtable;
-import javax.naming.Context;
-import javax.naming.Name;
-import javax.naming.NamingException;
-import javax.naming.RefAddr;
-import javax.naming.Reference;
-import javax.naming.spi.ObjectFactory;
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.ConfigProvider;
-import org.jboss.ws.core.client.ServiceObjectFactory;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData;
-
/**
* This ServiceObjectFactory reconstructs a javax.xml.ws.Service
* for a given WSDL when the webservice client does a JNDI lookup
Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EJB3Bean.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EJB3Bean.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EJB3Bean.java 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1841;
+
+import org.jboss.wsf.spi.annotation.WebContext;
+
+import javax.ejb.Remote;
+import javax.ejb.Stateless;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * @author <a href="mailto:bdecoste@jboss.com">William DeCoste</a>
+ * @version $Revision$
+ */
+@WebService(
+ name = "EndpointInterface",
+ targetNamespace = "http://www.openuri.org/2004/04/HelloWorld",
+ serviceName = "TestService",
+ endpointInterface = "org.jboss.test.ws.jaxws.jbws1841.EndpointInterface"
+)
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+@Stateless
+public class EJB3Bean implements EndpointInterface
+{
+ public String echo(String input)
+ {
+ System.out.println("Recv: " + input);
+ return input;
+ }
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EJB3Bean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EndpointInterface.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EndpointInterface.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EndpointInterface.java 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1841;
+
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.ejb.Remote;
+
+/**
+ * Test the JSR-181 javax.jws.WebService annotation on an SEI
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 29-Apr-2005
+ */
+@WebService(
+ name = "EndpointInterface",
+ targetNamespace = "http://www.openuri.org/2004/04/HelloWorld"
+)
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+@Remote
+public interface EndpointInterface
+{
+ String echo(String input);
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/EndpointInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,83 @@
+package org.jboss.test.ws.jaxws.jbws1841;
+
+import junit.framework.Test;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.naming.InitialContext;
+import java.net.URL;
+
+/**
+ * Serviceref thorugh ejb3 deployment descriptor.
+ *
+ *
http://jira.jboss.org/jira/browse/JBWS-1841
+ *
+ * @author Heiko.Braun(a)jboss.com
+ * @since 09-Oct-2007
+ */
+public class JBWS1841TestCase extends JBossWSTest
+{
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() +
":8080/jaxws-jbws1841/EJB3Bean";
+
+ private static EndpointInterface port;
+ private static StatelessRemote remote;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS1841TestCase.class,
"jaxws-jbws1841.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ if (port == null)
+ {
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new
QName("http://www.openuri.org/2004/04/HelloWorld", "TestService");
+ port = Service.create(wsdlURL, serviceName).getPort(EndpointInterface.class);
+
+
+ InitialContext ctx = new InitialContext();
+ remote = (StatelessRemote)ctx.lookup("/StatelessBean/remote");
+ }
+ }
+
+ /**
+ * Check if the servce was deploed correctly
+ * @throws Exception
+ */
+ public void testDirectWSInvocation() throws Exception
+ {
+ String result = port.echo("DirectWSInvocation");
+ assertEquals("DirectWSInvocation", result);
+
+ }
+
+ public void testEJBRelay1() throws Exception
+ {
+ String result = remote.echo1("Relay1");
+ assertEquals("Relay1", result);
+ }
+
+ public void testEJBRelay2() throws Exception
+ {
+ String result = remote.echo2("Relay2");
+ assertEquals("Relay2", result);
+ }
+
+
+ public void testEJBRelay3() throws Exception
+ {
+ String result = remote.echo3("Relay3");
+ assertEquals("Relay3", result);
+ }
+
+ public void testEJBRelay4() throws Exception
+ {
+ String result = remote.echo4("Relay4");
+ assertEquals("Relay4", result);
+ }
+
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessBean.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessBean.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessBean.java 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1841;
+
+import org.jboss.logging.Logger;
+
+import javax.ejb.Remote;
+import javax.ejb.Stateless;
+import javax.xml.ws.WebServiceRef;
+
+/**
+ * A test bean that delegates to a web service provided through serviceref injection.
+ *
+ * @author <a href="mailto:bdecoste@jboss.com">William DeCoste</a>
+ * @version $Revision$
+ */
+@Stateless(name="StatelessBean")
+(a)Remote(StatelessRemote.class)
+public class StatelessBean implements StatelessRemote
+{
+ private static final Logger log = Logger.getLogger(StatelessBean.class);
+
+ @WebServiceRef(mappedName="jbossws-client/service/TestService",
wsdlLocation="META-INF/wsdl/TestService.wsdl")
+ EndpointInterface endpoint1;
+
+ EndpointInterface endpoint2;
+
+ @WebServiceRef(mappedName="jbossws-client/service/TestService",
wsdlLocation="META-INF/wsdl/TestService.wsdl")
+ public void setEndpoint2(EndpointInterface endpoint2)
+ {
+ this.endpoint2 = endpoint2;
+ }
+
+ // via XML
+ EndpointInterface endpoint3;
+
+ // via XML
+ EndpointInterface endpoint4;
+
+ public void setEndpoint4(EndpointInterface endpoint4)
+ {
+ this.endpoint4 = endpoint4;
+ }
+
+
+ public String echo1(String string) throws Exception
+ {
+ if(null==endpoint1)
+ throw new IllegalArgumentException("Serviceref for property
'endpoint1' not injected");
+
+ return endpoint1.echo(string);
+ }
+
+ public String echo2(String string) throws Exception
+ {
+ if(null==endpoint2)
+ throw new IllegalArgumentException("Serviceref for property
'endpoint2' not injected");
+
+ return endpoint2.echo(string);
+ }
+
+ public String echo3(String string) throws Exception
+ {
+ if(null==endpoint3)
+ throw new IllegalArgumentException("Serviceref for property
'endpoint3' not injected");
+
+ return endpoint3.echo(string);
+ }
+
+ public String echo4(String string) throws Exception
+ {
+ if(null==endpoint4)
+ throw new IllegalArgumentException("Serviceref for property
'endpoint4' not injected");
+
+ return endpoint4.echo(string);
+ }
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessRemote.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessRemote.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessRemote.java 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1841;
+
+/**
+ * @author <a href="mailto:bdecoste@jboss.com">William DeCoste</a>
+ * @version $Revision$
+ */
+public interface StatelessRemote
+{
+ String echo1(String string) throws Exception;
+
+ String echo2(String string) throws Exception;
+
+ String echo3(String string) throws Exception;
+
+ String echo4(String string) throws Exception;
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1841/StatelessRemote.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/application-client.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/application-client.xml
(rev 0)
+++
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/application-client.xml 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JSR-181 Annotation test</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+
<service-endpoint-interface>org.jboss.test.ws.jaxws.jbws1841.EndpointInterface</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on:
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/ejb-jar.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/ejb-jar.xml
(rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/ejb-jar.xml 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar version="3.0"
+
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_0.xsd">
+
+ <description>jBoss test application</description>
+ <display-name>Test</display-name>
+ <enterprise-beans>
+ <session>
+ <ejb-name>StatelessBean</ejb-name>
+ <service-ref>
+ <service-ref-name>service/Endpoint3</service-ref-name>
+ <service-interface>javax.xml.ws.Service</service-interface>
+ <mapped-name>jbossws-client/service/TestService</mapped-name>
+ <injection-target>
+
<injection-target-class>org.jboss.test.ws.jaxws.jbws1841.StatelessBean</injection-target-class>
+ <injection-target-name>endpoint3</injection-target-name>
+ </injection-target>
+ </service-ref>
+ <service-ref>
+ <service-ref-name>service/Endpoint4</service-ref-name>
+ <service-interface>javax.xml.ws.Service</service-interface>
+ <mapped-name>jbossws-client/service/TestService</mapped-name>
+ <injection-target>
+
<injection-target-class>org.jboss.test.ws.jaxws.jbws1841.StatelessBean</injection-target-class>
+ <injection-target-name>setEndpoint4</injection-target-name>
+ </injection-target>
+ </service-ref>
+ </session>
+ </enterprise-beans>
+</ejb-jar>
Property changes on:
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss-client.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss-client.xml
(rev 0)
+++
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss-client.xml 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+</jboss-client>
Property changes on:
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss.xml
(rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss.xml 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+
+<jboss>
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>StatelessBean</ejb-name>
+ <service-ref>
+ <service-ref-name>service/Endpoint3</service-ref-name>
+ <wsdl-override>META-INF/wsdl/TestService.wsdl</wsdl-override>
+ </service-ref>
+ <service-ref>
+ <service-ref-name>service/Endpoint4</service-ref-name>
+ <wsdl-override>META-INF/wsdl/TestService.wsdl</wsdl-override>
+ </service-ref>
+ </session>
+ </enterprise-beans>
+</jboss>
\ No newline at end of file
Property changes on:
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/wsdl/TestService.wsdl
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/wsdl/TestService.wsdl
(rev 0)
+++
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/wsdl/TestService.wsdl 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,39 @@
+<definitions name='TestService'
targetNamespace='http://www.openuri.org/2004/04/HelloWorld'
+
xmlns='http://schemas.xmlsoap.org/wsdl/'
+
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
+
xmlns:tns='http://www.openuri.org/2004/04/HelloWorld'
+
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types></types>
+ <message name='EndpointInterface_echoResponse'>
+ <part name='return' type='xsd:string'></part>
+ </message>
+ <message name='EndpointInterface_echo'>
+ <part name='arg0' type='xsd:string'></part>
+ </message>
+ <portType name='EndpointInterface'>
+
+ <operation name='echo' parameterOrder='arg0'>
+ <input message='tns:EndpointInterface_echo'></input>
+ <output
message='tns:EndpointInterface_echoResponse'></output>
+ </operation>
+ </portType>
+ <binding name='EndpointInterfaceBinding'
type='tns:EndpointInterface'>
+ <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echo'>
+ <soap:operation soapAction=''/>
+
+ <input>
+ <soap:body
namespace='http://www.openuri.org/2004/04/HelloWorld'
use='literal'/>
+ </input>
+ <output>
+ <soap:body
namespace='http://www.openuri.org/2004/04/HelloWorld'
use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+
+ <port binding='tns:EndpointInterfaceBinding'
name='EndpointInterfacePort'>
+ <soap:address
location='http://localhost:8080/jaxws-jbws1841/EJB3Bean'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
stack/native/trunk/src/test/resources/jaxws/jbws1841/META-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/resources/jaxws/jbws1841/application.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1841/application.xml
(rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1841/application.xml 2008-01-16
10:45:41 UTC (rev 5476)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application
1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
+
+<application>
+ <module>
+ <ejb>jsr181.jar</ejb>
+ </module>
+
+ <module>
+ <ejb>jsr181-client.jar</ejb>
+ </module>
+</application>
+
+
Property changes on: stack/native/trunk/src/test/resources/jaxws/jbws1841/application.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt 2008-01-16
09:26:39 UTC (rev 5475)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt 2008-01-16
10:45:41 UTC (rev 5476)
@@ -56,3 +56,6 @@
# [JBWS-1762] web.xml modified to
web.xml.org - Subsequent runs fail
# This requires changes to the AS web meta data (servlet init params)
org/jboss/test/ws/*/jbws1762/**
+
+#[JBWS-1841] WebServiceRef injection from DD doesn't work
+org/jboss/test/ws/*/jbws1841/**
\ No newline at end of file
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss405.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss405.txt 2008-01-16 09:26:39
UTC (rev 5475)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss405.txt 2008-01-16 10:45:41
UTC (rev 5476)
@@ -22,3 +22,6 @@
# [JBWS-1762] web.xml modified to
web.xml.org - Subsequent runs fail
# This requires changes to the AS web meta data (servlet init params)
org/jboss/test/ws/*/jbws1762/**
+
+#[JBWS-1841] WebServiceRef injection from DD doesn't work
+org/jboss/test/ws/*/jbws1841/**
\ No newline at end of file
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss421.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss421.txt 2008-01-16 09:26:39
UTC (rev 5475)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss421.txt 2008-01-16 10:45:41
UTC (rev 5476)
@@ -16,3 +16,6 @@
# [JBWS-1762] web.xml modified to
web.xml.org - Subsequent runs fail
# This requires changes to the AS web meta data (servlet init params)
org/jboss/test/ws/*/jbws1762/**
+
+#[JBWS-1841] WebServiceRef injection from DD doesn't work
+org/jboss/test/ws/*/jbws1841/**
\ No newline at end of file
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss422.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss422.txt 2008-01-16 09:26:39
UTC (rev 5475)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss422.txt 2008-01-16 10:45:41
UTC (rev 5476)
@@ -16,3 +16,6 @@
# [JBWS-1762] web.xml modified to
web.xml.org - Subsequent runs fail
# This requires changes to the AS web meta data (servlet init params)
org/jboss/test/ws/*/jbws1762/**
+
+#[JBWS-1841] WebServiceRef injection from DD doesn't work
+org/jboss/test/ws/*/jbws1841/**