JBossWS SVN: r9258 - stack/native/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-09 03:17:14 -0500 (Mon, 09 Feb 2009)
New Revision: 9258
Modified:
stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt
stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt
stack/native/trunk/modules/testsuite/test-excludes-jboss424.txt
Log:
[JBWS-2307] excluding on AS42
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt 2009-02-07 12:12:19 UTC (rev 9257)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt 2009-02-09 08:17:14 UTC (rev 9258)
@@ -11,6 +11,9 @@
# UsernameTokenHTTPSTestCase requires keystore & trustore in jboss-web tomcat configuration
org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.*
+# [JBWS-981] @WebContext defined virtual hosts only being fixed for JBoss 5
+org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.*
+
# [JBWS-1762] web.xml modified to web.xml.org - Subsequent runs fail
org/jboss/test/ws/jaxws/jbws1762/**
@@ -30,11 +33,11 @@
# [JBWS-2240] PortComponent from jboss.xml descriptor is not parsed
org/jboss/test/ws/jaxws/jbws2241/**
-# [JBWS-981] @WebContext defined virtual hosts only being fixed for JBoss 5
-org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.*
-
# [JBWS-2258] Fix EnumTestCase (fixed in AS trunk)
org/jboss/test/ws/tools/enums/EnumTestCase.*
+# [JBWS-2307] Stub properties not propagated through service-ref (fixed in AS 5.x and above)
+org/jboss/test/ws/jaxws/jbws2307/JBWS2307TestCase.*
+
# [JBWS-2491] Enable JAXWS 2.1 WebServiceContext methods
org/jboss/test/ws/jaxws/jbws2257/**
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt 2009-02-07 12:12:19 UTC (rev 9257)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss423.txt 2009-02-09 08:17:14 UTC (rev 9258)
@@ -11,14 +11,18 @@
# UsernameTokenHTTPSTestCase requires keystore & trustore in jboss-web tomcat configuration
org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.*
+# [JBWS-981] @WebContext defined virtual hosts only being fixed for JBoss 5
+org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.*
+
# [JBWS-2240] PortComponent from jboss.xml descriptor is not parsed
org/jboss/test/ws/jaxws/jbws2241/**
-# [JBWS-981] @WebContext defined virtual hosts only being fixed for JBoss 5
-org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.*
-
# [JBWS-2258] Fix EnumTestCase (fixed in AS trunk)
org/jboss/test/ws/tools/enums/EnumTestCase.*
+# [JBWS-2307] Stub properties not propagated through service-ref (fixed in AS 5.x and above)
+org/jboss/test/ws/jaxws/jbws2307/JBWS2307TestCase.*
+
# [JBWS-2491] Enable JAXWS 2.1 WebServiceContext methods
org/jboss/test/ws/jaxws/jbws2257/**
+
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss424.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss424.txt 2009-02-07 12:12:19 UTC (rev 9257)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss424.txt 2009-02-09 08:17:14 UTC (rev 9258)
@@ -11,14 +11,19 @@
# UsernameTokenHTTPSTestCase requires keystore & trustore in jboss-web tomcat configuration
org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.*
-# [JBWS-2240] PortComponent from jboss.xml descriptor is not parsed
-org/jboss/test/ws/jaxws/jbws2241/**
-
# [JBWS-981] @WebContext defined virtual hosts only being fixed for JBoss 5
org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.*
# [JBWS-2258] Fix EnumTestCase (fixed in AS trunk)
org/jboss/test/ws/tools/enums/EnumTestCase.*
+# [JBWS-2240] PortComponent from jboss.xml descriptor is not parsed
+org/jboss/test/ws/jaxws/jbws2241/**
+
+# [JBWS-2307] Stub properties not propagated through service-ref (fixed in AS 5.x and above)
+org/jboss/test/ws/jaxws/jbws2307/JBWS2307TestCase.*
+
# [JBWS-2491] Enable JAXWS 2.1 WebServiceContext methods
org/jboss/test/ws/jaxws/jbws2257/**
+
+
15 years, 10 months
JBossWS SVN: r9257 - in framework/trunk/testsuite/test: java/org/jboss/test/ws/jaxws and 7 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-07 07:12:19 -0500 (Sat, 07 Feb 2009)
New Revision: 9257
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/ClientServlet.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/Hello.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloImpl.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloService.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/JBWS2307TestCase.java
framework/trunk/testsuite/test/resources/jaxws/jbws2307/
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/jboss-web.xml
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/web.xml
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/wsdl/
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/wsdl/HelloService.wsdl
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/jboss-web.xml
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/web.xml
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/wsdl/
framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/wsdl/HelloService.wsdl
Modified:
framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
Log:
[JBWS-2307] refactoring test to framework
Modified: framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2009-02-07 12:11:14 UTC (rev 9256)
+++ framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2009-02-07 12:12:19 UTC (rev 9257)
@@ -605,6 +605,30 @@
</webinf>
</war>
+ <!-- jbws2307 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2307-client.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-client/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2307/ClientServlet.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws2307/Hello.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws2307/HelloService.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-client">
+ <include name="wsdl/**"/>
+ <include name="*.xml"/>
+ </webinf>
+ </war>
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2307-service.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-service/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2307/Hello.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws2307/HelloImpl.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws2307/HelloService.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-service">
+ <include name="wsdl/**"/>
+ <include name="*.xml"/>
+ </webinf>
+ </war>
+
<!-- jaxws-jbws2412 -->
<war warfile="${tests.output.dir}/test-libs/jaxws-jbws2412.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2412/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/test-classes">
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/ClientServlet.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/ClientServlet.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/ClientServlet.java 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,64 @@
+/*
+ * 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.jbws2307;
+
+import java.io.IOException;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.xml.ws.WebServiceRef;
+
+import org.jboss.logging.Logger;
+
+/**
+ * Client servlet using the injected service
+ *
+ * @author alessio.soldano(a)jboss.com
+ */
+public class ClientServlet extends HttpServlet
+{
+ private Logger log = Logger.getLogger(ClientServlet.class);
+
+ @WebServiceRef(name="service/jbws2307service")
+ HelloService service;
+
+ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
+ {
+ boolean result = false;
+ try
+ {
+ log.info("service = "+service);
+ Hello hello = service.getHelloPort();
+ result = hello.getMessageContextTest();
+ log.info("result = " + result);
+ }
+ catch (Exception e)
+ {
+ log.error("Error while invoking service!", e);
+ throw new ServletException(e);
+ }
+ resp.getWriter().print(result);
+ }
+
+}
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/Hello.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/Hello.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/Hello.java 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,53 @@
+/*
+ * 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.jbws2307;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name="Hello", targetNamespace="http://helloservice.org/wsdl")
+(a)SOAPBinding(style=SOAPBinding.Style.RPC)
+public abstract interface Hello
+{
+ @WebMethod
+ @WebResult(name="result", partName="result")
+ public abstract String hello(@WebParam(name="String_1", partName="String_1") String paramString);
+
+ @WebMethod
+ @WebResult(name="result", partName="result")
+ public abstract boolean getMessageContextTest();
+
+ @WebMethod
+ @WebResult(name="result", partName="result")
+ public abstract boolean getServletContextTest();
+
+ @WebMethod
+ @WebResult(name="result", partName="result")
+ public abstract boolean getUserPrincipalTest();
+
+ @WebMethod
+ @WebResult(name="result", partName="result")
+ public abstract boolean isUserInRoleTest(@WebParam(name="String_1", partName="String_1") String paramString);
+}
\ No newline at end of file
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloImpl.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloImpl.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloImpl.java 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,80 @@
+/*
+ * 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.jbws2307;
+
+import java.security.Principal;
+import javax.annotation.Resource;
+import javax.jws.WebService;
+import javax.servlet.ServletContext;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.handler.MessageContext;
+
+@WebService(portName = "HelloPort", serviceName = "HelloService", targetNamespace = "http://helloservice.org/wsdl", wsdlLocation = "WEB-INF/wsdl/HelloService.wsdl", endpointInterface = "org.jboss.test.ws.jaxws.jbws2307.Hello")
+public class HelloImpl implements Hello
+{
+
+ @Resource
+ protected WebServiceContext wsContext;
+
+ public String hello(String s)
+ {
+ return "Hello, " + s + "!";
+ }
+
+ public boolean getServletContextTest()
+ {
+ if (this.wsContext == null)
+ return false;
+
+ ServletContext v = (ServletContext)this.wsContext.getMessageContext().get("javax.xml.ws.servlet.context");
+ System.out.println("ServletContext=" + v);
+ return true;
+ }
+
+ public boolean getMessageContextTest()
+ {
+ if (this.wsContext == null)
+ return false;
+
+ MessageContext v = this.wsContext.getMessageContext();
+ System.out.println("MessageContext=" + v);
+ return true;
+ }
+
+ public boolean getUserPrincipalTest()
+ {
+ if (this.wsContext == null)
+ return false;
+
+ Principal v = this.wsContext.getUserPrincipal();
+ System.out.println("UserPrincipal=" + v);
+ return true;
+ }
+
+ public boolean isUserInRoleTest(String s)
+ {
+ if (this.wsContext == null)
+ return false;
+
+ return this.wsContext.isUserInRole(s);
+ }
+}
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloService.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloService.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/HelloService.java 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,65 @@
+/*
+ * 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.jbws2307;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+
+@WebServiceClient(name = "HelloService", targetNamespace = "http://helloservice.org/wsdl", wsdlLocation = "WEB-INF/wsdl/HelloService.wsdl")
+public class HelloService extends Service
+{
+ private static final URL HELLOSERVICE_WSDL_LOCATION;
+
+ public HelloService(URL wsdlLocation, QName serviceName)
+ {
+ super(wsdlLocation, serviceName);
+ }
+
+ public HelloService()
+ {
+ super(HELLOSERVICE_WSDL_LOCATION, new QName("http://helloservice.org/wsdl", "HelloService"));
+ }
+
+ @WebEndpoint(name = "HelloPort")
+ public Hello getHelloPort()
+ {
+ return ((Hello)super.getPort(new QName("http://helloservice.org/wsdl", "HelloPort"), Hello.class));
+ }
+
+ static
+ {
+ URL url = null;
+ try
+ {
+ url = new URL("http://files1/releng/cts_5.x/cts-5.0c-temp/bin/WEB-INF/wsdl/HelloService....");
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ HELLOSERVICE_WSDL_LOCATION = url;
+ }
+}
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/JBWS2307TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/JBWS2307TestCase.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2307/JBWS2307TestCase.java 2009-02-07 12:12:19 UTC (rev 9257)
@@ -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.jbws2307;
+
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
+import java.net.HttpURLConnection;
+import java.net.URL;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * JBWS-2307 testcase
+ *
+ * @author alessio.soldano(a)jboss.com
+ */
+public class JBWS2307TestCase extends JBossWSTest
+{
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS2307TestCase.class, "jaxws-jbws2307-client.war, jaxws-jbws2307-service.war");
+ }
+
+ public void testClient() throws Exception
+ {
+ HttpURLConnection con = (HttpURLConnection)new URL("http://" + getServerHost() + ":8080/jaxws-jbws2307-client/jbws2307").openConnection();
+ BufferedReader isr = new BufferedReader(new InputStreamReader(con.getInputStream()));
+ assertEquals("true", isr.readLine());
+ }
+}
Added: framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/jboss-web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/jboss-web.xml (rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/jboss-web.xml 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
+
+<jboss-web>
+ <security-domain>java:/jaas/JBossWS</security-domain>
+ <service-ref>
+ <service-ref-name>service/jbws2307service</service-ref-name>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxws.jbws2307.Hello</service-endpoint-interface>
+ <port-qname>{http://helloservice.org/wsdl}HelloPort</port-qname>
+ <stub-property>
+ <prop-name>javax.xml.ws.security.auth.password</prop-name>
+ <prop-value>thefrog</prop-value>
+ </stub-property>
+ <stub-property>
+ <prop-name>javax.xml.ws.security.auth.username</prop-name>
+ <prop-value>kermit</prop-value>
+ </stub-property>
+ </port-component-ref>
+ </service-ref>
+</jboss-web>
\ No newline at end of file
Added: framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/web.xml (rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/web.xml 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ <display-name>jbws2307_testcase_client</display-name>
+ <servlet>
+ <servlet-name>ClientServlet</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws2307.ClientServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ClientServlet</servlet-name>
+ <url-pattern>/jbws2307</url-pattern>
+ </servlet-mapping>
+ <session-config>
+ <session-timeout>54</session-timeout>
+ </session-config>
+ <service-ref>
+ <service-ref-name>service/jbws2307service</service-ref-name>
+ <service-interface>javax.xml.ws.Service</service-interface>
+ <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxws.jbws2307.Hello</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+</web-app>
\ No newline at end of file
Added: framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/wsdl/HelloService.wsdl
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/wsdl/HelloService.wsdl (rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-client/wsdl/HelloService.wsdl 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<definitions name="HelloService" targetNamespace="http://helloservice.org/wsdl" xmlns:tns="http://helloservice.org/wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <types/>
+ <message name="Hello_hello">
+ <part name="String_1" type="xsd:string"/></message>
+ <message name="Hello_helloResponse">
+ <part name="result" type="xsd:string"/></message>
+ <message name="getMessageContextTest"/>
+ <message name="getMessageContextTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <message name="getServletContextTest"/>
+ <message name="getServletContextTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <message name="getUserPrincipalTest"/>
+ <message name="getUserPrincipalTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <message name="isUserInRoleTest">
+ <part name="String_1" type="xsd:string"/></message>
+ <message name="isUserInRoleTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <portType name="Hello">
+ <operation name="hello" parameterOrder="String_1">
+ <input message="tns:Hello_hello"/>
+ <output message="tns:Hello_helloResponse"/></operation>
+ <operation name="getMessageContextTest" >
+ <input message="tns:getMessageContextTest"/>
+ <output message="tns:getMessageContextTestResponse"/></operation>
+ <operation name="getServletContextTest" >
+ <input message="tns:getServletContextTest"/>
+ <output message="tns:getServletContextTestResponse"/></operation>
+ <operation name="getUserPrincipalTest" >
+ <input message="tns:getUserPrincipalTest"/>
+ <output message="tns:getUserPrincipalTestResponse"/></operation>
+ <operation name="isUserInRoleTest" parameterOrder="String_1">
+ <input message="tns:isUserInRoleTest"/>
+ <output message="tns:isUserInRoleTestResponse"/></operation>
+ </portType>
+ <binding name="HelloBinding" type="tns:Hello">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <operation name="hello">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="getMessageContextTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="getServletContextTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="getUserPrincipalTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="isUserInRoleTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ </binding>
+ <service name="HelloService">
+ <port name="HelloPort" binding="tns:HelloBinding">
+ <soap:address location="http://localhost:8080/jaxws-jbws2307-service/jaxws/Hello"/></port></service></definitions>
\ No newline at end of file
Added: framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/jboss-web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/jboss-web.xml (rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/jboss-web.xml 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <security-domain>java:/jaas/JBossWS</security-domain>
+</jboss-web>
\ No newline at end of file
Added: framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/web.xml (rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/web.xml 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+ <display-name>jbws2307_testcase_service</display-name>
+ <servlet>
+ <servlet-name>HelloImpl</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws2307.HelloImpl</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ <security-role-ref>
+ <role-name>FRN</role-name>
+ <role-link>friend</role-link>
+ </security-role-ref>
+ <!-- <security-role-ref>
+ <role-name>ADM</role-name>
+ <role-link>Administrator</role-link>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>MGR</role-name>
+ <role-link>Manager</role-link>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>EMP</role-name>
+ <role-link>Employee</role-link>
+ </security-role-ref> -->
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>HelloImpl</servlet-name>
+ <url-pattern>/jaxws/Hello</url-pattern>
+ </servlet-mapping>
+ <session-config>
+ <session-timeout>54</session-timeout>
+ </session-config>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>WSHelloSecureService</web-resource-name>
+ <url-pattern>/jaxws/*</url-pattern>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <!-- <auth-constraint>
+ <role-name>Administrator</role-name>
+ </auth-constraint> -->
+ <auth-constraint>
+ <role-name>friend</role-name>
+ </auth-constraint>
+ <user-data-constraint>
+ <transport-guarantee>NONE</transport-guarantee>
+ </user-data-constraint>
+ </security-constraint>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>default</realm-name>
+ </login-config>
+ <!-- <security-role>
+ <role-name>Administrator</role-name>
+ </security-role>
+ <security-role>
+ <role-name>Manager</role-name>
+ </security-role>
+ <security-role>
+ <role-name>Employee</role-name>
+ </security-role>
+ <security-role>
+ <role-name>Guest</role-name>
+ </security-role> -->
+ <security-role>
+ <role-name>friend</role-name>
+ </security-role>
+</web-app>
\ No newline at end of file
Added: framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/wsdl/HelloService.wsdl
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/wsdl/HelloService.wsdl (rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws2307/WEB-INF-service/wsdl/HelloService.wsdl 2009-02-07 12:12:19 UTC (rev 9257)
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<definitions name="HelloService" targetNamespace="http://helloservice.org/wsdl" xmlns:tns="http://helloservice.org/wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <types/>
+ <message name="Hello_hello">
+ <part name="String_1" type="xsd:string"/></message>
+ <message name="Hello_helloResponse">
+ <part name="result" type="xsd:string"/></message>
+ <message name="getMessageContextTest"/>
+ <message name="getMessageContextTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <message name="getServletContextTest"/>
+ <message name="getServletContextTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <message name="getUserPrincipalTest"/>
+ <message name="getUserPrincipalTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <message name="isUserInRoleTest">
+ <part name="String_1" type="xsd:string"/></message>
+ <message name="isUserInRoleTestResponse">
+ <part name="result" type="xsd:boolean"/></message>
+ <portType name="Hello">
+ <operation name="hello" parameterOrder="String_1">
+ <input message="tns:Hello_hello"/>
+ <output message="tns:Hello_helloResponse"/></operation>
+ <operation name="getMessageContextTest" >
+ <input message="tns:getMessageContextTest"/>
+ <output message="tns:getMessageContextTestResponse"/></operation>
+ <operation name="getServletContextTest" >
+ <input message="tns:getServletContextTest"/>
+ <output message="tns:getServletContextTestResponse"/></operation>
+ <operation name="getUserPrincipalTest" >
+ <input message="tns:getUserPrincipalTest"/>
+ <output message="tns:getUserPrincipalTestResponse"/></operation>
+ <operation name="isUserInRoleTest" parameterOrder="String_1">
+ <input message="tns:isUserInRoleTest"/>
+ <output message="tns:isUserInRoleTestResponse"/></operation>
+ </portType>
+ <binding name="HelloBinding" type="tns:Hello">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <operation name="hello">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="getMessageContextTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="getServletContextTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="getUserPrincipalTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ <operation name="isUserInRoleTest">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></input>
+ <output>
+ <soap:body use="literal" namespace="http://helloservice.org/wsdl"/></output></operation>
+ </binding>
+ <service name="HelloService">
+ <port name="HelloPort" binding="tns:HelloBinding">
+ <soap:address location="http://localhost:8080/jaxws-jbws2307-service/jaxws/Hello"/></port></service></definitions>
\ No newline at end of file
15 years, 10 months
JBossWS SVN: r9256 - in stack/metro/trunk/modules/testsuite/metro-tests: src/test/java/org/jboss/test/ws/jaxws and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-07 07:11:14 -0500 (Sat, 07 Feb 2009)
New Revision: 9256
Removed:
stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2307/
stack/metro/trunk/modules/testsuite/metro-tests/src/test/resources/jaxws/jbws2307/
Modified:
stack/metro/trunk/modules/testsuite/metro-tests/scripts/metro-jars-jaxws.xml
Log:
[JBWS-2307] refactoring test to framework
Modified: stack/metro/trunk/modules/testsuite/metro-tests/scripts/metro-jars-jaxws.xml
===================================================================
--- stack/metro/trunk/modules/testsuite/metro-tests/scripts/metro-jars-jaxws.xml 2009-02-06 21:17:16 UTC (rev 9255)
+++ stack/metro/trunk/modules/testsuite/metro-tests/scripts/metro-jars-jaxws.xml 2009-02-07 12:11:14 UTC (rev 9256)
@@ -51,30 +51,6 @@
<metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2206/META-INF"/>
</jar>
- <!-- jbws2307 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2307-client.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-client/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2307/ClientServlet.class"/>
- <include name="org/jboss/test/ws/jaxws/jbws2307/Hello.class"/>
- <include name="org/jboss/test/ws/jaxws/jbws2307/HelloService.class"/>
- </classes>
- <webinf dir="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-client">
- <include name="wsdl/**"/>
- <include name="*.xml"/>
- </webinf>
- </war>
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2307-service.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-service/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2307/Hello.class"/>
- <include name="org/jboss/test/ws/jaxws/jbws2307/HelloImpl.class"/>
- <include name="org/jboss/test/ws/jaxws/jbws2307/HelloService.class"/>
- </classes>
- <webinf dir="${tests.output.dir}/test-resources/jaxws/jbws2307/WEB-INF-service">
- <include name="wsdl/**"/>
- <include name="*.xml"/>
- </webinf>
- </war>
-
<!-- jbws2308 -->
<jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2308.jar" >
<fileset dir="${tests.output.dir}/test-classes">
15 years, 10 months
JBossWS SVN: r9255 - stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-06 16:17:16 -0500 (Fri, 06 Feb 2009)
New Revision: 9255
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
Log:
[JBWS-2519] prevent NPE
Modified: stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
===================================================================
--- stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2009-02-06 20:42:11 UTC (rev 9254)
+++ stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2009-02-06 21:17:16 UTC (rev 9255)
@@ -212,10 +212,15 @@
public Object run() throws Exception
{
Field delegateField = findServiceDelegateField(service.getClass());
- delegateField.setAccessible(true);
- ServiceDelegate delegate = (ServiceDelegate)delegateField.get(service);
- delegateField.set(service, new ServiceRefStubPropertyServiceDelegate(delegate, serviceRef));
- return delegate;
+ if (delegateField != null)
+ {
+ delegateField.setAccessible(true);
+ ServiceDelegate delegate = (ServiceDelegate)delegateField.get(service);
+ delegateField.set(service, new ServiceRefStubPropertyServiceDelegate(delegate, serviceRef));
+ return delegate;
+ } else {
+ return null;
+ }
}
});
}
@@ -225,10 +230,15 @@
}
}
Field delegateField = findServiceDelegateField(service.getClass());
- delegateField.setAccessible(true);
- ServiceDelegate delegate = (ServiceDelegate)delegateField.get(service);
- delegateField.set(service, new ServiceRefStubPropertyServiceDelegate(delegate, serviceRef));
- return delegate;
+ if (delegateField != null)
+ {
+ delegateField.setAccessible(true);
+ ServiceDelegate delegate = (ServiceDelegate)delegateField.get(service);
+ delegateField.set(service, new ServiceRefStubPropertyServiceDelegate(delegate, serviceRef));
+ return delegate;
+ } else {
+ return null;
+ }
}
private Bus getBus(final Service service) throws Throwable
@@ -243,9 +253,13 @@
public Bus run() throws Exception
{
Field delegateField = findServiceDelegateField(service.getClass());
- delegateField.setAccessible(true);
- ServiceImpl serviceImpl = (ServiceImpl)delegateField.get(service);
- return serviceImpl.getBus();
+ if (delegateField != null)
+ {
+ delegateField.setAccessible(true);
+ ServiceImpl serviceImpl = (ServiceImpl)delegateField.get(service);
+ return serviceImpl.getBus();
+ }
+ throw new IllegalStateException("Bus not found");
}
});
}
@@ -255,9 +269,13 @@
}
}
Field delegateField = findServiceDelegateField(service.getClass());
- delegateField.setAccessible(true);
- ServiceImpl serviceImpl = (ServiceImpl)delegateField.get(service);
- return serviceImpl.getBus();
+ if (delegateField != null)
+ {
+ delegateField.setAccessible(true);
+ ServiceImpl serviceImpl = (ServiceImpl)delegateField.get(service);
+ return serviceImpl.getBus();
+ }
+ throw new IllegalStateException("Bus not found");
}
private static Field findServiceDelegateField(Class<?> clazz)
15 years, 10 months
JBossWS SVN: r9254 - stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-06 15:42:11 -0500 (Fri, 06 Feb 2009)
New Revision: 9254
Added:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefStubPropertyServiceDelegate.java
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
Log:
[JBWS-2519] implemented hack
Modified: stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
===================================================================
--- stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2009-02-06 13:48:14 UTC (rev 9253)
+++ stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2009-02-06 20:42:11 UTC (rev 9254)
@@ -187,7 +187,9 @@
Bus bus = getBus((Service)target);
((Service)target).setHandlerResolver(new HandlerResolverImpl(bus, serviceRef.getHandlerChain(), target.getClass()));
}
-
+
+ hackServiceDelegate(target, serviceRef);
+
return target;
}
catch (Throwable ex)
@@ -197,6 +199,38 @@
}
}
+ // TODO: ugly hack that should be removed in the future
+ private Object hackServiceDelegate(final Object service, final UnifiedServiceRefMetaData serviceRef) throws Throwable
+ {
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null)
+ {
+ try
+ {
+ return AccessController.doPrivileged(new PrivilegedExceptionAction<Object>()
+ {
+ public Object run() throws Exception
+ {
+ Field delegateField = findServiceDelegateField(service.getClass());
+ delegateField.setAccessible(true);
+ ServiceDelegate delegate = (ServiceDelegate)delegateField.get(service);
+ delegateField.set(service, new ServiceRefStubPropertyServiceDelegate(delegate, serviceRef));
+ return delegate;
+ }
+ });
+ }
+ catch (PrivilegedActionException e)
+ {
+ throw e.getCause();
+ }
+ }
+ Field delegateField = findServiceDelegateField(service.getClass());
+ delegateField.setAccessible(true);
+ ServiceDelegate delegate = (ServiceDelegate)delegateField.get(service);
+ delegateField.set(service, new ServiceRefStubPropertyServiceDelegate(delegate, serviceRef));
+ return delegate;
+ }
+
private Bus getBus(final Service service) throws Throwable
{
SecurityManager sm = System.getSecurityManager();
Added: stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefStubPropertyServiceDelegate.java
===================================================================
--- stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefStubPropertyServiceDelegate.java (rev 0)
+++ stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefStubPropertyServiceDelegate.java 2009-02-06 20:42:11 UTC (rev 9254)
@@ -0,0 +1,247 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, 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.stack.cxf.client;
+
+import java.net.URL;
+import java.util.Iterator;
+import java.util.concurrent.Executor;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Dispatch;
+import javax.xml.ws.EndpointReference;
+import javax.xml.ws.WebServiceFeature;
+import javax.xml.ws.Service.Mode;
+import javax.xml.ws.handler.HandlerResolver;
+import javax.xml.ws.spi.ServiceDelegate;
+
+import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedPortComponentRefMetaData;
+import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData;
+import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedStubPropertyMetaData;
+
+/**
+ * ServiceDelegate that propagates service ref stub properties
+ *
+ * @author richard.opalka(a)jboss.com
+ */
+public final class ServiceRefStubPropertyServiceDelegate extends ServiceDelegate
+{
+
+ private ServiceDelegate delegate;
+ private UnifiedServiceRefMetaData serviceRefMD;
+
+ ServiceRefStubPropertyServiceDelegate(ServiceDelegate delegate, UnifiedServiceRefMetaData serviceRefMD)
+ {
+ this.delegate = delegate;
+ this.serviceRefMD = serviceRefMD;
+ }
+
+ private <T> T propagateProps(T proxy, Class<T> serviceEndpointInterface)
+ {
+ for (UnifiedPortComponentRefMetaData pcRef : serviceRefMD.getPortComponentRefs())
+ {
+ String sei = pcRef.getServiceEndpointInterface();
+ if (sei != null && sei.equals(serviceEndpointInterface.getName()) && proxy instanceof BindingProvider)
+ {
+ BindingProvider bp = (BindingProvider)proxy;
+ for (UnifiedStubPropertyMetaData prop : pcRef.getStubProperties())
+ {
+ bp.getRequestContext().put(prop.getPropName(), prop.getPropValue());
+ }
+ }
+ }
+ return proxy;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#addPort(javax.xml.namespace.QName, java.lang.String, java.lang.String)
+ */
+ @Override
+ public void addPort(QName portName, String bindingId, String endpointAddress)
+ {
+ this.delegate.addPort(portName, bindingId, endpointAddress);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#createDispatch(javax.xml.ws.EndpointReference, java.lang.Class, javax.xml.ws.Service.Mode, javax.xml.ws.WebServiceFeature[])
+ */
+ @Override
+ public <T> Dispatch<T> createDispatch(EndpointReference endpointReference, Class<T> type, Mode mode, WebServiceFeature... features)
+ {
+ return this.delegate.createDispatch(endpointReference, type, mode, features);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#createDispatch(javax.xml.ws.EndpointReference, javax.xml.bind.JAXBContext, javax.xml.ws.Service.Mode, javax.xml.ws.WebServiceFeature[])
+ */
+ @Override
+ public Dispatch<Object> createDispatch(EndpointReference endpointReference, JAXBContext context, Mode mode, WebServiceFeature... features)
+ {
+ return this.delegate.createDispatch(endpointReference, context, mode, features);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#createDispatch(javax.xml.namespace.QName, java.lang.Class, javax.xml.ws.Service.Mode, javax.xml.ws.WebServiceFeature[])
+ */
+ @Override
+ public <T> Dispatch<T> createDispatch(QName portName, Class<T> type, Mode mode, WebServiceFeature... features)
+ {
+ return this.delegate.createDispatch(portName, type, mode, features);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#createDispatch(javax.xml.namespace.QName, java.lang.Class, javax.xml.ws.Service.Mode)
+ */
+ @Override
+ public <T> Dispatch<T> createDispatch(QName portName, Class<T> type, Mode mode)
+ {
+ return this.delegate.createDispatch(portName, type, mode);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#createDispatch(javax.xml.namespace.QName, javax.xml.bind.JAXBContext, javax.xml.ws.Service.Mode, javax.xml.ws.WebServiceFeature[])
+ */
+ @Override
+ public Dispatch<Object> createDispatch(QName portName, JAXBContext context, Mode mode, WebServiceFeature... features)
+ {
+ return this.delegate.createDispatch(portName, context, mode, features);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#createDispatch(javax.xml.namespace.QName, javax.xml.bind.JAXBContext, javax.xml.ws.Service.Mode)
+ */
+ @Override
+ public Dispatch<Object> createDispatch(QName portName, JAXBContext context, Mode mode)
+ {
+ return this.delegate.createDispatch(portName, context, mode);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getExecutor()
+ */
+ @Override
+ public Executor getExecutor()
+ {
+ return this.delegate.getExecutor();
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getHandlerResolver()
+ */
+ @Override
+ public HandlerResolver getHandlerResolver()
+ {
+ return this.delegate.getHandlerResolver();
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getPort(java.lang.Class, javax.xml.ws.WebServiceFeature[])
+ */
+ @Override
+ public <T> T getPort(Class<T> serviceEndpointInterface, WebServiceFeature... features)
+ {
+ return this.propagateProps(this.delegate.getPort(serviceEndpointInterface, features), serviceEndpointInterface);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getPort(java.lang.Class)
+ */
+ @Override
+ public <T> T getPort(Class<T> serviceEndpointInterface)
+ {
+ return this.propagateProps(this.delegate.getPort(serviceEndpointInterface), serviceEndpointInterface);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getPort(javax.xml.ws.EndpointReference, java.lang.Class, javax.xml.ws.WebServiceFeature[])
+ */
+ @Override
+ public <T> T getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)
+ {
+ return this.propagateProps(this.delegate.getPort(endpointReference, serviceEndpointInterface, features), serviceEndpointInterface);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getPort(javax.xml.namespace.QName, java.lang.Class, javax.xml.ws.WebServiceFeature[])
+ */
+ @Override
+ public <T> T getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)
+ {
+ return this.propagateProps(this.delegate.getPort(portName, serviceEndpointInterface, features), serviceEndpointInterface);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getPort(javax.xml.namespace.QName, java.lang.Class)
+ */
+ @Override
+ public <T> T getPort(QName portName, Class<T> serviceEndpointInterface)
+ {
+ return this.propagateProps(this.delegate.getPort(portName, serviceEndpointInterface), serviceEndpointInterface);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getPorts()
+ */
+ @Override
+ public Iterator<QName> getPorts()
+ {
+ return this.delegate.getPorts();
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getServiceName()
+ */
+ @Override
+ public QName getServiceName()
+ {
+ return this.delegate.getServiceName();
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#getWSDLDocumentLocation()
+ */
+ @Override
+ public URL getWSDLDocumentLocation()
+ {
+ return this.delegate.getWSDLDocumentLocation();
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#setExecutor(java.util.concurrent.Executor)
+ */
+ @Override
+ public void setExecutor(Executor executor)
+ {
+ this.delegate.setExecutor(executor);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.xml.ws.spi.ServiceDelegate#setHandlerResolver(javax.xml.ws.handler.HandlerResolver)
+ */
+ @Override
+ public void setHandlerResolver(HandlerResolver handlerResolver)
+ {
+ this.delegate.setHandlerResolver(handlerResolver);
+ }
+
+}
15 years, 10 months
JBossWS SVN: r9253 - in stack/cxf/trunk: eclipse and 3 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-06 08:48:14 -0500 (Fri, 06 Feb 2009)
New Revision: 9253
Modified:
stack/cxf/trunk/eclipse/CXF.userlibraries
stack/cxf/trunk/modules/client/pom.xml
stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.bat
stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.sh
stack/cxf/trunk/modules/server/pom.xml
stack/cxf/trunk/pom.xml
Log:
adding jaxrs frontend
Modified: stack/cxf/trunk/eclipse/CXF.userlibraries
===================================================================
--- stack/cxf/trunk/eclipse/CXF.userlibraries 2009-02-06 10:36:46 UTC (rev 9252)
+++ stack/cxf/trunk/eclipse/CXF.userlibraries 2009-02-06 13:48:14 UTC (rev 9253)
@@ -66,6 +66,10 @@
source = "$M2_REPOSITORY_HOME/org/apache/cxf/cxf-rt-frontend-jaxws/2.1.3/cxf-rt-frontend-jaxws-2.1.3-sources.jar"
/>
<archive
+ path = "$M2_REPOSITORY_HOME/org/apache/cxf/cxf-rt-frontend-jaxrs/2.1.3/cxf-rt-frontend-jaxrs-2.1.3.jar"
+ source = "$M2_REPOSITORY_HOME/org/apache/cxf/cxf-rt-frontend-jaxrs/2.1.3/cxf-rt-frontend-jaxrs-2.1.3-sources.jar"
+ />
+ <archive
path = "$M2_REPOSITORY_HOME/org/apache/cxf/cxf-rt-ws-rm/2.1.3/cxf-rt-ws-rm-2.1.3.jar"
source = "$M2_REPOSITORY_HOME/org/apache/cxf/cxf-rt-ws-rm/2.1.3/cxf-rt-ws-rm-2.1.3-sources.jar"
/>
Modified: stack/cxf/trunk/modules/client/pom.xml
===================================================================
--- stack/cxf/trunk/modules/client/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
+++ stack/cxf/trunk/modules/client/pom.xml 2009-02-06 13:48:14 UTC (rev 9253)
@@ -57,6 +57,10 @@
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxrs</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
</dependency>
<dependency>
Modified: stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.bat
===================================================================
--- stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.bat 2009-02-06 10:36:46 UTC (rev 9252)
+++ stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.bat 2009-02-06 13:48:14 UTC (rev 9253)
@@ -57,6 +57,7 @@
set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-core.jar
set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-databinding-jaxb.jar
set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-frontend-jaxws.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-frontend-jaxrs.jar
set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-frontend-simple.jar
set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-javascript.jar
set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-management.jar
Modified: stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.sh
===================================================================
--- stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.sh 2009-02-06 10:36:46 UTC (rev 9252)
+++ stack/cxf/trunk/modules/resources/src/main/resources/bin/wsprovide.sh 2009-02-06 13:48:14 UTC (rev 9253)
@@ -93,6 +93,7 @@
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/cxf-rt-core.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/cxf-rt-databinding-jaxb.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/cxf-rt-frontend-jaxws.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/cxf-rt-frontend-jaxrs.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/cxf-rt-frontend-simple.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/cxf-rt-javascript.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/cxf-rt-management.jar"
Modified: stack/cxf/trunk/modules/server/pom.xml
===================================================================
--- stack/cxf/trunk/modules/server/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
+++ stack/cxf/trunk/modules/server/pom.xml 2009-02-06 13:48:14 UTC (rev 9253)
@@ -79,6 +79,10 @@
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxrs</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
</dependency>
<dependency>
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
+++ stack/cxf/trunk/pom.xml 2009-02-06 13:48:14 UTC (rev 9253)
@@ -236,6 +236,11 @@
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxrs</artifactId>
+ <version>${cxf.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
15 years, 10 months
JBossWS SVN: r9252 - in stack/native/tags/jbossws-native-3.1.0.CR2: modules/client and 10 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-02-06 05:36:46 -0500 (Fri, 06 Feb 2009)
New Revision: 9252
Modified:
stack/native/tags/jbossws-native-3.1.0.CR2/modules/client/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/core/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxrpc/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws-ext/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/management/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/resources/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/saaj/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/framework-tests/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/native-tests/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/pom.xml
stack/native/tags/jbossws-native-3.1.0.CR2/pom.xml
Log:
Updating pom.xml files
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/client/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/client/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/client/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/core/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/core/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/core/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxrpc/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxrpc/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxrpc/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws-ext/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws-ext/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/jaxws-ext/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/management/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/management/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/management/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/resources/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/resources/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/resources/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/saaj/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/saaj/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/saaj/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/framework-tests/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/framework-tests/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native-testsuite</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/native-tests/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/native-tests/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/native-tests/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native-testsuite</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/modules/testsuite/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native</artifactId>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: stack/native/tags/jbossws-native-3.1.0.CR2/pom.xml
===================================================================
--- stack/native/tags/jbossws-native-3.1.0.CR2/pom.xml 2009-02-06 09:44:20 UTC (rev 9251)
+++ stack/native/tags/jbossws-native-3.1.0.CR2/pom.xml 2009-02-06 10:36:46 UTC (rev 9252)
@@ -18,7 +18,7 @@
<artifactId>jbossws-native</artifactId>
<packaging>pom</packaging>
- <version>3.1.0-SNAPSHOT</version>
+ <version>3.1.0.CR2</version>
<!-- Parent -->
<parent>
@@ -29,9 +29,9 @@
<!-- Source Control Management -->
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossws/stack/native/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossws/stack/native/trunk</developerConnection>
- <url>http://fisheye.jboss.com/viewrep/JBossWS/stack/native/trunk</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossws/stack/native/tags/jbossws-...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossws/stack/native/tags/jbossws-nat...</developerConnection>
+ <url>http://fisheye.jboss.com/viewrep/JBossWS/stack/native/tags/jbossws-native...</url>
</scm>
<!-- Modules -->
@@ -48,17 +48,17 @@
<!-- Properties -->
<properties>
- <jbossws.common.version>1.0.9-SNAPSHOT</jbossws.common.version>
- <jbossws.framework.version>3.1.0-SNAPSHOT</jbossws.framework.version>
- <jbossws.spi.version>1.1.0-SNAPSHOT</jbossws.spi.version>
- <jbossws.jboss422.version>3.1.0-SNAPSHOT</jbossws.jboss422.version>
- <jbossws.jboss423.version>3.1.0-SNAPSHOT</jbossws.jboss423.version>
- <jbossws.jboss424.version>3.1.0-SNAPSHOT</jbossws.jboss424.version>
- <jbossws.jboss500.version>3.1.0-SNAPSHOT</jbossws.jboss500.version>
+ <jbossws.common.version>1.0.9.CR2</jbossws.common.version>
+ <jbossws.framework.version>3.1.0.CR2</jbossws.framework.version>
+ <jbossws.spi.version>1.1.0.CR1</jbossws.spi.version>
+ <jbossws.jboss422.version>3.1.0-SNAPSHOT</jbossws.jboss422.version> <!-- don't care, we install this CR1 to AS5.1 and AS 6 only -->
+ <jbossws.jboss423.version>3.1.0-SNAPSHOT</jbossws.jboss423.version> <!-- don't care, we install this CR1 to AS5.1 and AS 6 only -->
+ <jbossws.jboss424.version>3.1.0-SNAPSHOT</jbossws.jboss424.version> <!-- don't care, we install this CR1 to AS5.1 and AS 6 only -->
+ <jbossws.jboss500.version>3.1.0-SNAPSHOT</jbossws.jboss500.version> <!-- don't care, we install this CR1 to AS5.1 and AS 6 only -->
<!-- [JBWS-2263] -->
<!-- START -->
- <jbossws.jboss510.version>3.1.0-SNAPSHOT</jbossws.jboss510.version>
- <jbossws.jboss600.version>3.1.0-SNAPSHOT</jbossws.jboss600.version>
+ <jbossws.jboss510.version>3.1.0.CR1</jbossws.jboss510.version>
+ <jbossws.jboss600.version>3.1.0.CR1</jbossws.jboss600.version>
<!-- END -->
<codehaus.jettison.version>1.0-RC2</codehaus.jettison.version>
<commons.logging.version>1.1.1</commons.logging.version>
15 years, 10 months
JBossWS SVN: r9251 - stack/native/tags.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-02-06 04:44:20 -0500 (Fri, 06 Feb 2009)
New Revision: 9251
Added:
stack/native/tags/jbossws-native-3.1.0.CR2/
Log:
Tagging jbossws-native-3.1.0.CR2
Copied: stack/native/tags/jbossws-native-3.1.0.CR2 (from rev 9250, stack/native/trunk)
15 years, 10 months
JBossWS SVN: r9249 - framework/tags.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-02-06 04:39:15 -0500 (Fri, 06 Feb 2009)
New Revision: 9249
Added:
framework/tags/jbossws-framework-3.1.0.CR2/
Log:
Tagging jbossws-framework-3.1.0.CR2
Copied: framework/tags/jbossws-framework-3.1.0.CR2 (from rev 9248, framework/trunk)
15 years, 10 months