JBossWS SVN: r4287 - stack/native/branches/native-2.0.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-08-09 07:11:16 -0400 (Thu, 09 Aug 2007)
New Revision: 4287
Modified:
stack/native/branches/native-2.0/mergeinfo.txt
Log:
Update mergeinfo.txt
Modified: stack/native/branches/native-2.0/mergeinfo.txt
===================================================================
--- stack/native/branches/native-2.0/mergeinfo.txt 2007-08-09 11:10:21 UTC (rev 4286)
+++ stack/native/branches/native-2.0/mergeinfo.txt 2007-08-09 11:11:16 UTC (rev 4287)
@@ -11,3 +11,5 @@
#
# $Id: mergeinfo.txt 3833 2007-07-09 17:28:22Z heiko.braun(a)jboss.com $
+thomas.diesler(a)jboss.com 09-Aug-2007
+svn merge -r4262:4277 https://svn.jboss.org/repos/jbossws/stack/native/branches/native-2.0
17 years, 4 months
JBossWS SVN: r4286 - in stack/native/trunk: src/main/java/org/jboss/wsf/stack/jbws and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-08-09 07:10:21 -0400 (Thu, 09 Aug 2007)
New Revision: 4286
Modified:
stack/native/trunk/ant-import/build-thirdparty.xml
stack/native/trunk/src/main/java/org/jboss/wsf/stack/jbws/EndpointServlet.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java
Log:
Start endpoint on demand
Download src zips
Modified: stack/native/trunk/ant-import/build-thirdparty.xml
===================================================================
--- stack/native/trunk/ant-import/build-thirdparty.xml 2007-08-09 11:06:13 UTC (rev 4285)
+++ stack/native/trunk/ant-import/build-thirdparty.xml 2007-08-09 11:10:21 UTC (rev 4286)
@@ -47,16 +47,22 @@
<mkdir dir="${thirdparty.dir}"/>
<get src="${jboss.repository}/junit/${junit}/lib/junit.jar" dest="${thirdparty.dir}/junit.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common.jar" dest="${thirdparty.dir}/jbossws-common.jar" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common-src.zip" dest="${thirdparty.dir}/jbossws-common-src.zip" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-framework/${jbossws-framework}/lib/jbossws-framework.jar" dest="${thirdparty.dir}/jbossws-framework.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-framework/${jbossws-framework}/lib/jbossws-framework-scripts.zip" dest="${thirdparty.dir}/jbossws-framework-scripts.zip" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-framework/${jbossws-framework}/lib/jbossws-framework-src.zip" dest="${thirdparty.dir}/jbossws-framework-src.zip" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi.jar" dest="${thirdparty.dir}/jbossws-spi.jar" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi-src.zip" dest="${thirdparty.dir}/jbossws-spi-src.zip" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-jboss40/${jbossws-jboss40}/lib/jbossws-jboss40.jar" dest="${thirdparty.dir}/jbossws-jboss40.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-jboss40/${jbossws-jboss40}/lib/jbossws-jboss40-resources.zip" dest="${thirdparty.dir}/jbossws-jboss40-resources.zip" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-jboss40/${jbossws-jboss40}/lib/jbossws-jboss40-src.zip" dest="${thirdparty.dir}/jbossws-jboss40-src.zip" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-jboss42/${jbossws-jboss42}/lib/jbossws-jboss42.jar" dest="${thirdparty.dir}/jbossws-jboss42.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-jboss42/${jbossws-jboss42}/lib/jbossws-jboss42-resources.zip" dest="${thirdparty.dir}/jbossws-jboss42-resources.zip" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-jboss42/${jbossws-jboss42}/lib/jbossws-jboss42-src.zip" dest="${thirdparty.dir}/jbossws-jboss42-src.zip" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-jboss50/${jbossws-jboss50}/lib/jbossws-jboss50.jar" dest="${thirdparty.dir}/jbossws-jboss50.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossws-jboss50/${jbossws-jboss50}/lib/jbossws-jboss50-deployer.zip" dest="${thirdparty.dir}/jbossws-jboss50-deployer.zip" usetimestamp="true" verbose="true"/>
-
+ <get src="${jboss.repository}/jboss/jbossws-jboss50/${jbossws-jboss50}/lib/jbossws-jboss50-src.zip" dest="${thirdparty.dir}/jbossws-jboss50-src.zip" usetimestamp="true" verbose="true"/>
+
<get src="${jboss.repository}/apache-ant/${apache-ant}/lib/ant.jar" dest="${thirdparty.dir}/ant.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/apache-collections/${apache-collections}/lib/commons-collections.jar" dest="${thirdparty.dir}/commons-collections.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/apache-log4j/${apache-log4j}/lib/log4j.jar" dest="${thirdparty.dir}/log4j.jar" usetimestamp="true" verbose="true"/>
Modified: stack/native/trunk/src/main/java/org/jboss/wsf/stack/jbws/EndpointServlet.java
===================================================================
--- stack/native/trunk/src/main/java/org/jboss/wsf/stack/jbws/EndpointServlet.java 2007-08-09 11:06:13 UTC (rev 4285)
+++ stack/native/trunk/src/main/java/org/jboss/wsf/stack/jbws/EndpointServlet.java 2007-08-09 11:10:21 UTC (rev 4286)
@@ -95,22 +95,15 @@
{
initEndpoint(contextPath, getServletName());
initEndpointConfig();
- initializeAndStart();
+ startEndpoint();
}
- private void initializeAndStart()
+ private void startEndpoint()
{
+ // Start the endpoint
Deployment dep = endpoint.getService().getDeployment();
if (dep.getType() == DeploymentType.JAXRPC_JSE || dep.getType() == DeploymentType.JAXWS_JSE)
{
- // Initialize the meta data model
- UnifiedMetaData umd = dep.getAttachment(UnifiedMetaData.class);
- if (umd.isEagerInitialized() == false) // TODO: remove this piece
- {
- throw new IllegalStateException("UMD should be initialized already");
- }
-
- // Start the endpoint
if (endpoint.getState() == EndpointState.CREATED)
endpoint.getLifecycleHandler().start(endpoint);
}
Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java 2007-08-09 11:06:13 UTC (rev 4285)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java 2007-08-09 11:10:21 UTC (rev 4286)
@@ -39,27 +39,30 @@
* @author Heiko Braun, <heiko(a)openj.net>
* @since 05-Jan-2006
*/
-public class EventSinkServlet extends HttpServlet {
-
- protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- doRequest(request,response);
+public class EventSinkServlet extends HttpServlet
+{
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doRequest(request, response);
}
- protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- doRequest(request,response);
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doRequest(request, response);
}
- protected void doRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+ protected void doRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
StringBuffer sb = new StringBuffer();
BufferedReader reader = request.getReader();
String s = reader.readLine();
- sb.append( s );
- while(s!=null)
+ sb.append(s);
+ while (s != null)
{
s = reader.readLine();
- if(s!=null)
+ if (s != null)
sb.append(s);
}
17 years, 4 months
JBossWS SVN: r4285 - framework/branches/framework-2.0.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-08-09 07:06:13 -0400 (Thu, 09 Aug 2007)
New Revision: 4285
Added:
framework/branches/framework-2.0/mergeinfo.txt
Log:
Add mergeinfo
Added: framework/branches/framework-2.0/mergeinfo.txt
===================================================================
--- framework/branches/framework-2.0/mergeinfo.txt (rev 0)
+++ framework/branches/framework-2.0/mergeinfo.txt 2007-08-09 11:06:13 UTC (rev 4285)
@@ -0,0 +1,15 @@
+#
+# This file records SVN merges to trunk that have already been done
+# using this branch. Please use the following format
+#
+#
+# username, dd-mmm-yyyy
+# svn merge -r start:end svn url
+#
+# thomas.diesler(a)jboss.com 14-Jun-2007
+# svn merge -r3427:3430 https://svn.jboss.org/repos/jbossws/branches/jbossws-2.0
+#
+# $Id: mergeinfo.txt 3833 2007-07-09 17:28:22Z heiko.braun(a)jboss.com $
+
+thomas.diesler(a)jboss.com 09-Aug-2007
+svn merge -r4264:4274 https://svn.jboss.org/repos/jbossws/framework/branches/framework-2.0
17 years, 4 months
JBossWS SVN: r4284 - in framework/trunk: src/main/java/org/jboss/wsf/framework/deployment and 2 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-08-09 07:05:03 -0400 (Thu, 09 Aug 2007)
New Revision: 4284
Added:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandler.java
Removed:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerImpl.java
Modified:
framework/trunk/ant-import/build-thirdparty.xml
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandlerFactory.java
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
framework/trunk/src/test/ant-import/build-testsuite.xml
Log:
Rename to DefaultLifecycleHandler
Get impl version from ServerConfig
Modified: framework/trunk/ant-import/build-thirdparty.xml
===================================================================
--- framework/trunk/ant-import/build-thirdparty.xml 2007-08-09 10:04:14 UTC (rev 4283)
+++ framework/trunk/ant-import/build-thirdparty.xml 2007-08-09 11:05:03 UTC (rev 4284)
@@ -36,13 +36,16 @@
<target name="thirdparty-get" depends="thirdparty-init" if="force.thirdparty" description="Gets the thirdparty libraries">
<mkdir dir="${thirdparty.dir}"/>
+ <get src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common.jar" dest="${thirdparty.dir}/jbossws-common.jar" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common-src.zip" dest="${thirdparty.dir}/jbossws-common-src.zip" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi.jar" dest="${thirdparty.dir}/jbossws-spi.jar" usetimestamp="true" verbose="true"/>
+ <get src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi-src.zip" dest="${thirdparty.dir}/jbossws-spi-src.zip" usetimestamp="true" verbose="true"/>
+
<get src="${jboss.repository}/dom4j/${dom4j}/lib/dom4j.jar" dest="${thirdparty.dir}/dom4j.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/common-core/${jboss-common-core}/lib/jboss-common-core.jar" dest="${thirdparty.dir}/jboss-common-core.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/common-core/${jboss-common-core}/lib/jboss-common-core-sources.jar" dest="${thirdparty.dir}/jboss-common-core-sources.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/common-logging-spi/${jboss-common-logging-spi}/lib/jboss-logging-spi.jar" dest="${thirdparty.dir}/jboss-logging-spi.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jboss-javaee/${jboss-javaee}/lib/jboss-javaee.jar" dest="${thirdparty.dir}/jboss-javaee.jar" usetimestamp="true" verbose="true"/>
- <get src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common.jar" dest="${thirdparty.dir}/jbossws-common.jar" usetimestamp="true" verbose="true"/>
- <get src="${jboss.repository}/jboss/jbossws-spi/${jbossws-spi}/lib/jbossws-spi.jar" dest="${thirdparty.dir}/jbossws-spi.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossxb/${jboss-jbossxb}/lib/jboss-xml-binding.jar" dest="${thirdparty.dir}/jboss-xml-binding.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/jboss/jbossxb/${jboss-jbossxb}/lib/jboss-xml-binding-sources.jar" dest="${thirdparty.dir}/jboss-xml-binding-sources.jar" usetimestamp="true" verbose="true"/>
<get src="${jboss.repository}/sun-jaxrpc/${sun-jaxrpc}/lib/jaxrpc-api.jar" dest="${thirdparty.dir}/jaxrpc-api.jar" usetimestamp="true" verbose="true"/>
Copied: framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandler.java (from rev 4274, framework/branches/framework-2.0/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandler.java)
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandler.java (rev 0)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandler.java 2007-08-09 11:05:03 UTC (rev 4284)
@@ -0,0 +1,98 @@
+/*
+ * 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.wsf.framework.deployment;
+
+//$Id$
+
+import org.jboss.logging.Logger;
+import org.jboss.wsf.spi.deployment.Endpoint.EndpointState;
+import org.jboss.wsf.spi.deployment.LifecycleHandler;
+import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.invocation.InvocationHandler;
+
+/**
+ * A basic lifecycle handler
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 31-Oct-2006
+ */
+public class DefaultLifecycleHandler implements LifecycleHandler
+{
+ // provide logging
+ protected final Logger log = Logger.getLogger(getClass());
+
+ public void create(Endpoint ep)
+ {
+ log.debug("Create: " + ep.getName());
+
+ InvocationHandler invHandler = ep.getInvocationHandler();
+ if (invHandler == null)
+ throw new IllegalStateException("Invocation handler not available");
+
+ invHandler.init(ep);
+
+ ep.setState(EndpointState.CREATED);
+ }
+
+ public void start(Endpoint ep)
+ {
+ log.debug("Start: " + ep.getName());
+
+ EndpointState state = ep.getState();
+ if (state == EndpointState.UNDEFINED || state == EndpointState.DESTROYED)
+ {
+ log.error("Cannot start endpoint in state: " + state);
+ }
+ else
+ {
+ if (ep.getEndpointMetrics() != null)
+ ep.getEndpointMetrics().start();
+
+ ep.setState(EndpointState.STARTED);
+ }
+ }
+
+ public void stop(Endpoint ep)
+ {
+ log.debug("Stop: " + ep.getName());
+
+ EndpointState state = ep.getState();
+ if (state != EndpointState.STARTED)
+ {
+ log.error("Cannot stop endpoint in state: " + state);
+ }
+ else
+ {
+ if (ep.getEndpointMetrics() != null)
+ ep.getEndpointMetrics().stop();
+
+ ep.setState(EndpointState.STOPPED);
+ }
+ }
+
+ public void destroy(Endpoint ep)
+ {
+ log.debug("Destroy: " + ep.getName());
+
+ ep.setState(EndpointState.DESTROYED);
+ }
+}
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandlerFactory.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandlerFactory.java 2007-08-09 10:04:14 UTC (rev 4283)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultLifecycleHandlerFactory.java 2007-08-09 11:05:03 UTC (rev 4284)
@@ -32,6 +32,6 @@
{
public LifecycleHandler newLifecylceHandler()
{
- return new LifecycleHandlerImpl();
+ return new DefaultLifecycleHandler();
}
}
Deleted: framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerImpl.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerImpl.java 2007-08-09 10:04:14 UTC (rev 4283)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/LifecycleHandlerImpl.java 2007-08-09 11:05:03 UTC (rev 4284)
@@ -1,90 +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.wsf.framework.deployment;
-
-//$Id$
-
-import org.jboss.logging.Logger;
-import org.jboss.wsf.spi.deployment.Endpoint.EndpointState;
-import org.jboss.wsf.spi.deployment.LifecycleHandler;
-import org.jboss.wsf.spi.deployment.Endpoint;
-import org.jboss.wsf.spi.invocation.InvocationHandler;
-
-/**
- * A basic lifecycle handler
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 31-Oct-2006
- */
-public class LifecycleHandlerImpl implements LifecycleHandler
-{
- // provide logging
- protected final Logger log = Logger.getLogger(getClass());
-
- public void create(Endpoint ep)
- {
- log.debug("Create: " + ep.getName());
-
- InvocationHandler invHandler = ep.getInvocationHandler();
- if (invHandler == null)
- throw new IllegalStateException("Invocation handler not available");
-
- invHandler.init(ep);
-
- ep.setState(EndpointState.CREATED);
- }
-
- public void start(Endpoint ep)
- {
- log.debug("Start: " + ep.getName());
-
- EndpointState state = ep.getState();
- if (state == EndpointState.UNDEFINED || state == EndpointState.DESTROYED)
- throw new IllegalStateException("Cannot start endpoint in state: " + state);
-
- if (ep.getEndpointMetrics() != null)
- ep.getEndpointMetrics().start();
-
- ep.setState(EndpointState.STARTED);
- }
-
- public void stop(Endpoint ep)
- {
- log.debug("Stop: " + ep.getName());
-
- EndpointState state = ep.getState();
- if (state != EndpointState.STARTED)
- throw new IllegalStateException("Cannot stop endpoint in state: " + state);
-
- if (ep.getEndpointMetrics() != null)
- ep.getEndpointMetrics().stop();
-
- ep.setState(EndpointState.STOPPED);
- }
-
- public void destroy(Endpoint ep)
- {
- log.debug("Destroy: " + ep.getName());
-
- ep.setState(EndpointState.DESTROYED);
- }
-}
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2007-08-09 10:04:14 UTC (rev 4283)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2007-08-09 11:05:03 UTC (rev 4284)
@@ -40,6 +40,8 @@
import org.jboss.wsf.spi.management.EndpointMetrics;
import org.jboss.wsf.spi.management.EndpointRegistry;
import org.jboss.wsf.spi.management.EndpointRegistryFactory;
+import org.jboss.wsf.spi.management.ServerConfig;
+import org.jboss.wsf.spi.management.ServerConfigFactory;
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.spi.SPIProviderResolver;
@@ -171,10 +173,11 @@
private void setupHTMLResponseHeader(PrintWriter writer)
{
- Package wsPackage = Package.getPackage("org.jboss.ws");
+ SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
+ ServerConfig serverConfig = spiProvider.getSPI(ServerConfigFactory.class).getServerConfig();
writer.println("<head>");
writer.println("<meta http-equiv='Content-Type content='text/html; charset=iso-8859-1'>");
- writer.println("<title>JBossWS / " + wsPackage.getImplementationVersion() + "</title>");
+ writer.println("<title>JBossWS / " + serverConfig.getImplementationVersion() + "</title>");
writer.println("<link rel='stylesheet' href='./styles.css'>");
writer.println("</head>");
}
Modified: framework/trunk/src/test/ant-import/build-testsuite.xml
===================================================================
--- framework/trunk/src/test/ant-import/build-testsuite.xml 2007-08-09 10:04:14 UTC (rev 4283)
+++ framework/trunk/src/test/ant-import/build-testsuite.xml 2007-08-09 11:05:03 UTC (rev 4284)
@@ -83,9 +83,10 @@
<echo/>
<echo message="-----------------------------------------------"/>
- <echo message="jboss.home = ${jboss.home}"/>
- <echo message="jboss.bind = ${jboss.bind.address}"/>
- <echo message="java.home = ${java.home}"/>
+ <echo message="jboss.home = ${jboss.home}"/>
+ <echo message="excludesfile = ${excludesfile}"/>
+ <echo message="java.home = ${java.home}"/>
+ <echo message="jboss.bind = ${jboss.bind.address}"/>
<echo message="-----------------------------------------------"/>
<tstamp>
@@ -268,7 +269,6 @@
<attribute name="srcdir"/>
<sequential>
<mkdir dir="${tests.output.dir}/classes"/>
- <echo message="excludesfile = @{excludesfile}"/>
<javac destdir="${tests.output.dir}/classes" debug="${javac.debug}" encoding="utf-8" verbose="${javac.verbose}" deprecation="${javac.deprecation}"
failonerror="${javac.fail.onerror}" excludesfile="@{excludesfile}">
<src path="@{srcdir}"/>
17 years, 4 months
JBossWS SVN: r4283 - stack/native/branches/native-2.0/ant-import-tests.
by jbossws-commits@lists.jboss.org
Author: richard_opalka
Date: 2007-08-09 06:04:14 -0400 (Thu, 09 Aug 2007)
New Revision: 4283
Modified:
stack/native/branches/native-2.0/ant-import-tests/build-jars-jaxws.xml
Log:
adding new test war creation
Modified: stack/native/branches/native-2.0/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/native-2.0/ant-import-tests/build-jars-jaxws.xml 2007-08-09 10:02:28 UTC (rev 4282)
+++ stack/native/branches/native-2.0/ant-import-tests/build-jars-jaxws.xml 2007-08-09 10:04:14 UTC (rev 4283)
@@ -341,7 +341,15 @@
<webinf dir="${tests.output.dir}/resources/jaxws/jbws1702/WEB-INF"/>
</war>
- <!-- jaxws namespace -->
+ <!-- jaxws-jbws1733 -->
+ <war warfile="${tests.output.dir}/libs/jaxws-jbws1733.war" webxml="${tests.output.dir}/resources/jaxws/jbws1733/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1733/JBWS1733.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws1733/JBWS1733Impl.class"/>
+ </classes>
+ </war>
+
+ <!-- jaxws namespace -->
<war warfile="${tests.output.dir}/libs/jaxws-namespace.war" webxml="${tests.output.dir}/resources/jaxws/namespace/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/namespace/EndpointBean.class"/>
17 years, 4 months
JBossWS SVN: r4282 - in stack/native/branches/native-2.0: src/test/java/org/jboss/test/ws/jaxws/jbws1702 and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2007-08-09 06:02:28 -0400 (Thu, 09 Aug 2007)
New Revision: 4282
Added:
stack/native/branches/native-2.0/native-2.0.iml
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSRpcSEI.java
Modified:
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java
Log:
Fix JBWS-1702: JAXWS type inheritance
Added: stack/native/branches/native-2.0/native-2.0.iml
===================================================================
--- stack/native/branches/native-2.0/native-2.0.iml (rev 0)
+++ stack/native/branches/native-2.0/native-2.0.iml 2007-08-09 10:02:28 UTC (rev 4282)
@@ -0,0 +1,733 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/resources/tools" isTestSource="false" packagePrefix="org.jboss.test.ws" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/resources/tools/sourcecomp/actual" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/resources/tools/sourcecomp/diffmethodorder" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/resources/tools/sourcecomp/expected" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/resources/tools/sourcecomp/missingimport" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/resources/tools/sourcecomp/missingmethod" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/resources/tools/sourcecomp/missingparam" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wsconsume/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wsconsume/java/org/jboss/test/ws/jaxws/complex" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wsconsume/java/org/jboss/test/ws/jaxws/holder" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wsconsume/java/org/jboss/test/ws/jaxws/samples/wssecurity" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wsconsume/java/org/jboss/test/ws/jaxws/samples/wssecurityAnnotatedpolicy" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wsconsume/java/org/jboss/test/ws/jaxws/samples/wssecuritypolicy" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wstools/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wstools/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wstools/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/output/tests/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test-framework/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources/tools" isTestSource="false" packagePrefix="org.jboss.test.ws" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources/tools/sourcecomp/actual" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources/tools/sourcecomp/diffmethodorder" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources/tools/sourcecomp/expected" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources/tools/sourcecomp/missingimport" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources/tools/sourcecomp/missingmethod" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources/tools/sourcecomp/missingparam" isTestSource="false" packagePrefix="org.jboss.test.ws.tools.sei" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-j2ee.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/commons-logging.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-xml-binding-sources.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-vfs.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-common-core-sources.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xml-apis.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-common-core.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/junit.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/resolver.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossxb-1.0.0-20070620.100638-1.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-vfs-sources.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-deployers.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/servlet-api.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss42-resources.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxws-rt.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-spi-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/getopt.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/stax-api.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/stax-ex.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/concurrent.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/activation.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss40-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-remoting.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbosssx-client.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-common-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxws-tools.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxb-impl.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/qdox.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/policy.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-framework-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-logging-log4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-xml-binding.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossxb-2.0.0-20070620.094346-1.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss42.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-dependency.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/log4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-microcontainer.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-remoting-src.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/commons-collections.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/wsdl4j-src.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/dom4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/wstx.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/serializer.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/wsdl4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss50-deployer.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xmlsec.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xmlunit.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-logging-spi.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/hibernate3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxb-xjc.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-framework.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbosssx.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbosssx-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/ant.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xercesImpl.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-microcontainer-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-spi.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/ejb3.deployer.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss50.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-dependency-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss40.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss40-resources.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss50-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-framework-scripts.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxb-api.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-common.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-deployers-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xalan.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/mail.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-container.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxen.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/javassist.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss42-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/streambuffer.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/ejb3.deployer/jboss-annotations-ejb3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/ejb3.deployer/jboss-ejb3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/ejb3.deployer/jboss-ejb3x.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntryProperties />
+ </component>
+</module>
+
Modified: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java 2007-08-09 09:59:33 UTC (rev 4281)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java 2007-08-09 10:02:28 UTC (rev 4282)
@@ -49,6 +49,17 @@
return new JBossWSTestSetup(JBWS1702TestCase.class, "jaxws-jbws1702.war");
}
+ public void testInheritanceRpc() throws Exception
+ {
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1702/SampleWSWithRPC_Bare?wsdl");
+ QName serviceName = new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithRPC_BareService");
+ Service service = Service.create(wsdlURL, serviceName);
+
+ SampleWSRpcSEI port = service.getPort(SampleWSRpcSEI.class);
+ ClassB b = port.getClassCAsClassB();
+ assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
+ }
+
public void testInheritanceBare() throws Exception
{
URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1702/SampleWSWithDocument_Bare?wsdl");
Added: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSRpcSEI.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSRpcSEI.java (rev 0)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSRpcSEI.java 2007-08-09 10:02:28 UTC (rev 4282)
@@ -0,0 +1,47 @@
+/*
+ * 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.jbws1702;
+
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassB;
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * @version $Revision$
+ */
+@WebService()
+@SOAPBinding(
+ style = SOAPBinding.Style.RPC,
+ use = SOAPBinding.Use.LITERAL,
+ parameterStyle = SOAPBinding.ParameterStyle.BARE
+)
+
+public interface SampleWSRpcSEI
+{
+ ClassB getClassCAsClassB();
+
+ ClassC getClassC();
+}
Property changes on: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSRpcSEI.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java 2007-08-09 09:59:33 UTC (rev 4281)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java 2007-08-09 10:02:28 UTC (rev 4282)
@@ -49,8 +49,7 @@
/**
* In .NET Client (C#) only the content information of ClassB is being submitted. (--> propC is unknown)
- */
- //@WebMethod()
+ */
public ResponseWrapperB getClassCAsClassB() {
ClassC classC= new ClassC();
classC.setPropA("propA");
@@ -64,8 +63,7 @@
/**
* Method that make ClassC available for all clients using this web service.
- */
- //@WebMethod()
+ */
public ResponseWrapperC getClassC() {
ClassC data = (ClassC) getClassCAsClassB().getData();
ResponseWrapperC resp = new ResponseWrapperC();
Modified: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java 2007-08-09 09:59:33 UTC (rev 4281)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java 2007-08-09 10:02:28 UTC (rev 4282)
@@ -51,7 +51,6 @@
/**
* In .NET Client (C#) only the content information of ClassB is being submitted. (--> propC is unknown)
*/
- @WebMethod()
public ClassB getClassCAsClassB() {
ClassC classC= new ClassC();
classC.setPropA("propA");
@@ -64,8 +63,7 @@
* Method that make ClassC available for all clients using this web service.
* !! Is there another possibility to make inherited classes available? In J2EE4 styled endpoints you could
* declare additional Classes in a seperate xml descriptor file. !!
- */
- @WebMethod()
+ */
public ClassC getClassC() {
return new ClassC();
}
Modified: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java 2007-08-09 09:59:33 UTC (rev 4281)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java 2007-08-09 10:02:28 UTC (rev 4282)
@@ -38,8 +38,12 @@
*/
@WebService()
-@SOAPBinding( style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE )
-public class SampleWSWithRPC_Bare
+@SOAPBinding(
+ style = SOAPBinding.Style.RPC,
+ use = SOAPBinding.Use.LITERAL,
+ parameterStyle = SOAPBinding.ParameterStyle.BARE
+)
+public class SampleWSWithRPC_Bare implements SampleWSRpcSEI
{
/**
@@ -52,7 +56,6 @@
* In .NET Client (C#) the follow error occurs:
* "The specified type was not recognized: name='classC', namespace='', at <return xmlns=''>."
*/
- @WebMethod()
public ClassB getClassCAsClassB() {
ClassC classC= new ClassC();
classC.setPropA("propA");
@@ -65,8 +68,7 @@
* Method that make ClassC available for all clients using this web service.
* !! Is there another possibility to make inherited classes available? In J2EE4 styled endpoints you could
* declare additional Classes in a seperate xml descriptor file. !!
- */
- @WebMethod()
+ */
public ClassC getClassC() {
return new ClassC();
}
Modified: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java 2007-08-09 09:59:33 UTC (rev 4281)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java 2007-08-09 10:02:28 UTC (rev 4282)
@@ -34,9 +34,8 @@
@WebService
public interface SampleWSWrappedSEI
{
- @WebMethod()
+
ClassB getClassCAsClassB();
- @WebMethod()
ClassC getClassC();
}
17 years, 4 months
JBossWS SVN: r4281 - in stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws: jbws1733 and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard_opalka
Date: 2007-08-09 05:59:33 -0400 (Thu, 09 Aug 2007)
New Revision: 4281
Added:
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733.java
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733Impl.java
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java
Log:
adding new test
Added: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733.java (rev 0)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733.java 2007-08-09 09:59:33 UTC (rev 4281)
@@ -0,0 +1,30 @@
+/*
+ * 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.jbws1733;
+
+import javax.jws.WebService;
+
+@WebService
+public interface JBWS1733
+{
+ int getCounter();
+}
Property changes on: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733Impl.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733Impl.java (rev 0)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733Impl.java 2007-08-09 09:59:33 UTC (rev 4281)
@@ -0,0 +1,56 @@
+/*
+ * 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.jbws1733;
+
+import javax.jws.WebService;
+import javax.annotation.Resource;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.handler.MessageContext;
+import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpServletRequest;
+
+@WebService(name="JBWS1733", serviceName="JBWS1733Service", endpointInterface="org.jboss.test.ws.jaxws.jbws1733.JBWS1733")
+public class JBWS1733Impl implements JBWS1733
+{
+
+ @Resource
+ private WebServiceContext wsContext;
+
+ public int getCounter()
+ {
+ MessageContext mc = wsContext.getMessageContext();
+ HttpSession session = ((HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
+ // Get a session property "counter" from context
+ if (session == null)
+ throw new WebServiceException("No session in WebServiceContext");
+ Integer counter = (Integer)session.getAttribute("counter");
+ if (counter == null) {
+ counter = new Integer(0);
+ System.out.println("Starting the Session");
+ }
+ counter = new Integer(counter.intValue() + 1);
+ session.setAttribute("counter", counter);
+ return counter;
+ }
+
+}
Property changes on: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733Impl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java
===================================================================
--- stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java (rev 0)
+++ stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java 2007-08-09 09:59:33 UTC (rev 4281)
@@ -0,0 +1,75 @@
+/*
+ * 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.jbws1733;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.BindingProvider;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-1733] JBoss WebService client not sending JSESSIONID cookie after 2 calls
+ *
+ * @author ropalka(a)redhat.com
+ * @since 09-Aug-2007
+ */
+public class JBWS1733TestCase extends JBossWSTest
+{
+ private String targetNS = "http://jbws1733.jaxws.ws.test.jboss.org/";
+ private JBWS1733 proxy;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS1733TestCase.class, "jaxws-jbws1733.war");
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ QName serviceName = new QName(targetNS, "JBWS1733Service");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1733/JBWS1733Service?wsdl");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ proxy = (JBWS1733)service.getPort(JBWS1733.class);
+ }
+
+ public void testIssue() throws Exception {
+ ((BindingProvider)proxy)
+ .getRequestContext()
+ .put(BindingProvider.SESSION_MAINTAIN_PROPERTY,true);
+ int result = proxy.getCounter();
+ System.out.println(result);
+ result = proxy.getCounter();
+ System.out.println(result);
+ result = proxy.getCounter();
+ System.out.println(result);
+ }
+
+}
Property changes on: stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/jbws1733/JBWS1733TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
17 years, 4 months
JBossWS SVN: r4280 - in stack/native/branches/native-2.0/src/test/resources/jaxws: jbws1733 and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard_opalka
Date: 2007-08-09 05:58:12 -0400 (Thu, 09 Aug 2007)
New Revision: 4280
Added:
stack/native/branches/native-2.0/src/test/resources/jaxws/jbws1733/
stack/native/branches/native-2.0/src/test/resources/jaxws/jbws1733/WEB-INF/
stack/native/branches/native-2.0/src/test/resources/jaxws/jbws1733/WEB-INF/web.xml
Log:
adding new test descriptor
Added: stack/native/branches/native-2.0/src/test/resources/jaxws/jbws1733/WEB-INF/web.xml
===================================================================
--- stack/native/branches/native-2.0/src/test/resources/jaxws/jbws1733/WEB-INF/web.xml (rev 0)
+++ stack/native/branches/native-2.0/src/test/resources/jaxws/jbws1733/WEB-INF/web.xml 2007-08-09 09:58:12 UTC (rev 4280)
@@ -0,0 +1,18 @@
+<?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>JBWS1733Service</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws1733.JBWS1733Impl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JBWS1733Service</servlet-name>
+ <url-pattern>/JBWS1733Service</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Property changes on: stack/native/branches/native-2.0/src/test/resources/jaxws/jbws1733/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
17 years, 4 months
JBossWS SVN: r4279 - framework/branches/framework-2.0/hudson/hudson-home.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-08-09 05:57:24 -0400 (Thu, 09 Aug 2007)
New Revision: 4279
Modified:
framework/branches/framework-2.0/hudson/hudson-home/hudson.tasks.Mailer.xml
Log:
adminAddress=jbossws-hudson(a)jboss.com
Modified: framework/branches/framework-2.0/hudson/hudson-home/hudson.tasks.Mailer.xml
===================================================================
--- framework/branches/framework-2.0/hudson/hudson-home/hudson.tasks.Mailer.xml 2007-08-09 09:13:34 UTC (rev 4278)
+++ framework/branches/framework-2.0/hudson/hudson-home/hudson.tasks.Mailer.xml 2007-08-09 09:57:24 UTC (rev 4279)
@@ -2,6 +2,6 @@
<hudson.tasks.Mailer-DescriptorImpl>
<defaultSuffix></defaultSuffix>
<hudsonUrl>http://@hudson.host@:@hudson.http.port@/hudson/</hudsonUrl>
- <adminAddress>thomas.diesler(a)jboss.com</adminAddress>
+ <adminAddress>jbossws-hudson(a)jboss.com</adminAddress>
<smtpHost>@hudson.smtp.host@</smtpHost>
</hudson.tasks.Mailer-DescriptorImpl>
17 years, 4 months
JBossWS SVN: r4278 - in container: jboss42/trunk/src/main/java/org/jboss/wsf/container/jboss42 and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-08-09 05:13:34 -0400 (Thu, 09 Aug 2007)
New Revision: 4278
Modified:
container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/ArchiveDeployerHook.java
container/jboss42/trunk/src/main/java/org/jboss/wsf/container/jboss42/ArchiveDeployerHook.java
container/jboss50/trunk/src/main/java/org/jboss/wsf/container/jboss50/ArchiveDeployerHook.java
Log:
Dont remove Deployment in undeploy, Phase1 must find it
Modified: container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/ArchiveDeployerHook.java
===================================================================
--- container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/ArchiveDeployerHook.java 2007-08-09 08:42:45 UTC (rev 4277)
+++ container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/ArchiveDeployerHook.java 2007-08-09 09:13:34 UTC (rev 4278)
@@ -109,7 +109,6 @@
{
log.debug("undeploy: " + unit.shortName);
getDeploymentAspectManager().undeploy(dep);
- unit.context.remove(Deployment.class);
}
}
Modified: container/jboss42/trunk/src/main/java/org/jboss/wsf/container/jboss42/ArchiveDeployerHook.java
===================================================================
--- container/jboss42/trunk/src/main/java/org/jboss/wsf/container/jboss42/ArchiveDeployerHook.java 2007-08-09 08:42:45 UTC (rev 4277)
+++ container/jboss42/trunk/src/main/java/org/jboss/wsf/container/jboss42/ArchiveDeployerHook.java 2007-08-09 09:13:34 UTC (rev 4278)
@@ -109,7 +109,6 @@
{
log.debug("undeploy: " + unit.shortName);
getDeploymentAspectManager().undeploy(dep);
- unit.context.remove(Deployment.class);
}
}
Modified: container/jboss50/trunk/src/main/java/org/jboss/wsf/container/jboss50/ArchiveDeployerHook.java
===================================================================
--- container/jboss50/trunk/src/main/java/org/jboss/wsf/container/jboss50/ArchiveDeployerHook.java 2007-08-09 08:42:45 UTC (rev 4277)
+++ container/jboss50/trunk/src/main/java/org/jboss/wsf/container/jboss50/ArchiveDeployerHook.java 2007-08-09 09:13:34 UTC (rev 4278)
@@ -106,7 +106,6 @@
{
log.debug("undeploy: " + unit.getName());
getDeploymentAspectManager().undeploy(dep);
- unit.removeAttachment(Deployment.class);
}
}
17 years, 4 months