Author: mageshbk(a)jboss.com
Date: 2007-12-17 03:49:20 -0500 (Mon, 17 Dec 2007)
New Revision: 5326
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
Modified:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/ant-import/build-samples-jaxrpc.xml
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/build.xml
Log:
[JBWS-1900] Ported JBWS-1937 Document/Literal addressing endpoint fails when retreiving
Outbound Action
Modified:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2007-12-17
06:29:41 UTC (rev 5325)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2007-12-17
08:49:20 UTC (rev 5326)
@@ -517,7 +517,14 @@
else
{
WSDLProperty messageName =
wsdlOperation.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_IN);
- addrExt.setInboundAction(tns + "/" + portTypeName + "/" +
messageName);
+ if (messageName != null)
+ {
+ addrExt.setInboundAction(tns + "/" + portTypeName + "/" +
messageName.getValue());
+ }
+ else
+ {
+ addrExt.setInboundAction(tns + "/" + portTypeName +
"/IN");
+ }
}
// outbound action
@@ -529,7 +536,14 @@
else
{
WSDLProperty messageName =
wsdlOperation.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_OUT);
- addrExt.setOutboundAction(tns + "/" + portTypeName + "/" +
messageName);
+ if (messageName != null)
+ {
+ addrExt.setOutboundAction(tns + "/" + portTypeName + "/"
+ messageName.getValue());
+ }
+ else
+ {
+ addrExt.setOutboundAction(tns + "/" + portTypeName +
"/OUT");
+ }
}
opMetaData.addExtension(addrExt);
Modified:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/ant-import/build-samples-jaxrpc.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/ant-import/build-samples-jaxrpc.xml 2007-12-17
06:29:41 UTC (rev 5325)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/ant-import/build-samples-jaxrpc.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -525,6 +525,55 @@
<include name="jaxrpc-mapping.xml"/>
</metainf>
</jar>
+
+ <!-- jaxrpc-samples-wsaddr-hello.war -->
+ <war warfile="${tests.output.dir}/libs/jaxrpc-samples-wsaddr-hello.war"
+
webxml="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <war
warfile="${tests.output.dir}/libs/jaxrpc-samples-wsaddr-replyto.war"
+
webxml="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
+ <include name="replyto-jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar
jarfile="${tests.output.dir}/libs/jaxrpc-samples-wsaddr-hello-client.jar">
+ <fileset dir="${tests.output.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
+ </fileset>
+ <metainf
dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf
dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf
dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
+ <include name="replyto-jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
<!-- jaxrpc-samples-wsbpel -->
<war warfile="${tests.output.dir}/libs/jaxrpc-samples-wsbpel-hello.war"
webxml="${tests.output.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/web.xml">
Modified: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/build.xml
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/build.xml 2007-12-17 06:29:41
UTC (rev 5325)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/build.xml 2007-12-17 08:49:20
UTC (rev 5326)
@@ -316,11 +316,19 @@
<wstools
dest="${tests.output.dir}/wstools/resources/jaxrpc/samples/oneway/WEB-INF"
config="${tests.resources.dir}/jaxrpc/samples/oneway/wstools-config.xml"/>
<wstools
dest="${tests.output.dir}/wstools/resources/jaxrpc/samples/rpcstyle/WEB-INF"
config="${tests.resources.dir}/jaxrpc/samples/rpcstyle/wstools-config.xml"/>
<wstools
dest="${tests.output.dir}/wstools/resources/jaxrpc/samples/secureejb/META-INF"
config="${tests.resources.dir}/jaxrpc/samples/secureejb/wstools-config.xml"/>
+ <wstools
dest="${tests.output.dir}/wstools/resources/jaxrpc/samples/wsaddr/hello/WEB-INF"
config="${tests.resources.dir}/jaxrpc/samples/wsaddr/hello/wstools-config.xml"/>
+ <wstools
dest="${tests.output.dir}/wstools/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF"
config="${tests.resources.dir}/jaxrpc/samples/wsaddr/replyto/wstools-config.xml"/>
<wstools
dest="${tests.output.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF"
config="${tests.resources.dir}/jaxrpc/samples/wsbpel/hello/wstools-config.xml"/>
<wstools
dest="${tests.output.dir}/wstools/resources/jaxrpc/samples/wssecurity/WEB-INF"
config="${tests.resources.dir}/jaxrpc/samples/wssecurity/wstools-config.xml"/>
<move todir="${tests.output.dir}/wstools/java">
<fileset
dir="${tests.output.dir}/wstools/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF"
includes="org/**"/>
</move>
+ <move todir="${tests.output.dir}/wstools/java">
+ <fileset
dir="${tests.output.dir}/wstools/resources/jaxrpc/samples/wsaddr/hello/WEB-INF"
includes="org/**"/>
+ </move>
+ <move todir="${tests.output.dir}/wstools/java">
+ <fileset
dir="${tests.output.dir}/wstools/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF"
includes="org/**"/>
+ </move>
<!-- Copy generated resources -->
<copy todir="${tests.output.dir}/resources">
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,104 @@
+/*
+ * 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.jaxrpc.samples.wsaddr.replyto;
+
+// $Id$
+
+import java.io.ByteArrayInputStream;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConnectionFactory;
+import javax.xml.soap.SOAPMessage;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+
+/**
+ * Test endpoint using ws-addressing
+ *
+ * @author mageshbk(a)jboss.com
+ * @since 12-Dec-2007
+ */
+public class AddressingReplyToTestCase extends JBossWSTest
+{
+ private static Hello initial;
+ private static ReplyTo replyto;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(AddressingReplyToTestCase.class,
+ "jaxrpc-samples-wsaddr-hello.war,
jaxrpc-samples-wsaddr-replyto.war," +
+ "jaxrpc-samples-wsaddr-hello-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (initial == null)
+ {
+ Service replytoService =
(Service)getInitialContext("jaxrpc-addressing-replyto-client").lookup("java:comp/env/service/ReplyToService");
+ replyto = (ReplyTo)replytoService.getPort(ReplyTo.class);
+ Service initialService =
(Service)getInitialContext("jaxrpc-addressing-replyto-client").lookup("java:comp/env/service/HelloService");
+ initial = (Hello)initialService.getPort(Hello.class);
+ }
+ }
+
+ /** This sends a valid message to the ReplyTo endpoint and verfies whether we can read
it of again.
+ */
+ public void testReplyToMessage() throws Exception
+ {
+ String reqEnv =
+ "<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
+ " <env:Header/>" +
+ " <env:Body>" +
+ " <ns1:sayHelloResponse
xmlns:ns1='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types'>" +
+ " <result>ReplyTo</result>" +
+ " </ns1:sayHelloResponse>" +
+ " </env:Body>" +
+ "</env:Envelope>";
+
+ MessageFactory msgFactory = MessageFactory.newInstance();
+ SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
+ SOAPMessage reqMsg = msgFactory.createMessage(null, new
ByteArrayInputStream(reqEnv.getBytes()));
+
+ URL epURL = new URL("http://" + getServerHost() +
":8080/jaxrpc-samples-wsaddr-replyto");
+ con.call(reqMsg, epURL);
+
+ assertEquals("ReplyTo", replyto.getLastMessage());
+ }
+
+ public void testReplyTo() throws Exception
+ {
+ String message = initial.sayHello("Addressing TestCase");
+ assertNull("Expected null, but was: " + message, message);
+
+ String reply = replyto.getLastMessage();
+ assertEquals("Hello Addressing TestCase", reply);
+ }
+}
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,79 @@
+/*
+ * 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.jaxrpc.samples.wsaddr.replyto;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.handler.MessageContext;
+
+import javax.xml.ws.addressing.AddressingBuilder;
+import javax.xml.ws.addressing.EndpointReference;
+import javax.xml.ws.addressing.JAXWSAConstants;
+import javax.xml.ws.addressing.soap.SOAPAddressingBuilder;
+import javax.xml.ws.addressing.soap.SOAPAddressingProperties;
+
+import org.jboss.logging.Logger;
+import org.jboss.test.ws.jaxws.wsaddressing.AddressingHandler;
+
+/**
+ * A client side handler for the ws-addressing
+ *
+ * @author mageshbk(a)jboss.com
+ * @since 12-Dec-2007
+ */
+public class ClientHandler extends AddressingHandler
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ClientHandler.class);
+ protected QName[] headers;
+
+ public boolean handleRequest(MessageContext context)
+ {
+ log.info("enter handleRequest");
+
+ try
+ {
+ AddressingBuilder builder = SOAPAddressingBuilder.getAddressingBuilder();
+ SOAPAddressingProperties outProps =
(SOAPAddressingProperties)builder.newAddressingProperties();
+ outProps.setTo(builder.newURI("http://" + getServerHost() +
":8080/jaxrpc-samples-wsaddr-hello"));
+
outProps.setAction(builder.newURI("http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/sayHello"));
+ EndpointReference rp = builder.newEndpointReference(new URI("http://"
+ getServerHost() + ":8080/jaxrpc-samples-wsaddr-replyto"));
+ outProps.setReplyTo(rp);
+ outProps.setMessageID(builder.newURI("123456"));
+ context.setProperty(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_OUTBOUND,
outProps);
+ }
+ catch(URISyntaxException e)
+ {
+ e.printStackTrace();
+ }
+ log.info("exit handleRequest");
+ return true;
+ }
+
+ public QName[] getHeaders()
+ {
+ return headers;
+ }
+
+}
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,37 @@
+/*
+ * 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.jaxrpc.samples.wsaddr.replyto;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * JAXRPC WS-Addressing service endpoint interface
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public interface Hello extends Remote
+{
+ String sayHello(String str) throws RemoteException;
+}
\ No newline at end of file
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,43 @@
+/*
+ * 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.jaxrpc.samples.wsaddr.replyto;
+
+import org.jboss.logging.Logger;
+
+/**
+ * JAXRPC WS-Addressing service endpoint
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public class HelloEndpointJSE implements Hello
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(HelloEndpointJSE.class);
+
+ public String sayHello(String str)
+ {
+ log.info("sayHello: " + str);
+ return "Hello " + str;
+ }
+}
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,39 @@
+/*
+ * 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.jaxrpc.samples.wsaddr.replyto;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * JAXRPC WS-Addressing service endpoint interface
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public interface ReplyTo extends Remote
+{
+ void sayHelloResponse(String str) throws RemoteException;
+
+ String getLastMessage() throws RemoteException;
+}
\ No newline at end of file
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,51 @@
+/*
+ * 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.jaxrpc.samples.wsaddr.replyto;
+
+import org.jboss.logging.Logger;
+
+/**
+ * JAXRPC WS-Addressing service endpoint
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public class ReplyToEndpointJSE implements ReplyTo
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ReplyToEndpointJSE.class);
+
+ private static String lastMessage;
+
+ public void sayHelloResponse(String str)
+ {
+ log.info("sayHelloResponse: " + str);
+ lastMessage = str;
+ }
+
+ public String getLastMessage()
+ {
+ log.info("getLastMessage: " + lastMessage);
+ return lastMessage;
+ }
+}
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,39 @@
+<?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>HelloService</display-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>ClientHandler</handler-name>
+
<handler-class>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ClientHandler</handler-class>
+ </handler>
+ <handler>
+ <handler-name>WSAddressingHandler</handler-name>
+
<handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</handler-class>
+ </handler>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>service/ReplyToService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/ReplyToService.wsdl</wsdl-file>
+
<jaxrpc-mapping-file>META-INF/replyto-jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,18 @@
+<?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>jaxrpc-addressing-replyto-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <config-name>Standard WSAddressing Client</config-name>
+
<wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-samples-wsaddr-hello?wsdl</wsdl-override>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>service/ReplyToService</service-ref-name>
+
<wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-samples-wsaddr-replyto?wsdl</wsdl-override>
+ </service-ref>
+</jboss-client>
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ JBoss, a division of Red Hat ~
+ ~ Copyright 2006, Red Hat Middleware, LLC, 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. ~
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<jboss-web>
+ <context-root>/jaxrpc-samples-wsaddr-hello</context-root>
+</jboss-web>
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app
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/web-app_2_4.xsd"
+ version="2.4">
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSAddressing Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>HelloService</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.HelloEndpointJSE</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -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">
+ <java-wsdl>
+ <service name="HelloService" style="document"
endpoint="org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello">
+ <operation name="sayHello" one-way="false"
return-xml-name="result">
+ <parameter type="java.lang.String"
xml-name="String_1"/>
+ </operation>
+ </service>
+ <namespaces
target-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto"
type-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="HelloService"/>
+ </java-wsdl>
+</configuration>
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ JBoss, a division of Red Hat ~
+ ~ Copyright 2006, Red Hat Middleware, LLC, 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. ~
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<jboss-web>
+ <context-root>/jaxrpc-samples-wsaddr-replyto</context-root>
+</jboss-web>
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app
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/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>ReplyToService</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyToEndpointJSE</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ReplyToService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
===================================================================
---
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
(rev 0)
+++
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml 2007-12-17
08:49:20 UTC (rev 5326)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -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">
+ <java-wsdl>
+ <service name="ReplyToService" style="document"
parameter-style="wrapped"
endpoint="org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo">
+ <operation name="sayHelloResponse" one-way="true">
+ <parameter type="java.lang.String" xml-name="result"/>
+ </operation>
+ <operation name="getLastMessage" one-way="false"
return-xml-name="result"/>
+ </service>
+ <namespaces
target-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto"
type-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types"/>
+ <mapping file="replyto-jaxrpc-mapping.xml"/>
+ <webservices servlet-link="ReplyToService"/>
+ </java-wsdl>
+</configuration>
Property changes on:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF