JBossWS SVN: r9618 - stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-03-18 11:01:53 -0400 (Wed, 18 Mar 2009)
New Revision: 9618
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/LogicalHandler.java
Log:
[JBWS-2524] refactoring
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/LogicalHandler.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/LogicalHandler.java 2009-03-18 14:57:27 UTC (rev 9617)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/LogicalHandler.java 2009-03-18 15:01:53 UTC (rev 9618)
@@ -31,7 +31,7 @@
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
import org.jboss.wsf.common.DOMWriter;
-import org.jboss.wsf.test.GenericLogicalHandler;
+import org.jboss.wsf.common.handler.GenericLogicalHandler;
/**
* Logical handler implementation.
17 years, 1 month
JBossWS SVN: r9617 - common/trunk/src/main/java/org/jboss/wsf/test.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-03-18 10:57:27 -0400 (Wed, 18 Mar 2009)
New Revision: 9617
Removed:
common/trunk/src/main/java/org/jboss/wsf/test/GenericHandler.java
common/trunk/src/main/java/org/jboss/wsf/test/GenericLogicalHandler.java
common/trunk/src/main/java/org/jboss/wsf/test/GenericSOAPHandler.java
Log:
[JBWS-2524] refactoring
Deleted: common/trunk/src/main/java/org/jboss/wsf/test/GenericHandler.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/GenericHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
+++ common/trunk/src/main/java/org/jboss/wsf/test/GenericHandler.java 2009-03-18 14:57:27 UTC (rev 9617)
@@ -1,79 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file 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.test;
-
-import javax.xml.ws.handler.Handler;
-import javax.xml.ws.handler.MessageContext;
-
-/**
- * A generic jaxws handler
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 13-Aug-2006
- */
-public abstract class GenericHandler implements Handler
-{
- private String handlerName;
-
- public String getHandlerName()
- {
- return handlerName;
- }
-
- public void setHandlerName(String handlerName)
- {
- this.handlerName = handlerName;
- }
-
- public boolean handleMessage(MessageContext msgContext)
- {
- Boolean outbound = (Boolean)msgContext.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
- if (outbound == null)
- throw new IllegalStateException("Cannot obtain required property: " + MessageContext.MESSAGE_OUTBOUND_PROPERTY);
-
- return outbound ? handleOutbound(msgContext) : handleInbound(msgContext);
- }
-
- protected boolean handleOutbound(MessageContext msgContext)
- {
- return true;
- }
-
- protected boolean handleInbound(MessageContext msgContext)
- {
- return true;
- }
-
- public boolean handleFault(MessageContext messagecontext)
- {
- return true;
- }
-
- public void close(MessageContext messageContext)
- {
- }
-
- public String toString()
- {
- return (handlerName != null ? handlerName : super.toString());
- }
-}
Deleted: common/trunk/src/main/java/org/jboss/wsf/test/GenericLogicalHandler.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/GenericLogicalHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
+++ common/trunk/src/main/java/org/jboss/wsf/test/GenericLogicalHandler.java 2009-03-18 14:57:27 UTC (rev 9617)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file 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.test;
-
-import javax.xml.ws.handler.LogicalMessageContext;
-import javax.xml.ws.handler.LogicalHandler;
-
-/**
- * A generic jaxws logical handler
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 13-Aug-2006
- */
-public class GenericLogicalHandler<C extends LogicalMessageContext> extends GenericHandler implements LogicalHandler
-{
-}
Deleted: common/trunk/src/main/java/org/jboss/wsf/test/GenericSOAPHandler.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/GenericSOAPHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
+++ common/trunk/src/main/java/org/jboss/wsf/test/GenericSOAPHandler.java 2009-03-18 14:57:27 UTC (rev 9617)
@@ -1,54 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file 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.test;
-
-import javax.xml.ws.handler.LogicalMessageContext;
-import javax.xml.ws.handler.soap.SOAPHandler;
-import javax.xml.namespace.QName;
-import java.util.Set;
-import java.util.HashSet;
-
-/**
- * A generic jaxws soap handler
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 13-Aug-2006
- */
-public abstract class GenericSOAPHandler<C extends LogicalMessageContext> extends GenericHandler implements SOAPHandler
-{
- // The header blocks that can be processed by this Handler instance
- private Set<QName> headers = new HashSet<QName>();
-
- /** Gets the header blocks that can be processed by this Handler instance.
- */
- public Set<QName> getHeaders()
- {
- return headers;
- }
-
- /** Sets the header blocks that can be processed by this Handler instance.
- */
- public void setHeaders(Set<QName> headers)
- {
- this.headers = headers;
- }
-}
17 years, 1 month
JBossWS SVN: r9616 - in framework/trunk: testsuite/test/java/org/jboss/test/ws/jaxws/samples/advanced/retail/handler and 6 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-03-18 10:57:09 -0400 (Wed, 18 Mar 2009)
New Revision: 9616
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/invocation/RecordingServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/advanced/retail/handler/SOAPMessageTrace.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/exception/server/ServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/AuthorizationHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ClientMimeHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/LogHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/RoutingHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ServerMimeHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/httpbinding/LogicalSourceHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalJAXBHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalSourceHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/PortHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/ProtocolHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/provider/LogicalSourceHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/MTOMProtocolHandler.java
Log:
[JBWS-2524] refactoring
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/invocation/RecordingServerHandler.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/invocation/RecordingServerHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/invocation/RecordingServerHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -44,7 +44,7 @@
import org.jboss.wsf.spi.management.recording.RecordGroupAssociation;
import org.jboss.wsf.spi.management.recording.RecordProcessor;
import org.jboss.wsf.spi.management.recording.Record.MessageType;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* This handler is responsible for collecting the information about the
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/advanced/retail/handler/SOAPMessageTrace.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/advanced/retail/handler/SOAPMessageTrace.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/advanced/retail/handler/SOAPMessageTrace.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -24,7 +24,7 @@
import javax.xml.ws.handler.MessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
public class SOAPMessageTrace extends GenericSOAPHandler
{
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/exception/server/ServerHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/exception/server/ServerHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/exception/server/ServerHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -32,7 +32,7 @@
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.soap.SOAPMessageContext;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A simple server side handler applying uppercase function to the error message strings.
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/AuthorizationHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/AuthorizationHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/AuthorizationHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -35,7 +35,7 @@
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A server side handler
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ClientMimeHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ClientMimeHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ClientMimeHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -29,7 +29,7 @@
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A client side handler
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/LogHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/LogHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/LogHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -35,7 +35,7 @@
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A server side handler
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/RoutingHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/RoutingHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/RoutingHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -35,7 +35,7 @@
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A server side handler
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ServerMimeHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ServerMimeHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/ServerMimeHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -27,7 +27,7 @@
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A server side handler
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/httpbinding/LogicalSourceHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/httpbinding/LogicalSourceHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/httpbinding/LogicalSourceHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -33,7 +33,7 @@
import javax.xml.ws.handler.MessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericLogicalHandler;
+import org.jboss.wsf.common.handler.GenericLogicalHandler;
import org.jboss.wsf.common.DOMUtils;
import org.w3c.dom.Element;
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalJAXBHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalJAXBHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalJAXBHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -27,7 +27,7 @@
import javax.xml.ws.handler.LogicalMessageContext;
import javax.xml.ws.handler.MessageContext;
-import org.jboss.wsf.test.GenericLogicalHandler;
+import org.jboss.wsf.common.handler.GenericLogicalHandler;
public class LogicalJAXBHandler extends GenericLogicalHandler
{
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalSourceHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalSourceHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalSourceHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -33,7 +33,7 @@
import javax.xml.ws.handler.MessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericLogicalHandler;
+import org.jboss.wsf.common.handler.GenericLogicalHandler;
import org.jboss.wsf.common.DOMUtils;
import org.w3c.dom.Element;
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/PortHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/PortHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/PortHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -31,7 +31,7 @@
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A jaxws protocol handler
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/ProtocolHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/ProtocolHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/ProtocolHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -29,7 +29,7 @@
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
/**
* A jaxws protocol handler
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/provider/LogicalSourceHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/provider/LogicalSourceHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/provider/LogicalSourceHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -33,7 +33,7 @@
import javax.xml.ws.handler.MessageContext;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericLogicalHandler;
+import org.jboss.wsf.common.handler.GenericLogicalHandler;
import org.jboss.wsf.common.DOMUtils;
import org.w3c.dom.Element;
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/MTOMProtocolHandler.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/MTOMProtocolHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/MTOMProtocolHandler.java 2009-03-18 14:57:09 UTC (rev 9616)
@@ -22,7 +22,7 @@
package org.jboss.test.ws.jaxws.samples.xop.doclit;
import org.jboss.logging.Logger;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
17 years, 1 month
JBossWS SVN: r9615 - stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1871.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-03-18 10:56:26 -0400 (Wed, 18 Mar 2009)
New Revision: 9615
Modified:
stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1871/CausesAnExceptionHandler.java
Log:
[JBWS-2524] refactoring
Modified: stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1871/CausesAnExceptionHandler.java
===================================================================
--- stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1871/CausesAnExceptionHandler.java 2009-03-18 13:59:02 UTC (rev 9614)
+++ stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1871/CausesAnExceptionHandler.java 2009-03-18 14:56:26 UTC (rev 9615)
@@ -21,7 +21,7 @@
*/
package org.jboss.test.ws.jaxws.jbws1871;
-import org.jboss.wsf.test.GenericSOAPHandler;
+import org.jboss.wsf.common.handler.GenericSOAPHandler;
import javax.xml.ws.handler.MessageContext;
17 years, 1 month
JBossWS SVN: r9614 - framework/trunk/src/main/java/org/jboss/wsf/framework/management.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-03-18 09:59:02 -0400 (Wed, 18 Mar 2009)
New Revision: 9614
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/management/MBeanServerLocator.java
Log:
[JBWS-2580][JBWS-1800] fixing issue
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/management/MBeanServerLocator.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/management/MBeanServerLocator.java 2009-03-17 14:38:03 UTC (rev 9613)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/management/MBeanServerLocator.java 2009-03-18 13:59:02 UTC (rev 9614)
@@ -44,7 +44,10 @@
for (Iterator i = MBeanServerFactory.findMBeanServer(null).iterator(); i.hasNext();)
{
mbeanServer = (MBeanServer)i.next();
- break;
+ if (mbeanServer.getClass().getName().startsWith("org.jboss")) // JBWS-2580
+ {
+ break;
+ }
}
}
return mbeanServer;
17 years, 1 month
JBossWS SVN: r9613 - stack/native/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-03-17 10:38:03 -0400 (Tue, 17 Mar 2009)
New Revision: 9613
Modified:
stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt
Log:
[JBWS-1309] Test meant to run on AS 5 or greater only
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt 2009-03-17 14:37:03 UTC (rev 9612)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt 2009-03-17 14:38:03 UTC (rev 9613)
@@ -16,6 +16,7 @@
# [JBWS-2240] PortComponent from jboss.xml descriptor is not parsed
org/jboss/test/ws/jaxws/jbws2241/**
+org/jboss/test/ws/jaxws/jbws1309/**
# [JBWS-2258] Fix EnumTestCase (fixed in AS trunk)
org/jboss/test/ws/tools/enums/EnumTestCase.*
17 years, 1 month
JBossWS SVN: r9612 - in stack/native/trunk/modules/testsuite/native-tests: src/test/java/org/jboss/test/ws/jaxws and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-03-17 10:37:03 -0400 (Tue, 17 Mar 2009)
New Revision: 9612
Added:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/Dto.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/EndpointInterface.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloBean.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloRemoteInterface.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/JBWS1309TestCase.java
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-client.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-server.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/wsse.keystore
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/wsse.truststore
Modified:
stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
[JBWS-1309] Adding another testcase showing a ws-security endpoint set up with the jboss.xml descriptor only
Modified: stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2009-03-17 13:24:14 UTC (rev 9611)
+++ stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2009-03-17 14:37:03 UTC (rev 9612)
@@ -183,6 +183,28 @@
</webinf>
</war>
+ <!-- jaxws-jbws1309-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1309.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1309/*.class"/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws1309/*TestCase.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1309/META-INF">
+ <include name="jboss-wsse-server.xml"/>
+ <include name="jboss.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1309/">
+ <include name="wsse.truststore"/>
+ <include name="wsse.keystore"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws1309-client.jar">
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1309">
+ <include name="wsse.truststore"/>
+ <include name="wsse.keystore"/>
+ </metainf>
+ </jar>
+
<!-- jaxws-jbws1666 -->
<war destfile="${tests.output.dir}/test-libs/jaxws-jbws1666.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws1666/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/test-classes">
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/Dto.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/Dto.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/Dto.java 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws1309;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+
+(a)XmlAccessorType(XmlAccessType.FIELD)
+public class Dto
+{
+ @XmlElement(namespace="http://org.jboss.ws/jbws2182")
+ private String par1;
+ @XmlElement(namespace="http://org.jboss.ws/jbws2182")
+ private String par2;
+
+ public String getPar1()
+ {
+ return par1;
+ }
+ public void setPar1(String par1)
+ {
+ this.par1 = par1;
+ }
+ public String getPar2()
+ {
+ return par2;
+ }
+ public void setPar2(String par2)
+ {
+ this.par2 = par2;
+ }
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/Dto.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/EndpointInterface.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/EndpointInterface.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/EndpointInterface.java 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws1309;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "HelloBean")
+@SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
+public interface EndpointInterface
+{
+ @WebMethod
+ Dto echo(Dto dto);
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/EndpointInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloBean.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloBean.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloBean.java 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws1309;
+
+import javax.ejb.Remote;
+import javax.ejb.Stateless;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+
+@Stateless
+(a)Remote(HelloRemoteInterface.class)
+@WebService(name = "HelloBean", serviceName = "HelloService", targetNamespace = "http://org.jboss.ws/jbws1309")
+@SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
+public class HelloBean implements HelloRemoteInterface
+{
+ @WebMethod
+ public Dto echo(Dto dto)
+ {
+ return dto;
+ }
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloRemoteInterface.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloRemoteInterface.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloRemoteInterface.java 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws1309;
+
+public interface HelloRemoteInterface
+{
+ Dto echo(Dto dto);
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/HelloRemoteInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/JBWS1309TestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/JBWS1309TestCase.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/JBWS1309TestCase.java 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jbws1309;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.ws.core.StubExt;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * http://jira.jboss.org/jira/browse/JBWS-1309
+ *
+ * Testing WS-Security setting up the endpoint configuration
+ * without using JBoss-specific annotations -> i.e. using jboss.xml descriptor
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 17-Mar-2009
+ */
+public class JBWS1309TestCase extends JBossWSTest
+{
+ private String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-jbws1309";
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(JBWS1309TestCase.class, "jaxws-jbws1309-client.jar,jaxws-jbws1309.jar");
+ }
+
+ public void testAuth() throws Exception
+ {
+ EndpointInterface port = getPort();
+ Dto dto = new Dto();
+ dto.setPar1("first parameter");
+ dto.setPar2("second parameter");
+ try
+ {
+ Dto result = port.echo(dto);
+ assertEquals(dto.getPar1(), result.getPar1());
+ assertEquals(dto.getPar2(), result.getPar2());
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ fail(e.getMessage());
+ }
+ }
+
+ private EndpointInterface getPort() throws Exception
+ {
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new QName("http://org.jboss.ws/jbws1309", "HelloService");
+ EndpointInterface port = Service.create(wsdlURL, serviceName).getPort(EndpointInterface.class);
+ URL securityURL = getResourceURL("jaxws/jbws1309/META-INF/jboss-wsse-client.xml");
+ ((StubExt)port).setSecurityConfig(securityURL.toExternalForm());
+ ((StubExt)port).setConfigName("Standard WSSecurity Client");
+ return port;
+ }
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1309/JBWS1309TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-client.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-client.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-client.xml 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>META-INF/wsse.keystore</key-store-file>
+ <key-store-password>jbossws</key-store-password>
+ <trust-store-file>META-INF/wsse.truststore</trust-store-file>
+ <trust-store-password>jbossws</trust-store-password>
+ <config>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-server.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-server.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-server.xml 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>META-INF/wsse.keystore</key-store-file>
+ <key-store-password>jbossws</key-store-password>
+ <trust-store-file>META-INF/wsse.truststore</trust-store-file>
+ <trust-store-password>jbossws</trust-store-password>
+ <config>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss.xml 2009-03-17 14:37:03 UTC (rev 9612)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd">
+
+<jboss>
+ <webservices>
+ <context-root>/jaxws-jbws1309</context-root>
+ <webservice-description>
+ <webservice-description-name>jbws1309-ws-description</webservice-description-name>
+ <config-name>Standard WSSecurity Endpoint</config-name>
+ </webservice-description>
+ </webservices>
+ <enterprise-beans>
+ <session>
+ <ejb-name>HelloBean</ejb-name>
+ <jndi-name>ejb/HelloBean</jndi-name>
+ <port-component>
+ <port-component-name>TestPortComponent</port-component-name>
+ <port-component-uri>/*</port-component-uri>
+ </port-component>
+ </session>
+ </enterprise-beans>
+</jboss>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/wsse.keystore
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/wsse.keystore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/wsse.truststore
===================================================================
(Binary files differ)
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws1309/wsse.truststore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 1 month
JBossWS SVN: r9611 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-03-17 09:24:14 -0400 (Tue, 17 Mar 2009)
New Revision: 9611
Modified:
stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt
Log:
[CXF-1253][CXF-1507][CXF-2117] updating exclude files
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt 2009-03-17 13:20:49 UTC (rev 9610)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt 2009-03-17 13:24:14 UTC (rev 9611)
@@ -8,12 +8,6 @@
org/jboss/test/ws/jaxws/samples/provider/ProviderJAXBTestCase.*
org/jboss/test/ws/jaxws/samples/provider/ProviderPayloadTestCase.*
-# [CXF-1253] CXF does not respect @HandlerChain on client SEI
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
-org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.*
-org/jboss/test/ws/jaxws/handlerscope/**
-
# [CXF-1510] Cannot handle anonymous bare requests
org/jboss/test/ws/jaxws/anonymous/**
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt 2009-03-17 13:20:49 UTC (rev 9610)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt 2009-03-17 13:24:14 UTC (rev 9611)
@@ -5,12 +5,6 @@
org/jboss/test/ws/jaxws/samples/provider/ProviderJAXBTestCase.*
org/jboss/test/ws/jaxws/samples/provider/ProviderPayloadTestCase.*
-# [CXF-1253] CXF does not respect @HandlerChain on client SEI
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
-org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.*
-org/jboss/test/ws/jaxws/handlerscope/**
-
# [CXF-1510] Cannot handle anonymous bare requests
org/jboss/test/ws/jaxws/anonymous/**
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2009-03-17 13:20:49 UTC (rev 9610)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2009-03-17 13:24:14 UTC (rev 9611)
@@ -5,12 +5,6 @@
org/jboss/test/ws/jaxws/samples/provider/ProviderJAXBTestCase.*
org/jboss/test/ws/jaxws/samples/provider/ProviderPayloadTestCase.*
-# [CXF-1253] CXF does not respect @HandlerChain on client SEI
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
-org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.*
-org/jboss/test/ws/jaxws/handlerscope/**
-
# [CXF-1510] Cannot handle anonymous bare requests
org/jboss/test/ws/jaxws/anonymous/**
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt 2009-03-17 13:20:49 UTC (rev 9610)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss510.txt 2009-03-17 13:24:14 UTC (rev 9611)
@@ -5,12 +5,6 @@
org/jboss/test/ws/jaxws/samples/provider/ProviderJAXBTestCase.*
org/jboss/test/ws/jaxws/samples/provider/ProviderPayloadTestCase.*
-# [CXF-1253] CXF does not respect @HandlerChain on client SEI
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
-org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.*
-org/jboss/test/ws/jaxws/handlerscope/**
-
# [CXF-1510] Cannot handle anonymous bare requests
org/jboss/test/ws/jaxws/anonymous/**
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt 2009-03-17 13:20:49 UTC (rev 9610)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt 2009-03-17 13:24:14 UTC (rev 9611)
@@ -5,12 +5,6 @@
org/jboss/test/ws/jaxws/samples/provider/ProviderJAXBTestCase.*
org/jboss/test/ws/jaxws/samples/provider/ProviderPayloadTestCase.*
-# [CXF-1253] CXF does not respect @HandlerChain on client SEI
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
-org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.*
-org/jboss/test/ws/jaxws/handlerscope/**
-
# [CXF-1510] Cannot handle anonymous bare requests
org/jboss/test/ws/jaxws/anonymous/**
17 years, 1 month
JBossWS SVN: r9610 - in framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws: samples/handlerchain and 2 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-03-17 09:20:49 -0400 (Tue, 17 Mar 2009)
New Revision: 9610
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java
Log:
[CXF-1253][CXF-1507][CXF-2117] updating FIXMEs
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java 2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java 2009-03-17 13:20:49 UTC (rev 9610)
@@ -53,36 +53,47 @@
String retStr = port.echo("hello");
- StringBuffer expStr = new StringBuffer("hello");
- expStr.append(":SOAP12ClientHandler");
- expStr.append(":SOAPClientHandler");
- expStr.append(":ServiceClientHandler");
- expStr.append(":ServiceWildcardClientHandler");
- expStr.append(":PortClientHandler");
- expStr.append(":PortWildcardClientHandler");
- expStr.append(":GeneralClientHandler");
- expStr.append(":GeneralServerHandler");
- expStr.append(":PortWildcardServerHandler");
- expStr.append(":PortServerHandler");
- expStr.append(":ServiceWildcardServerHandler");
- expStr.append(":ServiceServerHandler");
- expStr.append(":SOAPServerHandler");
- expStr.append(":SOAP12ServerHandler");
- expStr.append(":endpoint");
- expStr.append(":SOAP12ServerHandler");
- expStr.append(":SOAPServerHandler");
- expStr.append(":ServiceServerHandler");
- expStr.append(":ServiceWildcardServerHandler");
- expStr.append(":PortServerHandler");
- expStr.append(":PortWildcardServerHandler");
- expStr.append(":GeneralServerHandler");
- expStr.append(":GeneralClientHandler");
- expStr.append(":PortWildcardClientHandler");
- expStr.append(":PortClientHandler");
- expStr.append(":ServiceWildcardClientHandler");
- expStr.append(":ServiceClientHandler");
- expStr.append(":SOAPClientHandler");
- expStr.append(":SOAP12ClientHandler");
- assertEquals(expStr.toString(), retStr);
+ if (isIntegrationMetro())
+ {
+ System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+ }
+ else if (isIntegrationCXF())
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
+ else
+ {
+ StringBuffer expStr = new StringBuffer("hello");
+ expStr.append(":SOAP12ClientHandler");
+ expStr.append(":SOAPClientHandler");
+ expStr.append(":ServiceClientHandler");
+ expStr.append(":ServiceWildcardClientHandler");
+ expStr.append(":PortClientHandler");
+ expStr.append(":PortWildcardClientHandler");
+ expStr.append(":GeneralClientHandler");
+ expStr.append(":GeneralServerHandler");
+ expStr.append(":PortWildcardServerHandler");
+ expStr.append(":PortServerHandler");
+ expStr.append(":ServiceWildcardServerHandler");
+ expStr.append(":ServiceServerHandler");
+ expStr.append(":SOAPServerHandler");
+ expStr.append(":SOAP12ServerHandler");
+ expStr.append(":endpoint");
+ expStr.append(":SOAP12ServerHandler");
+ expStr.append(":SOAPServerHandler");
+ expStr.append(":ServiceServerHandler");
+ expStr.append(":ServiceWildcardServerHandler");
+ expStr.append(":PortServerHandler");
+ expStr.append(":PortWildcardServerHandler");
+ expStr.append(":GeneralServerHandler");
+ expStr.append(":GeneralClientHandler");
+ expStr.append(":PortWildcardClientHandler");
+ expStr.append(":PortClientHandler");
+ expStr.append(":ServiceWildcardClientHandler");
+ expStr.append(":ServiceClientHandler");
+ expStr.append(":SOAPClientHandler");
+ expStr.append(":SOAP12ClientHandler");
+ assertEquals(expStr.toString(), retStr);
+ }
}
}
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java 2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java 2009-03-17 13:20:49 UTC (rev 9610)
@@ -74,6 +74,11 @@
System.out.println("FIXME: [JBWS-1671] Metro client handler cannot set mime header");
return;
}
+ if (isIntegrationCXF())
+ {
+ System.out.println("FIXME: [CXF-1507] CXF client handler cannot set mime header");
+ return;
+ }
assertEquals("server-cookie=true", ClientMimeHandler.inboundCookie);
}
@@ -90,6 +95,10 @@
{
System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
}
+ else if (isIntegrationCXF())
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
else
{
String resStr = port.echo("Kermit");
@@ -101,6 +110,11 @@
System.out.println("FIXME: [JBWS-1671] Metro client handler cannot set mime header");
return;
}
+ if (isIntegrationCXF())
+ {
+ System.out.println("FIXME: [CXF-1507] CXF client handler cannot set mime header");
+ return;
+ }
assertEquals("server-cookie=true", ClientMimeHandler.inboundCookie);
}
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java 2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java 2009-03-17 13:20:49 UTC (rev 9610)
@@ -58,12 +58,23 @@
String retStr = port.echo("hello");
StringBuffer expStr = new StringBuffer("hello");
- if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+ if (isIntegrationNative())
{
expStr.append(":Outbound:LogicalJAXBHandler");
expStr.append(":Outbound:ProtocolHandler");
expStr.append(":Outbound:PortHandler");
}
+ else
+ {
+ if (isIntegrationMetro())
+ {
+ System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
+ }
expStr.append(":Inbound:PortHandler");
expStr.append(":Inbound:ProtocolHandler");
expStr.append(":Inbound:LogicalJAXBHandler");
@@ -71,12 +82,23 @@
expStr.append(":Outbound:LogicalJAXBHandler");
expStr.append(":Outbound:ProtocolHandler");
expStr.append(":Outbound:PortHandler");
- if (!isIntegrationMetro()) //FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI
+ if (isIntegrationNative())
{
expStr.append(":Inbound:PortHandler");
expStr.append(":Inbound:ProtocolHandler");
expStr.append(":Inbound:LogicalJAXBHandler");
}
+ else
+ {
+ if (isIntegrationMetro())
+ {
+ System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
+ }
assertEquals(expStr.toString(), retStr);
}
}
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java 2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java 2009-03-17 13:20:49 UTC (rev 9610)
@@ -54,25 +54,61 @@
String retStr = port.echo("hello");
StringBuffer expStr = new StringBuffer("hello");
- if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+ if (isIntegrationNative())
{
expStr.append(":Outbound:LogicalSourceHandler");
expStr.append(":Outbound:ProtocolHandler");
expStr.append(":Outbound:PortHandler");
}
- expStr.append(":Inbound:PortHandler");
+ else
+ {
+ if (isIntegrationMetro())
+ {
+ System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
+ }
+ if (!isIntegrationCXF())
+ {
+ expStr.append(":Inbound:PortHandler");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+ }
expStr.append(":Inbound:ProtocolHandler");
expStr.append(":Inbound:LogicalSourceHandler");
expStr.append(":endpoint");
expStr.append(":Outbound:LogicalSourceHandler");
expStr.append(":Outbound:ProtocolHandler");
- expStr.append(":Outbound:PortHandler");
- if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+ if (!isIntegrationCXF())
{
+ expStr.append(":Outbound:PortHandler");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+ }
+ if (isIntegrationNative())
+ {
expStr.append(":Inbound:PortHandler");
expStr.append(":Inbound:ProtocolHandler");
expStr.append(":Inbound:LogicalSourceHandler");
}
+ else
+ {
+ if (isIntegrationMetro())
+ {
+ System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
+ }
assertEquals(expStr.toString(), retStr);
}
@@ -87,25 +123,61 @@
String retStr = port.echo("hello");
StringBuffer expStr = new StringBuffer("hello");
- if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+ if (isIntegrationNative())
{
expStr.append(":Outbound:LogicalSourceHandler");
expStr.append(":Outbound:ProtocolHandler");
expStr.append(":Outbound:PortHandler");
}
- expStr.append(":Inbound:PortHandler");
+ else
+ {
+ if (isIntegrationMetro())
+ {
+ System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
+ }
+ if (!isIntegrationCXF())
+ {
+ expStr.append(":Inbound:PortHandler");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+ }
expStr.append(":Inbound:ProtocolHandler");
expStr.append(":Inbound:LogicalSourceHandler");
expStr.append(":endpoint");
expStr.append(":Outbound:LogicalSourceHandler");
expStr.append(":Outbound:ProtocolHandler");
- expStr.append(":Outbound:PortHandler");
- if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+ if (!isIntegrationCXF())
{
+ expStr.append(":Outbound:PortHandler");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+ }
+ if (isIntegrationNative())
+ {
expStr.append(":Inbound:PortHandler");
expStr.append(":Inbound:ProtocolHandler");
expStr.append(":Inbound:LogicalSourceHandler");
}
+ else
+ {
+ if (isIntegrationMetro())
+ {
+ System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+ }
+ else
+ {
+ System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+ }
+ }
assertEquals(expStr.toString(), retStr);
}
}
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java 2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java 2009-03-17 13:20:49 UTC (rev 9610)
@@ -113,7 +113,7 @@
String contents;
if (isIntegrationCXF())
{
- System.out.println("FIXME [JBWS-2507] Support generics in wrapper classes");
+ System.out.println("FIXME: [JBWS-2507] Support generics in wrapper classes");
}
else
{
@@ -174,11 +174,11 @@
}
else if (isIntegrationMetro())
{
- System.out.println("FIXME [JBWS-2479] @XmlJavaTypeAdapter on SEI causes exception");
+ System.out.println("FIXME: [JBWS-2479] @XmlJavaTypeAdapter on SEI causes exception");
}
else if (isIntegrationCXF())
{
- System.out.println("FIXME [JBWS-2506] Cannot find symbol javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter$DEFAULT");
+ System.out.println("FIXME: [JBWS-2506] Cannot find symbol javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter$DEFAULT");
}
}
@@ -271,12 +271,12 @@
if(isIntegrationMetro())
{
- System.out.println("FIXME [JBWS-1777] WSProvide output is not correctly redirected");
+ System.out.println("FIXME: [JBWS-1777] WSProvide output is not correctly redirected");
return;
}
else if(isIntegrationCXF())
{
- System.out.println("FIXME [JBWS-2508] Tools output is not correctly redirected");
+ System.out.println("FIXME: [JBWS-2508] Tools output is not correctly redirected");
return;
}
17 years, 1 month
JBossWS SVN: r9609 - in framework/trunk/testsuite/test: resources/jaxws/jbws2241/META-INF and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-03-17 07:40:11 -0400 (Tue, 17 Mar 2009)
New Revision: 9609
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java
framework/trunk/testsuite/test/resources/jaxws/jbws2241/META-INF/jboss.xml
Log:
[JBWS-1309] Modifying JBWS-2241 testcase to show setup for auth-method in jboss.xml
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java 2009-03-17 08:04:51 UTC (rev 9608)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/JBWS2241TestCase.java 2009-03-17 11:40:11 UTC (rev 9609)
@@ -25,6 +25,7 @@
import java.net.URL;
import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
import javax.xml.ws.Service;
import junit.framework.Test;
@@ -55,6 +56,8 @@
QName serviceName = new QName("http://jbws2241.jaxws.ws.test.jboss.org/", "EJB3BeanService");
Service service = Service.create(wsdlURL, serviceName);
port = service.getPort(EndpointInterface.class);
+ ((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "kermit");
+ ((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "thefrog");
}
}
Modified: framework/trunk/testsuite/test/resources/jaxws/jbws2241/META-INF/jboss.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2241/META-INF/jboss.xml 2009-03-17 08:04:51 UTC (rev 9608)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2241/META-INF/jboss.xml 2009-03-17 11:40:11 UTC (rev 9609)
@@ -3,6 +3,7 @@
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd">
<jboss>
+ <security-domain>java:/jaas/JBossWS</security-domain>
<webservices>
<context-root>/contextRoot</context-root>
</webservices>
@@ -13,6 +14,9 @@
<port-component>
<port-component-name>TestPortComponent</port-component-name>
<port-component-uri>/urlPattern/test</port-component-uri>
+ <auth-method>BASIC</auth-method>
+ <transport-guarantee>NONE</transport-guarantee>
+ <secure-wsdl-access>false</secure-wsdl-access>
</port-component>
</session>
</enterprise-beans>
17 years, 1 month