Author: richard.opalka(a)jboss.com
Date: 2007-10-24 10:33:57 -0400 (Wed, 24 Oct 2007)
New Revision: 4885
Added:
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/EndpointEmulator.java
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/createSequenceResponse.xml
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/echoResponse.xml
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/properties/
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/properties/ReqResTestCase.properties
Removed:
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/RMEndpointEmulator.java
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/test.log
Modified:
stack/native/branches/ropalka/trunk/ant-import-tests/build-jars-jaxws.xml
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMClientHandler.java
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/ReqResTestCase.java
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/WEB-INF/web.xml
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/ReqResService.wsdl
Log:
synchronizing local working copy with SVN
Modified: stack/native/branches/ropalka/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/ropalka/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-24
14:02:59 UTC (rev 4884)
+++ stack/native/branches/ropalka/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-24
14:33:57 UTC (rev 4885)
@@ -495,9 +495,8 @@
<classes dir="${tests.output.dir}/classes">
<include
name="org/jboss/test/ws/jaxws/wsrm/emulator/**/*.class"/>
</classes>
- <webinf
dir="${tests.output.dir}/resources/jaxws/wsrm/emulator/resources">
- <include name="*.xml"/>
- <include name="*.wsdl"/>
+ <webinf
dir="${tests.output.dir}/resources/jaxws/wsrm/emulator">
+ <include name="resources/"/>
</webinf>
</war>
Modified:
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMClientHandler.java
===================================================================
---
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMClientHandler.java 2007-10-24
14:02:59 UTC (rev 4884)
+++
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMClientHandler.java 2007-10-24
14:33:57 UTC (rev 4885)
@@ -28,7 +28,9 @@
import javax.xml.namespace.QName;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.addressing.AddressingException;
import javax.xml.ws.addressing.JAXWSAConstants;
+import javax.xml.ws.addressing.soap.SOAPAddressingBuilder;
import javax.xml.ws.addressing.soap.SOAPAddressingProperties;
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.MessageContext.Scope;
@@ -39,6 +41,7 @@
import org.jboss.ws.extensions.wsrm.spi.Constants;
import org.jboss.ws.extensions.wsrm.spi.Provider;
import org.jboss.ws.extensions.wsrm.spi.protocol.CreateSequence;
+import org.jboss.ws.extensions.wsrm.spi.protocol.CreateSequenceResponse;
/**
* TODO: add comment
@@ -99,7 +102,16 @@
protected boolean handleInbound(MessageContext msgContext)
{
if(log.isDebugEnabled()) log.debug("handleInbound");
- // TODO: implement
+
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+ RMHandlerConstant.Operation operation =
(RMHandlerConstant.Operation)msgContext.get(RMHandlerConstant.HANDLER_COMMAND);
+ if (operation == RMHandlerConstant.Operation.CREATE_SEQUENCE)
+ {
+ CreateSequenceResponse createSequenceResponse =
rmProvider.getMessageFactory().newCreateSequenceResponse();
+ createSequenceResponse.deserializeFrom(soapMessage);
+ System.out.println("have wsrm identifier: " +
createSequenceResponse.getIdentifier());
+ }
+
return true;
}
Added:
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/EndpointEmulator.java
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/EndpointEmulator.java
(rev 0)
+++
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/EndpointEmulator.java 2007-10-24
14:33:57 UTC (rev 4885)
@@ -0,0 +1,191 @@
+/*
+ * 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.emulator;
+
+import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.PrintWriter;
+import java.io.StringReader;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Properties;
+import java.util.Random;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+/**
+ * Endpoint emulator
+ *
+ * @author richard.opalka(a)jboss.com
+ *
+ * @since Oct 24, 2007
+ */
+public class EndpointEmulator extends HttpServlet
+{
+ private static final String ADDR_NS =
"http://www.w3.org/2005/08/addressing";
+ private static final Map<String, String> wsrmActions = new HashMap<String,
String>();
+ private static final String CREATE_SEQUENCE_ACTION =
"http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence";
+ private static final String CREATE_SEQUENCE_RESPONSE_ACTION =
"http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequenceResponse";
+ private static final String CLOSE_SEQUENCE_ACTION =
"http://docs.oasis-open.org/ws-rx/wsrm/200702/CloseSequence";
+ private static final String CLOSE_SEQUENCE_RESPONSE_ACTION =
"http://docs.oasis-open.org/ws-rx/wsrm/200702/CloseSequenceResponse";
+ private static final String TERMINATE_SEQUENCE_ACTION =
"http://docs.oasis-open.org/ws-rx/wsrm/200702/TerminateSequence";
+ private static final String TERMINATE_SEQUENCE_RESPONSE_ACTION =
"http://docs.oasis-open.org/ws-rx/wsrm/200702/TerminateSequenceResponse";
+ private static final Random generator = new Random();
+
+ static
+ {
+ wsrmActions.put(CREATE_SEQUENCE_ACTION, CREATE_SEQUENCE_RESPONSE_ACTION);
+ wsrmActions.put(CLOSE_SEQUENCE_ACTION, CLOSE_SEQUENCE_RESPONSE_ACTION);
+ wsrmActions.put(TERMINATE_SEQUENCE_ACTION, TERMINATE_SEQUENCE_RESPONSE_ACTION);
+ }
+
+ @Override
+ protected void doGet(HttpServletRequest req, HttpServletResponse resp)
+ throws ServletException, IOException
+ {
+ resp.setContentType("text/xml");
+ PrintWriter writer = resp.getWriter();
+ String wsdlFile = getResource("WEB-INF/resources/ReqResService.wsdl");
+ writer.print(wsdlFile);
+ writer.flush();
+ writer.close();
+ }
+
+ @Override
+ protected void doPost(HttpServletRequest req, HttpServletResponse resp)
+ throws ServletException, IOException
+ {
+ resp.setContentType("text/xml");
+ PrintWriter writer = resp.getWriter();
+ Properties properties = getAddressingProperties(getRequestMessage(req));
+ String response = getResource("WEB-INF/resources/echoResponse.xml");
+ if (properties.get("addressing.action").equals(CREATE_SEQUENCE_ACTION))
+ response =
getResource("WEB-INF/resources/createSequenceResponse.xml");
+ response = modifyResponse(response, properties);
+ writer.print(response);
+ writer.flush();
+ writer.close();
+ }
+
+ private String modifyResponse(String response, Properties props)
+ {
+ response = replace("${addressing.to}",
props.getProperty("addressing.replyto"), response);
+ response = replace("${addressing.relatesto}",
props.getProperty("addressing.messageid"), response);
+ String action = props.getProperty("addressing.action");
+ if (wsrmActions.containsKey(action))
+ {
+ if (action.equals(CREATE_SEQUENCE_ACTION))
+ {
+ String sequenceId =
"http://wsrm.emulator.jboss/sequence/generated/" +
generator.nextInt(Integer.MAX_VALUE);
+ response = replace("${messaging.identifier}", sequenceId,
response);
+ }
+ action = wsrmActions.get(action);
+ }
+ response = replace("${addressing.action}", action, response);
+ return response;
+ }
+
+ private static String replace(String oldString, String newString, String data)
+ {
+ int fromIndex = 0;
+ int index = 0;
+ StringBuffer result = new StringBuffer();
+
+ while ((index = data.indexOf(oldString, fromIndex)) >= 0)
+ {
+ result.append(data.substring(fromIndex, index));
+ result.append(newString);
+ fromIndex = index + oldString.length();
+ }
+ result.append(data.substring(fromIndex));
+ return result.toString();
+ }
+
+ private Properties getAddressingProperties(String message) throws IOException
+ {
+ try
+ {
+ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ factory.setNamespaceAware(true);
+ DocumentBuilder builder = factory.newDocumentBuilder();
+ Document document = builder.parse(new
ByteArrayInputStream(message.getBytes()));
+ Properties retVal = new Properties();
+ String to = document.getElementsByTagNameNS(ADDR_NS,
"To").item(0).getTextContent().trim();
+ retVal.put("addressing.to", to);
+ String messageId = document.getElementsByTagNameNS(ADDR_NS,
"MessageID").item(0).getTextContent().trim();
+ retVal.put("addressing.messageid", messageId);
+ String action = document.getElementsByTagNameNS(ADDR_NS,
"Action").item(0).getTextContent().trim();
+ retVal.put("addressing.action", action);
+ String replyTo = ((Element)document.getElementsByTagNameNS(ADDR_NS,
"ReplyTo").item(0))
+ .getElementsByTagNameNS(ADDR_NS,
"Address").item(0).getTextContent().trim();
+ retVal.put("addressing.replyto", replyTo);
+ System.out.println("Properties from message: " + retVal);
+ return retVal;
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ throw new IOException(e.getMessage());
+ }
+ }
+
+ private String getResource(String resource) throws IOException
+ {
+ return toString(getServletContext().getResourceAsStream(resource));
+ }
+
+ private String getRequestMessage(HttpServletRequest req) throws IOException
+ {
+ BufferedReader reader = req.getReader();
+ String line = null;
+ StringBuilder sb = new StringBuilder();
+ while ((line = reader.readLine()) != null)
+ {
+ sb.append(line);
+ }
+ return sb.toString();
+ }
+
+ private String toString(InputStream is) throws IOException
+ {
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ byte[] buffer = new byte[1024];
+ int offset = -1;
+ while ((offset = is.read(buffer, 0, buffer.length)) != -1)
+ {
+ baos.write(buffer, 0, offset);
+ }
+ return baos.toString();
+ }
+
+}
\ No newline at end of file
Property changes on:
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/EndpointEmulator.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Deleted:
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/RMEndpointEmulator.java
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/RMEndpointEmulator.java 2007-10-24
14:02:59 UTC (rev 4884)
+++
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/emulator/RMEndpointEmulator.java 2007-10-24
14:33:57 UTC (rev 4885)
@@ -1,78 +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.emulator;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-/**
- * RM endpoint emulator
- *
- * @author richard.opalka(a)jboss.com
- *
- * @since Oct 23, 2007
- */
-public class RMEndpointEmulator extends HttpServlet
-{
- @Override
- protected void doGet(HttpServletRequest req, HttpServletResponse resp)
- throws ServletException, IOException
- {
- doPost(req, resp);
- }
-
- @Override
- protected void doPost(HttpServletRequest req, HttpServletResponse resp)
- throws ServletException, IOException
- {
- String requestMessage = getRequestMessage(req);
- String responseMessage = getResponseMessage(requestMessage);
- resp.setContentType("text/xml");
- PrintWriter out = resp.getWriter();
- out.write(responseMessage);
- out.flush();
- out.close();
- }
-
- private String getResponseMessage(String requestMessage)
- {
- return "";
- }
-
- private String getRequestMessage(HttpServletRequest req) throws IOException
- {
- BufferedReader reader = req.getReader();
- String line = null;
- StringBuilder sb = new StringBuilder();
- while ((line = reader.readLine()) != null)
- {
- sb.append(line);
- }
- return sb.toString();
- }
-}
Modified:
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/ReqResTestCase.java
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/ReqResTestCase.java 2007-10-24
14:02:59 UTC (rev 4884)
+++
stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/ReqResTestCase.java 2007-10-24
14:33:57 UTC (rev 4885)
@@ -21,7 +21,11 @@
*/
package org.jboss.test.ws.jaxws.wsrm.reqres;
+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;
@@ -51,13 +55,28 @@
*/
public class ReqResTestCase extends JBossWSTest
{
- private final String serviceURL = "http://" + getServerHost() +
":8080/jaxws-wsrm/ReqResService";
+ 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;
+ static
+ {
+ // load test properties
+ File propertiesFile = new
File("resources/jaxws/wsrm/properties/ReqResTestCase.properties");
+ try
+ {
+ props.load(new FileInputStream(propertiesFile));
+ }
+ catch (IOException ignore)
+ {
+ ignore.printStackTrace();
+ }
+ }
+
private enum InvocationType
{
SYNC, ASYNC, ASYNC_FUTURE
@@ -65,7 +84,7 @@
public static Test suite()
{
- return new JBossWSTestSetup(ReqResTestCase.class, "jaxws-wsrm.war,
jaxws-wsrm-client.jar");
+ return new JBossWSTestSetup(ReqResTestCase.class,
props.getProperty("archives"));
}
@Override
Modified:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/WEB-INF/web.xml
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/WEB-INF/web.xml 2007-10-24
14:02:59 UTC (rev 4884)
+++
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/WEB-INF/web.xml 2007-10-24
14:33:57 UTC (rev 4885)
@@ -5,12 +5,12 @@
version="2.4">
<servlet>
- <servlet-name>RMEndpointEmulator</servlet-name>
-
<servlet-class>org.jboss.test.ws.jaxws.wsrm.emulator.RMEndpointEmulator</servlet-class>
+ <servlet-name>EndpointEmulator</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.wsrm.emulator.EndpointEmulator</servlet-class>
</servlet>
<servlet-mapping>
- <servlet-name>RMEndpointEmulator</servlet-name>
+ <servlet-name>EndpointEmulator</servlet-name>
<url-pattern>/ReqResService</url-pattern>
</servlet-mapping>
Modified:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/ReqResService.wsdl
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/ReqResService.wsdl 2007-10-24
14:02:59 UTC (rev 4884)
+++
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/ReqResService.wsdl 2007-10-24
14:33:57 UTC (rev 4885)
@@ -33,7 +33,7 @@
</binding>
<service name="ReqResService">
<port name="ReqResPort" binding="tns:ReqResBinding">
- <soap:address
location="http://127.0.0.1:8080/jaxws-wsrm/ReqResService"/>
+ <soap:address
location="http://127.0.0.1:8080/jaxws-wsrm-emulator/ReqResService"/>
</port>
</service>
<wsp:Policy wsu:Id="exactly_one_in_order_rm_delivery"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
Added:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/createSequenceResponse.xml
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/createSequenceResponse.xml
(rev 0)
+++
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/createSequenceResponse.xml 2007-10-24
14:33:57 UTC (rev 4885)
@@ -0,0 +1,15 @@
+<env:Envelope
+
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
+
xmlns:wsrm11='http://docs.oasis-open.org/ws-rx/wsrm/200702'
+
xmlns:wsa='http://www.w3.org/2005/08/addressing'>
+ <env:Header>
+ <wsa:To>${addressing.to}</wsa:To>
+ <wsa:RelatesTo>${addressing.relatesto}</wsa:RelatesTo>
+ <wsa:Action>${addressing.action}</wsa:Action>
+ </env:Header>
+ <env:Body
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <wsrm11:CreateSequenceResponse>
+ <wsrm11:Identifier>${messaging.identifier}</wsrm11:Identifier>
+ </wsrm11:CreateSequenceResponse>
+ </env:Body>
+</env:Envelope>
Property changes on:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/createSequenceResponse.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/echoResponse.xml
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/echoResponse.xml
(rev 0)
+++
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/echoResponse.xml 2007-10-24
14:33:57 UTC (rev 4885)
@@ -0,0 +1,15 @@
+<env:Envelope
+
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
+
xmlns:wsrm='http://docs.oasis-open.org/ws-rx/wsrm/200702'
+
xmlns:wsa='http://www.w3.org/2005/08/addressing'>
+ <env:Header
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <wsa:To>${addressing.to}</wsa:To>
+ <wsa:RelatesTo>${addressing.relatesto}</wsa:RelatesTo>
+ <wsa:Action>${addressing.action}</wsa:Action>
+ </env:Header>
+ <env:Body
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <ns1:echoResponse xmlns:ns1='http://org.jboss.ws/jaxws/wsrm'>
+ <result>Hello World</result>
+ </ns1:echoResponse>
+ </env:Body>
+</env:Envelope>
Property changes on:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/echoResponse.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Deleted:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/test.log
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/test.log 2007-10-24
14:02:59 UTC (rev 4884)
+++
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/emulator/resources/test.log 2007-10-24
14:33:57 UTC (rev 4885)
@@ -1,8 +0,0 @@
-<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header/>
- <env:Body>
- <ns1:echoResponse xmlns:ns1='http://org.jboss.ws/jaxws/wsrm'>
- <result>Hello World</result>
- </ns1:echoResponse>
- </env:Body>
-</env:Envelope>
Added:
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/properties/ReqResTestCase.properties
===================================================================
---
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/properties/ReqResTestCase.properties
(rev 0)
+++
stack/native/branches/ropalka/trunk/src/test/resources/jaxws/wsrm/properties/ReqResTestCase.properties 2007-10-24
14:33:57 UTC (rev 4885)
@@ -0,0 +1,5 @@
+port=8080
+#path=/jaxws-wsrm/ReqResService
+path=/jaxws-wsrm-emulator/ReqResService
+#archives=jaxws-wsrm.war, jaxws-wsrm-client.jar
+archives=jaxws-wsrm-emulator.war, jaxws-wsrm-client.jar
\ No newline at end of file