Author: richard.opalka(a)jboss.com
Date: 2007-11-28 12:26:05 -0500 (Wed, 28 Nov 2007)
New Revision: 5138
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAddressableOneWayTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAnonymousOneWayTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAddressableReqResTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAnonymousReqResTestCase.java
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableOneWayTestCase.properties
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableReqResTestCase.properties
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousOneWayTestCase.properties
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousReqResTestCase.properties
Removed:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMOneWayTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMReqResTestCase.java
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMOneWayTestCase.properties
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMReqResTestCase.properties
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelRequest.java
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/backchannel/RMCallbackHandlerImpl.java
Log:
minor refactoring again
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelRequest.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelRequest.java 2007-11-28
17:01:49 UTC (rev 5137)
+++
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelRequest.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -31,8 +31,6 @@
import org.jboss.logging.Logger;
import org.jboss.remoting.Client;
import org.jboss.remoting.InvokerLocator;
-import org.jboss.remoting.callback.Callback;
-import org.jboss.remoting.callback.HandleCallbackException;
import org.jboss.ws.core.MessageTrace;
import org.jboss.ws.extensions.wsrm.RMSequenceImpl;
import org.jboss.ws.extensions.wsrm.transport.backchannel.RMCallbackHandler;
@@ -45,7 +43,7 @@
*/
public final class RMChannelRequest implements Callable<RMChannelResponse>
{
- private static final Logger log = Logger.getLogger(RMChannelRequest.class);
+ private static final Logger logger = Logger.getLogger(RMChannelRequest.class);
private static final String JBOSSWS_SUBSYSTEM = "jbossws";
private final RMMessage rmRequest;
@@ -55,15 +53,6 @@
this.rmRequest = rmRequest;
}
-
-
- public void handleCallback(Callback callback)
- throws HandleCallbackException
- {
- System.out.println("Handling callback: " + callback);
- // TODO: implement this method
- }
-
public RMChannelResponse call()
{
InvokerLocator locator = null;
@@ -81,7 +70,7 @@
URI backPort = RMTransportHelper.getBackPortURI(rmRequest);
String messageId = RMTransportHelper.getMessageId(rmRequest);
- System.out.println("[WS-RM] backport URI is: " + backPort);
+ logger.debug("[WS-RM] backport URI is: " + backPort);
RMCallbackHandler callbackHandler = null;
// TODO: we should remember WSA:MessageId here too
@@ -94,7 +83,7 @@
callbackHandler.addUnassignedMessageListener(sequence);
}
}
- boolean oneWay = RMTransportHelper.isOneWayOperation(rmRequest) &&
(backPort == null); // TODO: backport support
+ boolean oneWay = /*RMTransportHelper.isOneWayOperation(rmRequest) &&
*/(backPort != null); // TODO: backport support
Client client = new Client(locator, JBOSSWS_SUBSYSTEM,
rmRequest.getMetadata().getContext(REMOTING_CONFIGURATION_CONTEXT));
client.connect();
@@ -105,8 +94,8 @@
client.setUnMarshaller(RMUnMarshaller.getInstance());
Map<String, Object> remotingInvocationContext =
rmRequest.getMetadata().getContext(REMOTING_INVOCATION_CONTEXT);
- if (log.isDebugEnabled())
- log.debug("Remoting metadata: " + remotingInvocationContext);
+ if (logger.isDebugEnabled())
+ logger.debug("Remoting metadata: " + remotingInvocationContext);
// debug the outgoing request message
MessageTrace.traceMessage("Outgoing RM Request Message",
rmRequest.getPayload());
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/backchannel/RMCallbackHandlerImpl.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/backchannel/RMCallbackHandlerImpl.java 2007-11-28
17:01:49 UTC (rev 5137)
+++
stack/native/trunk/src/main/java/org/jboss/ws/extensions/wsrm/transport/backchannel/RMCallbackHandlerImpl.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -43,7 +43,7 @@
*/
public final class RMCallbackHandlerImpl implements RMCallbackHandler
{
- private static final Logger LOG = Logger.getLogger(RMCallbackHandlerImpl.class);
+ private static final Logger logger = Logger.getLogger(RMCallbackHandlerImpl.class);
private final String handledPath;
private final Object instanceLock = new Object();
private Map<String, RMMessage> arrivedMessages = new HashMap<String,
RMMessage>();
@@ -54,6 +54,7 @@
{
super();
this.handledPath = handledPath;
+ logger.debug("Registered callback handler listening on '" +
handledPath + "' request path");
}
public Throwable getFault(String messageId)
@@ -70,12 +71,9 @@
public final void handle(InvocationRequest request)
{
String requestMessage = (String)request.getParameter();
- System.out.println("=================================================");
- System.out.println("4 - " + request.getRequestPayload());
- System.out.println("5 - " + request.getReturnPayload());
synchronized (instanceLock)
{
- LOG.debug("Setting response object");
+ logger.debug("Setting response object");
MessageTrace.traceMessage("Incoming RM Response Message",
requestMessage.getBytes());
RMMessage message = RMMessageFactory.newMessage(requestMessage.getBytes(), new
RMMetadata(new java.util.HashMap<String, Object>())); // TODO create map metadata
String startPattern = "<wsa:RelatesTo>"; // TODO: remove this
with XML content inspection
@@ -85,20 +83,19 @@
if (begin != -1)
{
String messageId = requestMessage.substring(begin, end);
- System.out.println("Arrived message id: " + messageId);
+ logger.debug("Arrived message id: " + messageId);
this.arrivedMessages.put(messageId, message);
}
else
{
- System.out.println("Arrived message has no id");
+ logger.debug("Arrived message has no id");
this.arrivedUnassignedMessages.add(message);
if (this.listener != null)
{
this.listener.unassignedMessageReceived();
}
}
- System.out.println("Message content is: " + requestMessage);
-
System.out.println("=================================================");
+ logger.debug("Message content is: " + requestMessage);
}
}
@@ -121,7 +118,7 @@
{
try
{
- LOG.debug("waiting for response object associated with message id:
" + messageId);
+ logger.debug("waiting for response object associated with message id:
" + messageId);
instanceLock.wait(100);
}
catch (InterruptedException ignore)
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,94 @@
+/*
+ * 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.wsrm.oneway;
+
+import static org.jboss.test.ws.jaxws.wsrm.Helper.*;
+
+import java.net.URL;
+import java.util.concurrent.TimeUnit;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
+import org.jboss.ws.extensions.wsrm.api.RMProvider;
+import org.jboss.ws.extensions.wsrm.api.RMSequence;
+import org.jboss.ws.extensions.wsrm.api.RMSequenceType;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.test.ws.jaxws.wsrm.OneWayServiceIface;
+
+/**
+ * Reliable JBoss WebService client invoking one way methods
+ *
+ * @author richard.opalka(a)jboss.com
+ * @since 22-Aug-2007
+ */
+public abstract class RMAbstractOneWayTest extends JBossWSTest
+{
+ private String targetNS = "http://wsrm.jaxws.ws.test.jboss.org/";
+ private OneWayServiceIface proxy;
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ QName serviceName = new QName(targetNS, "OneWayService");
+ URL wsdlURL = new URL(getServiceURL() + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ proxy = (OneWayServiceIface)service.getPort(OneWayServiceIface.class);
+ }
+
+ public void testOneWayMethods() throws Exception
+ {
+ System.out.println("FIXME [JBWS-515] Provide an initial implementation for
WS-ReliableMessaging");
+ System.out.println("FIXME [JBWS-1699] Implement the basic message exchange
that is required for WS-RM");
+ System.out.println("FIXME [JBWS-1700] Provide a comprehensive test case for
WS-RM");
+ if (true) return; // disable WS-RM tests - they cause regression in hudson
+
+ RMSequence sequence = null;
+ if (isEmulatorOn())
+ {
+ RMProvider wsrmProvider = (RMProvider)proxy;
+ sequence = wsrmProvider.createSequence(getAddressingType(),
RMSequenceType.SIMPLEX);
+ System.out.println("Created sequence with id=" +
sequence.getOutboundId());
+ }
+ setAddrProps(proxy, "http://useless/action1", getServiceURL());
+ proxy.method1();
+ setAddrProps(proxy, "http://useless/action2", getServiceURL());
+ proxy.method2("Hello World");
+ setAddrProps(proxy, "http://useless/action3", getServiceURL());
+ proxy.method3(new String[] {"Hello","World"});
+ if (isEmulatorOn())
+ {
+ if (!sequence.isCompleted(1000, TimeUnit.MILLISECONDS)) {
+ fail("Sequence not completed within specified time amount");
+ } else {
+ sequence.close();
+ }
+ }
+ }
+
+ protected abstract RMAddressingType getAddressingType();
+ protected abstract boolean isEmulatorOn();
+ protected abstract String getServiceURL();
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAddressableOneWayTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAddressableOneWayTestCase.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAddressableOneWayTestCase.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,82 @@
+/*
+ * 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.wsrm.oneway;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.util.Properties;
+
+import junit.framework.Test;
+
+import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Addressable version of one way WS-RM message exchange
+ *
+ * @author richard.opalka(a)jboss.com
+ *
+ * @since Nov 28, 2007
+ */
+public final class RMAddressableOneWayTestCase extends RMAbstractOneWayTest
+{
+
+ private static final Properties props = new Properties();
+ private final boolean emulatorOn =
Boolean.parseBoolean((String)props.get("emulator"));
+ private final String serviceURL = "http://" + getServerHost() +
":" + props.getProperty("port") +
props.getProperty("path");
+
+ static
+ {
+ // load test properties
+ File propertiesFile = new
File("resources/jaxws/wsrm/properties/RMAddressableOneWayTestCase.properties");
+ try
+ {
+ props.load(new FileInputStream(propertiesFile));
+ }
+ catch (IOException ignore)
+ {
+ ignore.printStackTrace();
+ }
+ }
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(RMAddressableOneWayTestCase.class,
props.getProperty("archives"));
+ }
+
+ public final RMAddressingType getAddressingType()
+ {
+ return RMAddressingType.ADDRESSABLE;
+ }
+
+ public final boolean isEmulatorOn()
+ {
+ return this.emulatorOn;
+ }
+
+ public final String getServiceURL()
+ {
+ return this.serviceURL;
+ }
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAddressableOneWayTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAnonymousOneWayTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAnonymousOneWayTestCase.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAnonymousOneWayTestCase.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,83 @@
+/*
+ * 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.wsrm.oneway;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.util.Properties;
+
+import junit.framework.Test;
+
+import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Anonymous version of one way WS-RM message exchange
+ *
+ * @author richard.opalka(a)jboss.com
+ *
+ * @since Nov 28, 2007
+ */
+public final class RMAnonymousOneWayTestCase extends RMAbstractOneWayTest
+{
+
+ private static final Properties props = new Properties();
+ private final boolean emulatorOn =
Boolean.parseBoolean((String)props.get("emulator"));
+ private final String serviceURL = "http://" + getServerHost() +
":" + props.getProperty("port") +
props.getProperty("path");
+
+ static
+ {
+ // load test properties
+ File propertiesFile = new
File("resources/jaxws/wsrm/properties/RMAnonymousOneWayTestCase.properties");
+ try
+ {
+ props.load(new FileInputStream(propertiesFile));
+ }
+ catch (IOException ignore)
+ {
+ ignore.printStackTrace();
+ }
+ }
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(RMAnonymousOneWayTestCase.class,
props.getProperty("archives"));
+ }
+
+
+ public final RMAddressingType getAddressingType()
+ {
+ return RMAddressingType.ANONYMOUS;
+ }
+
+ public final boolean isEmulatorOn()
+ {
+ return this.emulatorOn;
+ }
+
+ public final String getServiceURL()
+ {
+ return this.serviceURL;
+ }
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAnonymousOneWayTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Deleted:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMOneWayTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMOneWayTestCase.java 2007-11-28
17:01:49 UTC (rev 5137)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMOneWayTestCase.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -1,125 +0,0 @@
-/*
- * 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.wsrm.oneway;
-
-import static org.jboss.test.ws.jaxws.wsrm.Helper.*;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.net.URL;
-import java.util.Properties;
-import java.util.concurrent.TimeUnit;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-
-import junit.framework.Test;
-
-import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
-import org.jboss.ws.extensions.wsrm.api.RMProvider;
-import org.jboss.ws.extensions.wsrm.api.RMSequence;
-import org.jboss.ws.extensions.wsrm.api.RMSequenceType;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-import org.jboss.test.ws.jaxws.wsrm.OneWayServiceIface;
-
-/**
- * Reliable JBoss WebService client invoking one way methods
- *
- * @author richard.opalka(a)jboss.com
- * @since 22-Aug-2007
- */
-public class RMOneWayTestCase extends JBossWSTest
-{
- private static final Properties props = new Properties();
- private String targetNS = "http://wsrm.jaxws.ws.test.jboss.org/";
- private OneWayServiceIface proxy;
- private final boolean emulatorOn =
Boolean.parseBoolean((String)props.get("emulator"));
- private final boolean addressable =
Boolean.parseBoolean((String)props.get("addressable"));
- private final String serviceURL = "http://" + getServerHost() +
":" + props.getProperty("port") +
props.getProperty("path");
-
- static
- {
- // load test properties
- File propertiesFile = new
File("resources/jaxws/wsrm/properties/RMOneWayTestCase.properties");
- try
- {
- props.load(new FileInputStream(propertiesFile));
- }
- catch (IOException ignore)
- {
- ignore.printStackTrace();
- }
- }
-
- public static Test suite()
- {
- return new JBossWSTestSetup(RMOneWayTestCase.class,
props.getProperty("archives"));
- }
-
- @Override
- protected void setUp() throws Exception
- {
- super.setUp();
- QName serviceName = new QName(targetNS, "OneWayService");
- URL wsdlURL = new URL(serviceURL + "?wsdl");
- Service service = Service.create(wsdlURL, serviceName);
- proxy = (OneWayServiceIface)service.getPort(OneWayServiceIface.class);
- }
-
- public void testOneWayMethods() throws Exception
- {
- System.out.println("FIXME [JBWS-515] Provide an initial implementation for
WS-ReliableMessaging");
- System.out.println("FIXME [JBWS-1699] Implement the basic message exchange
that is required for WS-RM");
- System.out.println("FIXME [JBWS-1700] Provide a comprehensive test case for
WS-RM");
- if (true) return; // disable WS-RM tests - they cause regression in hudson
-
- RMSequence sequence = null;
- if (emulatorOn)
- {
- RMProvider wsrmProvider = (RMProvider)proxy;
- sequence = wsrmProvider.createSequence(getAddressingType(),
RMSequenceType.SIMPLEX);
- System.out.println("Created sequence with id=" +
sequence.getOutboundId());
- }
- setAddrProps(proxy, "http://useless/action1", serviceURL);
- proxy.method1();
- setAddrProps(proxy, "http://useless/action2", serviceURL);
- proxy.method2("Hello World");
- setAddrProps(proxy, "http://useless/action3", serviceURL);
- proxy.method3(new String[] {"Hello","World"});
- if (emulatorOn)
- {
- if (!sequence.isCompleted(1000, TimeUnit.MILLISECONDS)) {
- fail("Sequence not completed within specified time amount");
- } else {
- sequence.close();
- }
- }
- }
-
- private RMAddressingType getAddressingType()
- {
- return addressable ? RMAddressingType.ADDRESSABLE : RMAddressingType.ANONYMOUS;
- }
-
-}
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,179 @@
+/*
+ * 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.wsrm.reqres;
+
+import static org.jboss.test.ws.jaxws.wsrm.Helper.*;
+
+import java.net.URL;
+import java.util.concurrent.Future;
+import java.util.concurrent.TimeUnit;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.Response;
+import javax.xml.ws.Service;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.test.ws.jaxws.wsrm.ReqResServiceIface;
+
+import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
+import org.jboss.ws.extensions.wsrm.api.RMProvider;
+import org.jboss.ws.extensions.wsrm.api.RMSequence;
+import org.jboss.ws.extensions.wsrm.api.RMSequenceType;
+
+/**
+ * Reliable JBoss WebService client invoking req/res methods
+ *
+ * @author richard.opalka(a)jboss.com
+ * @since 22-Aug-2007
+ */
+public abstract class RMAbstractReqResTest extends JBossWSTest
+{
+ private static final String HELLO_WORLD_MSG = "Hello World";
+ private static final String TARGET_NS = "http://org.jboss.ws/jaxws/wsrm";
+ private Exception handlerException;
+ private boolean asyncHandlerCalled;
+ private ReqResServiceIface proxy;
+
+ private enum InvocationType
+ {
+ SYNC, ASYNC, ASYNC_FUTURE
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (proxy == null)
+ {
+ QName serviceName = new QName(TARGET_NS, "ReqResService");
+ URL wsdlURL = new URL(getServiceURL() + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ proxy = (ReqResServiceIface)service.getPort(ReqResServiceIface.class);
+ }
+ }
+
+ public void testSynchronousInvocation() throws Exception
+ {
+ doReliableMessageExchange(proxy, InvocationType.SYNC);
+ }
+
+ public void testAsynchronousInvocation() throws Exception
+ {
+ doReliableMessageExchange(proxy, InvocationType.ASYNC);
+ }
+
+ public void testAsynchronousInvocationUsingFuture() throws Exception
+ {
+ doReliableMessageExchange(proxy, InvocationType.ASYNC_FUTURE);
+ }
+
+ private void doSynchronousInvocation() throws Exception
+ {
+ assertEquals(proxy.echo(HELLO_WORLD_MSG), HELLO_WORLD_MSG);
+ }
+
+ private void doAsynchronousInvocation() throws Exception
+ {
+ Response<String> response = proxy.echoAsync(HELLO_WORLD_MSG);
+ assertEquals(response.get(), HELLO_WORLD_MSG); // hidden future pattern
+ }
+
+ private void doAsynchronousInvocationUsingFuture() throws Exception
+ {
+ AsyncHandler<String> handler = new AsyncHandler<String>()
+ {
+ public void handleResponse(Response<String> response)
+ {
+ try
+ {
+ String retStr = (String) response.get(1000, TimeUnit.MILLISECONDS);
+ assertEquals(HELLO_WORLD_MSG, retStr);
+ asyncHandlerCalled = true;
+ }
+ catch (Exception ex)
+ {
+ handlerException = ex;
+ }
+ }
+ };
+ Future<?> future = proxy.echoAsync(HELLO_WORLD_MSG, handler);
+ future.get(1000, TimeUnit.MILLISECONDS);
+ ensureAsyncStatus();
+ }
+
+ private void ensureAsyncStatus() throws Exception
+ {
+ if (handlerException != null) throw handlerException;
+ assertTrue("Async handler called", asyncHandlerCalled);
+ handlerException = null;
+ asyncHandlerCalled = false;
+ }
+
+ private void invokeWebServiceMethod(InvocationType invocationType) throws Exception
+ {
+ switch (invocationType) {
+ case SYNC: doSynchronousInvocation(); break;
+ case ASYNC: doAsynchronousInvocation(); break;
+ case ASYNC_FUTURE: doAsynchronousInvocationUsingFuture(); break;
+ default : fail("Unknown invocation type");
+ }
+ }
+
+ private void doReliableMessageExchange(Object proxyObject, InvocationType
invocationType) throws Exception
+ {
+ System.out.println("FIXME [JBWS-515] Provide an initial implementation for
WS-ReliableMessaging");
+ System.out.println("FIXME [JBWS-1699] Implement the basic message exchange
that is required for WS-RM");
+ System.out.println("FIXME [JBWS-1700] Provide a comprehensive test case for
WS-RM");
+ if (true) return; // disable WS-RM tests - they cause regression in hudson
+
+ RMSequence sequence = null;
+ if (isEmulatorOn())
+ {
+ RMProvider wsrmProvider = (RMProvider)proxyObject;
+ sequence = wsrmProvider.createSequence(getAddressingType(),
RMSequenceType.DUPLEX);
+ System.out.println("Created sequence with outbound id=" +
sequence.getOutboundId());
+ System.out.println("Created sequence with inbound id=" +
sequence.getInboundId());
+ }
+ setAddrProps(proxy, "http://useless/action", getServiceURL());
+ invokeWebServiceMethod(invocationType);
+ setAddrProps(proxy, "http://useless/action", getServiceURL());
+ invokeWebServiceMethod(invocationType);
+ setAddrProps(proxy, "http://useless/action", getServiceURL());
+ invokeWebServiceMethod(invocationType);
+ if (isEmulatorOn())
+ {
+ if (!sequence.isCompleted(1000, TimeUnit.MILLISECONDS)) {
+ sequence.discard();
+ fail("Sequence not completed within specified time amount");
+ } else {
+ sequence.close();
+ }
+ }
+ }
+
+ protected abstract RMAddressingType getAddressingType();
+ protected abstract boolean isEmulatorOn();
+ protected abstract String getServiceURL();
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAddressableReqResTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAddressableReqResTestCase.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAddressableReqResTestCase.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,82 @@
+/*
+ * 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.wsrm.reqres;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.util.Properties;
+
+import junit.framework.Test;
+
+import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Addressable version of request reply WS-RM message exchange
+ *
+ * @author richard.opalka(a)jboss.com
+ *
+ * @since Nov 28, 2007
+ */
+public final class RMAddressableReqResTestCase extends RMAbstractReqResTest
+{
+
+ private static final Properties props = new Properties();
+ private final String serviceURL = "http://" + getServerHost() +
":" + props.getProperty("port") +
props.getProperty("path");
+ private final boolean emulatorOn =
Boolean.parseBoolean((String)props.get("emulator"));
+
+ static
+ {
+ // load test properties
+ File propertiesFile = new
File("resources/jaxws/wsrm/properties/RMAddressableReqResTestCase.properties");
+ try
+ {
+ props.load(new FileInputStream(propertiesFile));
+ }
+ catch (IOException ioe)
+ {
+ ioe.printStackTrace();
+ }
+ }
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(RMAddressableReqResTestCase.class,
props.getProperty("archives"));
+ }
+
+ public final RMAddressingType getAddressingType()
+ {
+ return RMAddressingType.ADDRESSABLE;
+ }
+
+ public final boolean isEmulatorOn()
+ {
+ return this.emulatorOn;
+ }
+
+ public final String getServiceURL()
+ {
+ return this.serviceURL;
+ }
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAddressableReqResTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAnonymousReqResTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAnonymousReqResTestCase.java
(rev 0)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAnonymousReqResTestCase.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,82 @@
+/*
+ * 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.wsrm.reqres;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.util.Properties;
+
+import junit.framework.Test;
+
+import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Anonymous version of request reply WS-RM message exchange
+ *
+ * @author richard.opalka(a)jboss.com
+ *
+ * @since Nov 28, 2007
+ */
+public final class RMAnonymousReqResTestCase extends RMAbstractReqResTest
+{
+
+ private static final Properties props = new Properties();
+ private final String serviceURL = "http://" + getServerHost() +
":" + props.getProperty("port") +
props.getProperty("path");
+ private final boolean emulatorOn =
Boolean.parseBoolean((String)props.get("emulator"));
+
+ static
+ {
+ // load test properties
+ File propertiesFile = new
File("resources/jaxws/wsrm/properties/RMAnonymousReqResTestCase.properties");
+ try
+ {
+ props.load(new FileInputStream(propertiesFile));
+ }
+ catch (IOException ioe)
+ {
+ ioe.printStackTrace();
+ }
+ }
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(RMAnonymousReqResTestCase.class,
props.getProperty("archives"));
+ }
+
+ public final RMAddressingType getAddressingType()
+ {
+ return RMAddressingType.ANONYMOUS;
+ }
+
+ public final boolean isEmulatorOn()
+ {
+ return this.emulatorOn;
+ }
+
+ public final String getServiceURL()
+ {
+ return this.serviceURL;
+ }
+
+}
Property changes on:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAnonymousReqResTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Deleted:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMReqResTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMReqResTestCase.java 2007-11-28
17:01:49 UTC (rev 5137)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMReqResTestCase.java 2007-11-28
17:26:05 UTC (rev 5138)
@@ -1,210 +0,0 @@
-/*
- * 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.wsrm.reqres;
-
-import static org.jboss.test.ws.jaxws.wsrm.Helper.*;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.net.URL;
-import java.util.Properties;
-import java.util.concurrent.Future;
-import java.util.concurrent.TimeUnit;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.AsyncHandler;
-import javax.xml.ws.Response;
-import javax.xml.ws.Service;
-
-import junit.framework.Test;
-
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-import org.jboss.test.ws.jaxws.wsrm.ReqResServiceIface;
-
-import org.jboss.ws.extensions.wsrm.api.RMAddressingType;
-import org.jboss.ws.extensions.wsrm.api.RMProvider;
-import org.jboss.ws.extensions.wsrm.api.RMSequence;
-import org.jboss.ws.extensions.wsrm.api.RMSequenceType;
-
-/**
- * Reliable JBoss WebService client invoking req/res methods
- *
- * @author richard.opalka(a)jboss.com
- * @since 22-Aug-2007
- */
-public class RMReqResTestCase extends JBossWSTest
-{
- private static final Properties props = new Properties();
- private static final String HELLO_WORLD_MSG = "Hello World";
- private static final String TARGET_NS = "http://org.jboss.ws/jaxws/wsrm";
- private final String serviceURL = "http://" + getServerHost() +
":" + props.getProperty("port") +
props.getProperty("path");
- private Exception handlerException;
- private boolean asyncHandlerCalled;
- private ReqResServiceIface proxy;
- private final boolean emulatorOn =
Boolean.parseBoolean((String)props.get("emulator"));
- private final boolean addressable =
Boolean.parseBoolean((String)props.get("addressable"));
-
- static
- {
- // load test properties
- File propertiesFile = new
File("resources/jaxws/wsrm/properties/RMReqResTestCase.properties");
- try
- {
- props.load(new FileInputStream(propertiesFile));
- }
- catch (IOException ignore)
- {
- ignore.printStackTrace();
- }
- }
-
- private enum InvocationType
- {
- SYNC, ASYNC, ASYNC_FUTURE
- }
-
- public static Test suite()
- {
- return new JBossWSTestSetup(RMReqResTestCase.class,
props.getProperty("archives"));
- }
-
- @Override
- protected void setUp() throws Exception
- {
- super.setUp();
-
- if (proxy == null)
- {
- QName serviceName = new QName(TARGET_NS, "ReqResService");
- URL wsdlURL = new URL(serviceURL + "?wsdl");
- Service service = Service.create(wsdlURL, serviceName);
- proxy = (ReqResServiceIface)service.getPort(ReqResServiceIface.class);
- }
- }
-
- public void testSynchronousInvocation() throws Exception
- {
- doReliableMessageExchange(proxy, InvocationType.SYNC);
- }
-
- public void testAsynchronousInvocation() throws Exception
- {
- doReliableMessageExchange(proxy, InvocationType.ASYNC);
- }
-
- public void testAsynchronousInvocationUsingFuture() throws Exception
- {
- doReliableMessageExchange(proxy, InvocationType.ASYNC_FUTURE);
- }
-
- private void doSynchronousInvocation() throws Exception
- {
- assertEquals(proxy.echo(HELLO_WORLD_MSG), HELLO_WORLD_MSG);
- }
-
- private void doAsynchronousInvocation() throws Exception
- {
- Response<String> response = proxy.echoAsync(HELLO_WORLD_MSG);
- assertEquals(response.get(), HELLO_WORLD_MSG); // hidden future pattern
- }
-
- private void doAsynchronousInvocationUsingFuture() throws Exception
- {
- AsyncHandler<String> handler = new AsyncHandler<String>()
- {
- public void handleResponse(Response<String> response)
- {
- try
- {
- String retStr = (String) response.get(1000, TimeUnit.MILLISECONDS);
- assertEquals(HELLO_WORLD_MSG, retStr);
- asyncHandlerCalled = true;
- }
- catch (Exception ex)
- {
- handlerException = ex;
- }
- }
- };
- Future<?> future = proxy.echoAsync(HELLO_WORLD_MSG, handler);
- future.get(1000, TimeUnit.MILLISECONDS);
- ensureAsyncStatus();
- }
-
- private void ensureAsyncStatus() throws Exception
- {
- if (handlerException != null) throw handlerException;
- assertTrue("Async handler called", asyncHandlerCalled);
- handlerException = null;
- asyncHandlerCalled = false;
- }
-
- private void invokeWebServiceMethod(InvocationType invocationType) throws Exception
- {
- switch (invocationType) {
- case SYNC: doSynchronousInvocation(); break;
- case ASYNC: doAsynchronousInvocation(); break;
- case ASYNC_FUTURE: doAsynchronousInvocationUsingFuture(); break;
- default : fail("Unknown invocation type");
- }
- }
-
- private void doReliableMessageExchange(Object proxyObject, InvocationType
invocationType) throws Exception
- {
- System.out.println("FIXME [JBWS-515] Provide an initial implementation for
WS-ReliableMessaging");
- System.out.println("FIXME [JBWS-1699] Implement the basic message exchange
that is required for WS-RM");
- System.out.println("FIXME [JBWS-1700] Provide a comprehensive test case for
WS-RM");
- if (true) return; // disable WS-RM tests - they cause regression in hudson
-
- RMSequence sequence = null;
- if (emulatorOn)
- {
- RMProvider wsrmProvider = (RMProvider)proxyObject;
- sequence = wsrmProvider.createSequence(getAddressingType(),
RMSequenceType.DUPLEX);
- System.out.println("Created sequence with outbound id=" +
sequence.getOutboundId());
- System.out.println("Created sequence with inbound id=" +
sequence.getInboundId());
- }
- setAddrProps(proxy, "http://useless/action", serviceURL);
- invokeWebServiceMethod(invocationType);
- setAddrProps(proxy, "http://useless/action", serviceURL);
- invokeWebServiceMethod(invocationType);
- setAddrProps(proxy, "http://useless/action", serviceURL);
- invokeWebServiceMethod(invocationType);
- if (emulatorOn)
- {
- if (!sequence.isCompleted(1000, TimeUnit.MILLISECONDS)) {
- sequence.discard();
- fail("Sequence not completed within specified time amount");
- } else {
- sequence.close();
- }
- }
- }
-
- private RMAddressingType getAddressingType()
- {
- return addressable ? RMAddressingType.ADDRESSABLE : RMAddressingType.ANONYMOUS;
- }
-
-}
Added:
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableOneWayTestCase.properties
===================================================================
---
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableOneWayTestCase.properties
(rev 0)
+++
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableOneWayTestCase.properties 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,7 @@
+port=8080
+#path=/jaxws-wsrm/OneWayService
+path=/jaxws-wsrm-one-way-emulator/OneWayService
+#archives=jaxws-wsrm.war, jaxws-wsrm-client.jar
+archives=jaxws-wsrm-one-way-emulator.war, jaxws-wsrm-client.jar
+emulator=true
+
Added:
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableReqResTestCase.properties
===================================================================
---
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableReqResTestCase.properties
(rev 0)
+++
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAddressableReqResTestCase.properties 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,7 @@
+port=8080
+#path=/jaxws-wsrm/ReqResService
+path=/jaxws-wsrm-req-res-emulator/ReqResService
+#archives=jaxws-wsrm.war, jaxws-wsrm-client.jar
+archives=jaxws-wsrm-req-res-emulator.war, jaxws-wsrm-client.jar
+emulator=true
+
Added:
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousOneWayTestCase.properties
===================================================================
---
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousOneWayTestCase.properties
(rev 0)
+++
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousOneWayTestCase.properties 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,7 @@
+port=8080
+#path=/jaxws-wsrm/OneWayService
+path=/jaxws-wsrm-one-way-emulator/OneWayService
+#archives=jaxws-wsrm.war, jaxws-wsrm-client.jar
+archives=jaxws-wsrm-one-way-emulator.war, jaxws-wsrm-client.jar
+emulator=true
+
Added:
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousReqResTestCase.properties
===================================================================
---
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousReqResTestCase.properties
(rev 0)
+++
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMAnonymousReqResTestCase.properties 2007-11-28
17:26:05 UTC (rev 5138)
@@ -0,0 +1,7 @@
+port=8080
+#path=/jaxws-wsrm/ReqResService
+path=/jaxws-wsrm-req-res-emulator/ReqResService
+#archives=jaxws-wsrm.war, jaxws-wsrm-client.jar
+archives=jaxws-wsrm-req-res-emulator.war, jaxws-wsrm-client.jar
+emulator=true
+
Deleted:
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMOneWayTestCase.properties
===================================================================
---
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMOneWayTestCase.properties 2007-11-28
17:01:49 UTC (rev 5137)
+++
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMOneWayTestCase.properties 2007-11-28
17:26:05 UTC (rev 5138)
@@ -1,7 +0,0 @@
-port=8080
-#path=/jaxws-wsrm/OneWayService
-path=/jaxws-wsrm-one-way-emulator/OneWayService
-#archives=jaxws-wsrm.war, jaxws-wsrm-client.jar
-archives=jaxws-wsrm-one-way-emulator.war, jaxws-wsrm-client.jar
-emulator=true
-addressable=true
\ No newline at end of file
Deleted:
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMReqResTestCase.properties
===================================================================
---
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMReqResTestCase.properties 2007-11-28
17:01:49 UTC (rev 5137)
+++
stack/native/trunk/src/test/resources/jaxws/wsrm/properties/RMReqResTestCase.properties 2007-11-28
17:26:05 UTC (rev 5138)
@@ -1,7 +0,0 @@
-port=8080
-#path=/jaxws-wsrm/ReqResService
-path=/jaxws-wsrm-req-res-emulator/ReqResService
-#archives=jaxws-wsrm.war, jaxws-wsrm-client.jar
-archives=jaxws-wsrm-req-res-emulator.war, jaxws-wsrm-client.jar
-emulator=true
-addressable=true