Author: darran.lofthouse(a)jboss.com
Date: 2006-11-02 16:03:00 -0500 (Thu, 02 Nov 2006)
New Revision: 1347
Added:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/application-client.xml
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jaxrpc-mapping.xml
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jboss-client.xml
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/wsdl/
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/wsdl/TestService.wsdl
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/wstools-config.xml
Modified:
branches/jbossws-1.0/src/main/java/org/jboss/ws/annotation/PortComponent.java
branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java
branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss/ServiceEndpointGeneratorEJB.java
branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java
branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml
Log:
JBWS-981 - Allow virtual hosts to be specified for EJB3 endpoints.
Modified: branches/jbossws-1.0/src/main/java/org/jboss/ws/annotation/PortComponent.java
===================================================================
---
branches/jbossws-1.0/src/main/java/org/jboss/ws/annotation/PortComponent.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/main/java/org/jboss/ws/annotation/PortComponent.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -46,6 +46,13 @@
*/
String contextRoot() default "";
+ /**
+ * The virtual hosts that the web service endpoint is deployed to.
+ *
+ * Applies to server side port components only.
+ */
+ String[] virtualHosts() default {};
+
/**
* Relative path that is appended to the contextRoot to form fully qualified
* endpoint address for the web service endpoint.
Modified:
branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java
===================================================================
---
branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -167,6 +167,12 @@
{
contextRoot = anPortComponent.contextRoot();
}
+
+ String[] virtualHosts = anPortComponent.virtualHosts();
+ if (virtualHosts != null & virtualHosts.length > 0)
+ {
+ epMetaData.setVirtualHosts(virtualHosts);
+ }
if (anPortComponent.urlPattern().length() > 0)
{
Modified:
branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss/ServiceEndpointGeneratorEJB.java
===================================================================
---
branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss/ServiceEndpointGeneratorEJB.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss/ServiceEndpointGeneratorEJB.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -28,6 +28,7 @@
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.jboss.deployment.DeploymentInfo;
@@ -129,7 +130,7 @@
<url-pattern>
</servlet-mapping>
*/
- ArrayList urlPatters = new ArrayList();
+ ArrayList<String> urlPatters = new ArrayList<String>();
for (EndpointMetaData epMetaData : epMetaDataList)
{
ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
@@ -265,6 +266,37 @@
Element root =
(Element)jbossWeb.appendChild(DOMUtils.createElement("context-root"));
root.appendChild(DOMUtils.createTextNode(contextRoot));
+ String[] virtualHosts = null;
+ for (EndpointMetaData epMetaData : epMetaDataList)
+ {
+ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
+ String[] next = sepMetaData.getVirtualHosts();
+ if (next != null && next.length > 0)
+ {
+ Arrays.sort(next);
+ if (virtualHosts == null)
+ {
+ virtualHosts = next;
+ }
+ else
+ {
+ if (Arrays.equals(virtualHosts, next) == false)
+ {
+ throw new WSException("All endpoints must define the same virtual
hosts");
+ }
+ }
+ }
+ }
+
+ if (virtualHosts != null)
+ {
+ for (String current : virtualHosts)
+ {
+ Element virtualHost =
(Element)jbossWeb.appendChild(DOMUtils.createElement("virtual-host"));
+ virtualHost.appendChild(DOMUtils.createTextNode(current));
+ }
+ }
+
return jbossWeb;
}
Modified:
branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java
===================================================================
---
branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -63,6 +63,8 @@
private ObjectName sepID;
// The HTTP context root
private String contextRoot;
+ // The HTTP virtual hosts
+ private String[] virtualHosts;
// The HTTP url parttern
private String urlPattern;
// The bean that registers with the ServiceEndpointManager
@@ -135,6 +137,17 @@
this.contextRoot = contextRoot;
}
+
+ public String[] getVirtualHosts()
+ {
+ return virtualHosts;
+ }
+
+ public void setVirtualHosts(String[] virtualHosts)
+ {
+ this.virtualHosts = virtualHosts;
+ }
+
public String getURLPattern()
{
return urlPattern;
Modified: branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml
===================================================================
--- branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml 2006-11-02 18:20:46 UTC (rev
1346)
+++ branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml 2006-11-02 21:03:00 UTC (rev
1347)
@@ -68,6 +68,25 @@
</metainf>
</jar>
+ <!-- jaxws-jbws981 -->
+ <jar destfile="${build.test.dir}/libs/jaxws-jbws981.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws981/EJB3Bean.class"/>
+ <include
name="org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.class"/>
+ </fileset>
+ </jar>
+ <jar destfile="${build.test.dir}/libs/jaxws-jbws981-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/jbws981/EndpointInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/jbws981/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/TestService.wsdl"/>
+ </metainf>
+ </jar>
+
<!-- jaxws-jbws1123 -->
<war destfile="${build.test.dir}/libs/jaxws-jbws1123.war"
webxml="${build.test.dir}/resources/jaxws/jbws1123/WEB-INF/web.xml">
<classes dir="${build.test.dir}/classes">
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java
===================================================================
---
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -0,0 +1,67 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbws981;
+
+import javax.ejb.Stateless;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+import org.jboss.logging.Logger;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.ws.annotation.PortComponent;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since Nov 2, 2006
+ */
+@Stateless
+@WebService(name = "EndpointInterface", targetNamespace =
"http://www.jboss.org/test/ws/jaxws/jbws981", serviceName =
"TestService")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+@PortComponent(virtualHosts = { "localhost", "www.jboss.org" })
+public class EJB3Bean implements EJB3RemoteInterface
+{
+
+ private static final Logger log = Logger.getLogger(EJB3Bean.class);
+
+ @WebMethod
+ public String hello(final String message)
+ {
+ MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+ try
+ {
+ ObjectName on = new
ObjectName("jboss.web:J2EEApplication=none,J2EEServer=none,WebModule...;
+ mbeanServer.getMBeanInfo(on);
+ }
+ catch (Exception e)
+ {
+ log.error(e);
+ return e.getMessage();
+ }
+
+ return message;
+ }
+
+}
Property changes on:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.java
===================================================================
---
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbws981;
+
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since Nov 2, 2006
+ */
+public interface EJB3RemoteInterface
+{
+
+ public String hello(final String message);
+
+}
Property changes on:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java
===================================================================
---
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -0,0 +1,15 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Nov 02 21:17:37 CET 2006
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+package org.jboss.test.ws.jaxws.jbws981;
+public interface EndpointInterface extends java.rmi.Remote
+{
+
+ public java.lang.String hello(java.lang.String string_1) throws
java.rmi.RemoteException;
+}
Property changes on:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java
===================================================================
---
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java 2006-11-02
21:03:00 UTC (rev 1347)
@@ -0,0 +1,64 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbws981;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since Nov 2, 2006
+ */
+public class JBWS981TestCase extends JBossWSTest
+{
+
+ private static EndpointInterface port;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(JBWS981TestCase.class,
"jaxws-jbws981.jar, jaxws-jbws981-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service =
(Service)iniCtx.lookup("java:comp/env/service/TestService");
+ port = (EndpointInterface)service.getPort(EndpointInterface.class);
+ }
+ }
+
+ public void testCall() throws Exception
+ {
+ String message = "hello";
+ assertEquals(message, port.hello(message));
+ }
+
+}
Property changes on:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/application-client.xml
===================================================================
---
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/application-client.xml 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/application-client.xml 2006-11-02
21:03:00 UTC (rev 1347)
@@ -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>JBWS981 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.jbws981.EndpointInterface</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on:
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jaxrpc-mapping.xml
===================================================================
---
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jaxrpc-mapping.xml 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jaxrpc-mapping.xml 2006-11-02
21:03:00 UTC (rev 1347)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping
version='1.1'
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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxws.jbws981</package-type>
+ <
namespaceURI>http://www.jboss.org/test/ws/jaxws/jbws981</namespaceU...
+ </package-mapping>
+ <service-interface-mapping>
+
<service-interface>org.jboss.test.ws.jaxws.jbws981.TestService</service-interface>
+ <wsdl-service-name
xmlns:serviceNS='http://www.jboss.org/test/ws/jaxws/jbws981'>s...
+ <port-mapping>
+ <port-name>EndpointInterfacePort</port-name>
+ <java-port-name>EndpointInterfacePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+
<service-endpoint-interface>org.jboss.test.ws.jaxws.jbws981.EndpointInterface</service-endpoint-interface>
+ <wsdl-port-type
xmlns:portTypeNS='http://www.jboss.org/test/ws/jaxws/jbws981'>...
+ <wsdl-binding
xmlns:bindingNS='http://www.jboss.org/test/ws/jaxws/jbws981'>b...
+ <service-endpoint-method-mapping>
+ <java-method-name>hello</java-method-name>
+ <wsdl-operation>hello</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://www.jboss.org/test/ws/jaxws/jbws981'>w...
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message
xmlns:wsdlMsgNS='http://www.jboss.org/test/ws/jaxws/jbws981'>w...
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on:
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jboss-client.xml
===================================================================
---
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jboss-client.xml 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jboss-client.xml 2006-11-02
21:03:00 UTC (rev 1347)
@@ -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:
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/wsdl/TestService.wsdl
===================================================================
---
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/wsdl/TestService.wsdl 2006-11-02
18:20:46 UTC (rev 1346)
+++
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/wsdl/TestService.wsdl 2006-11-02
21:03:00 UTC (rev 1347)
@@ -0,0 +1,35 @@
+<definitions name='TestService'
targetNamespace='http://www.jboss.org/test/ws/jaxws/jbws981'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://www.jboss.org/test/ws/jaxws/jbws981'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types></types>
+ <message name='EndpointInterface_hello'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='EndpointInterface_helloResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='EndpointInterface'>
+
+ <operation name='hello' parameterOrder='String_1'>
+ <input message='tns:EndpointInterface_hello'/>
+ <output message='tns:EndpointInterface_helloResponse'/>
+ </operation>
+ </portType>
+ <binding name='EndpointInterfaceBinding'
type='tns:EndpointInterface'>
+ <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='hello'>
+ <soap:operation soapAction=''/>
+
+ <input>
+ <soap:body
namespace='http://www.jboss.org/test/ws/jaxws/jbws981'
use='literal'/>
+ </input>
+ <output>
+ <soap:body
namespace='http://www.jboss.org/test/ws/jaxws/jbws981'
use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+
+ <port binding='tns:EndpointInterfaceBinding'
name='EndpointInterfacePort'>
+ <soap:address
location='http://localhost.localdomain:8080/jaxws-jbws981/EJB3Bean'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/META-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxws/jbws981/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/jbws981/wstools-config.xml 2006-11-02
18:20:46 UTC (rev 1346)
+++ branches/jbossws-1.0/src/test/resources/jaxws/jbws981/wstools-config.xml 2006-11-02
21:03:00 UTC (rev 1347)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -config wstools-config.xml
+-->
+
+<configuration
xmlns="http://www.jboss.org/jbossws-tools"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.jboss.org/jbossws-tools
http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <wsdl-java location="META-INF/wsdl/TestService.wsdl">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+
+</configuration>
\ No newline at end of file
Property changes on:
branches/jbossws-1.0/src/test/resources/jaxws/jbws981/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF