[jboss-svn-commits] JBL Code SVN: r26545 - in labs/jbosstm/workspace/interop/WSTFSC02-interop: src/com/jboss/transaction/wstf/webservices/sc003/client and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri May 15 04:45:45 EDT 2009
Author: adinn
Date: 2009-05-15 04:45:45 -0400 (Fri, 15 May 2009)
New Revision: 26545
Modified:
labs/jbosstm/workspace/interop/WSTFSC02-interop/build.xml
labs/jbosstm/workspace/interop/WSTFSC02-interop/src/com/jboss/transaction/wstf/webservices/sc003/client/Sc003Client.java
labs/jbosstm/workspace/interop/WSTFSC02-interop/web/index.jsp
Log:
switched to using addressing feature rather than hand cranking WS Addressing handler
Modified: labs/jbosstm/workspace/interop/WSTFSC02-interop/build.xml
===================================================================
--- labs/jbosstm/workspace/interop/WSTFSC02-interop/build.xml 2009-05-15 08:24:42 UTC (rev 26544)
+++ labs/jbosstm/workspace/interop/WSTFSC02-interop/build.xml 2009-05-15 08:45:45 UTC (rev 26545)
@@ -1,4 +1,24 @@
<?xml version="1.0"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ See the copyright.txt in the distribution for a full listing
+ of individual contributors.
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the GNU Lesser General Public License, v. 2.1.
+ This program is distributed in the hope that it will be useful, but WITHOUT A
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License,
+ v. 2.1 along with this distribution; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ (C) 2008,
+ @author JBoss Inc.
+-->
<project name="project" default="war">
<description>
JBoss Transactions WS-Addressing interop test
Modified: labs/jbosstm/workspace/interop/WSTFSC02-interop/src/com/jboss/transaction/wstf/webservices/sc003/client/Sc003Client.java
===================================================================
--- labs/jbosstm/workspace/interop/WSTFSC02-interop/src/com/jboss/transaction/wstf/webservices/sc003/client/Sc003Client.java 2009-05-15 08:24:42 UTC (rev 26544)
+++ labs/jbosstm/workspace/interop/WSTFSC02-interop/src/com/jboss/transaction/wstf/webservices/sc003/client/Sc003Client.java 2009-05-15 08:45:45 UTC (rev 26545)
@@ -2,7 +2,6 @@
import org.wstf.docs.scenarios.sc003.Sc003Service;
import org.wstf.docs.scenarios.sc003.Sc003Port;
-import org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler;
import javax.xml.ws.addressing.*;
import javax.xml.ws.BindingProvider;
@@ -71,12 +70,9 @@
{
// TODO - we need the 2.1 verison of Service so we can specify that we want to use the WS Addressing feature
Sc003Service service = getSc003Service();
- Sc003Port port = service.getPort(Sc003Constants.SC003_SOAP11_PORT_QNAME, Sc003Port.class, new AddressingFeature());
+ Sc003Port port = service.getPort(Sc003Constants.SC003_SOAP11_PORT_QNAME, Sc003Port.class, new AddressingFeature(true, true));
BindingProvider bindingProvider = (BindingProvider)port;
List<Handler> customHandlerChain = new ArrayList<Handler>();
- // we need to add the WSAddressingClientHandler because the WSAddressing feature is
- // not correctly installed with the current JBossWS
- customHandlerChain.add(new WSAddressingClientHandler());
customHandlerChain.add(new Sc003ClientHandler());
bindingProvider.getBinding().setHandlerChain(customHandlerChain);
Modified: labs/jbosstm/workspace/interop/WSTFSC02-interop/web/index.jsp
===================================================================
--- labs/jbosstm/workspace/interop/WSTFSC02-interop/web/index.jsp 2009-05-15 08:24:42 UTC (rev 26544)
+++ labs/jbosstm/workspace/interop/WSTFSC02-interop/web/index.jsp 2009-05-15 08:45:45 UTC (rev 26545)
@@ -13,7 +13,7 @@
</head>
<body>
<h1>JBoss WSTF Scenario 2 and 3 Test Endpoints List</h1>
-<p>This web application implements several of the interoperability tests specified by the <a href="http://www.wstf.org/">Web Services Test Forum</a> Group.</p>
+<p>This <a href="http://anonsvn.labs.jboss.com/labs/jbosstm/workspace/interop/WSTFSC02-interop/">web application</a> implements several of the interoperability tests specified by the <a href="http://www.wstf.org/">Web Services Test Forum</a> Group.</p>
<p>Please send any queries to the <a href="mailto:adinn at redhat.com?subject=WSTF%20interop%20query">Red Hat Test Forum contact</a></p>
<ul>
<li>Basic WS Service <a href="sc002/index.jsp">Sc002</a>
More information about the jboss-svn-commits
mailing list