JBossWS SVN: r6284 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-09 00:14:22 -0400 (Wed, 09 Apr 2008)
New Revision: 6284
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java
Log:
Fix SOAPBinding;
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java 2008-04-08 16:02:08 UTC (rev 6283)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java 2008-04-09 04:14:22 UTC (rev 6284)
@@ -26,16 +26,14 @@
import javax.jws.HandlerChain;
import javax.jws.WebMethod;
import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.soap.SOAPBinding.Style;
import javax.xml.ws.BindingType;
+import javax.xml.ws.soap.SOAPBinding;
import org.jboss.logging.Logger;
@WebService(name = "SOAPEndpoint", serviceName = "SOAPEndpointService", targetNamespace = "http://org.jboss.ws/jaxws/handlerscope")
@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING) // SOAP-1.2
@HandlerChain(file = "jaxws-server-handlers.xml")
-@SOAPBinding(style = Style.RPC)
public class SOAPEndpointBean
{
private static Logger log = Logger.getLogger(SOAPEndpointBean.class);
16 years, 9 months
JBossWS SVN: r6283 - stack/cxf/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 12:02:08 -0400 (Tue, 08 Apr 2008)
New Revision: 6283
Modified:
stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt
Log:
Update CXF excludes
Modified: stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt
===================================================================
--- stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt 2008-04-08 15:31:18 UTC (rev 6282)
+++ stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt 2008-04-08 16:02:08 UTC (rev 6283)
@@ -41,6 +41,7 @@
# [CXF-1513] NPE in JaxWsServiceConfiguration
org/jboss/test/ws/jaxws/handlerscope/**
+org/jboss/test/ws/jaxws/jbws1694/**
# [CXF-1514] Generated WSDL does not take 'transport-guarantee' in web.xml into account
org/jboss/test/ws/jaxws/jbws1190/**
@@ -54,6 +55,8 @@
# [JBWS-2115] EJB client vehicle not sufficiently isolated
org/jboss/test/ws/jaxws/jbws1581/**
+# [CXF-1516] Type inheritance with document/literal/wrapped
+org/jboss/test/ws/jaxws/jbws1702/**
+org/jboss/test/ws/jaxws/jbws1733/**
-
16 years, 9 months
JBossWS SVN: r6282 - in stack/cxf/trunk/src: test/resources and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 11:31:18 -0400 (Tue, 08 Apr 2008)
New Revision: 6282
Modified:
stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java
stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt
Log:
Update CXF excludes
Modified: stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
===================================================================
--- stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2008-04-08 15:30:42 UTC (rev 6281)
+++ stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2008-04-08 15:31:18 UTC (rev 6282)
@@ -185,7 +185,7 @@
private void configureService(Service service, UnifiedServiceRefMetaData serviceRef)
{
- log.warn("Service configuration not available in Sun-RI");
+ log.warn("Service configuration not available in Apache-CXF");
}
private UnifiedServiceRefMetaData unmarshallServiceRef(Reference ref) throws ClassNotFoundException, NamingException
@@ -204,10 +204,11 @@
throw new NamingException("Cannot unmarshall service ref meta data, cause: " + e.toString());
}
- // Verify it. There is some know coinstraints
- if(null == sref.getServiceQName())
+ /* Verify it. There is some know coinstraints
+ if(sref.getServiceQName() == null)
throw new IllegalArgumentException("ServiceQName may not be null. " +
"Specify a service QName in the <service-ref> declaration, or thorugh the @WebServiceClient annotation.");
+ */
return sref;
}
Modified: stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java
===================================================================
--- stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java 2008-04-08 15:30:42 UTC (rev 6281)
+++ stack/cxf/trunk/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java 2008-04-08 15:31:18 UTC (rev 6282)
@@ -208,13 +208,13 @@
}
/**
- * Create a Sun-RI specific service referenceable.
+ * Create a Apache-CXF specific service referenceable.
* Most of the setup is done in {@link org.jboss.wsf.framework.serviceref.ServiceRefBinderJAXWS}
*
* @param serviceImplClass
* @param targetClassName
* @param serviceRef
- * @return a Sun-RI specific service referenceable.
+ * @return a Apache-CXF specific service referenceable.
*/
protected Referenceable buildServiceReferenceable(String serviceImplClass, String targetClassName, UnifiedServiceRefMetaData serviceRef)
{
Modified: stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt
===================================================================
--- stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt 2008-04-08 15:30:42 UTC (rev 6281)
+++ stack/cxf/trunk/src/test/resources/test-excludes-jboss422.txt 2008-04-08 15:31:18 UTC (rev 6282)
@@ -2,6 +2,9 @@
# $Id: test-excludes.txt 3915 2007-07-17 16:16:05Z heiko.braun(a)jboss.com $
#
+# Won't Fix: [CXF-1261] Handler does not see XOP message properly
+org/jboss/test/ws/jaxws/samples/xop/doclit/XOPHandlerTestCase.*
+
# EJB3/Injection excludes
org/jboss/test/ws/jaxws/samples/webserviceref/**
org/jboss/test/ws/jaxws/webserviceref/**
@@ -27,5 +30,30 @@
# [CXF-1253] CXF does not respect @HandlerChain on client SEI
org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
-# Won't Fix: [CXF-1261] Handler does not see XOP message properly
-org/jboss/test/ws/jaxws/samples/xop/doclit/XOPHandlerTestCase.*
+# [CXF-1510] Cannot handle anonymous bare requests
+org/jboss/test/ws/jaxws/anonymous/**
+
+# [CXF-1511] WrappedMessageContext does not implement SOAPMessageContext
+org/jboss/test/ws/jaxws/binding/**
+
+# [JBWS-2112] Cannot use CXF with endpoint API
+org/jboss/test/ws/jaxws/endpoint/**
+
+# [CXF-1513] NPE in JaxWsServiceConfiguration
+org/jboss/test/ws/jaxws/handlerscope/**
+
+# [CXF-1514] Generated WSDL does not take 'transport-guarantee' in web.xml into account
+org/jboss/test/ws/jaxws/jbws1190/**
+
+# [JBWS-2114] Soap attachments are dropped on server response when added in ejb3 jaxws handler
+org/jboss/test/ws/jaxws/jbws1283/**
+
+# [CXF-1515] Bad Enumeration value 'extension restriction'
+org/jboss/test/ws/jaxws/jbws1505/**
+
+# [JBWS-2115] EJB client vehicle not sufficiently isolated
+org/jboss/test/ws/jaxws/jbws1581/**
+
+
+
+
16 years, 9 months
JBossWS SVN: r6281 - in stack/native/trunk: src/test/java/org/jboss/test/ws/jaxws and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 11:30:42 -0400 (Tue, 08 Apr 2008)
New Revision: 6281
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
stack/native/trunk/src/test/resources/jaxws/jbws1666/
stack/native/trunk/src/test/resources/jaxws/jbws1666/WEB-INF/
stack/native/trunk/src/test/resources/jaxws/jbws1666/WEB-INF/web.xml
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
Move jbws1666 to native
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-08 15:25:49 UTC (rev 6280)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-08 15:30:42 UTC (rev 6281)
@@ -162,6 +162,13 @@
</classes>
</war>
+ <!-- jaxws-jbws1666 -->
+ <war destfile="${tests.output.dir}/libs/jaxws-jbws1666.war" webxml="${tests.output.dir}/resources/jaxws/jbws1666/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.class"/>
+ </classes>
+ </war>
+
<!-- jaxws-jbws1814 -->
<war warfile="${tests.output.dir}/libs/jaxws-jbws1814.war" webxml="${tests.output.dir}/resources/jaxws/jbws1814/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2008-04-08 15:30:42 UTC (rev 6281)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1666;
+
+import java.io.BufferedReader;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.InputStreamReader;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+import org.jboss.wsf.common.IOUtils;
+
+/**
+ * [JBWS-1666] Simplify jbosws jar dependencies
+ *
+ * http://jira.jboss.org/jira/browse/JBWS-1666
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ * @since 14-Jun-2007
+ */
+public class JBWS1666TestCase extends JBossWSTest
+{
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS1666TestCase.class, "jaxws-jbws1666.war");
+ }
+
+ public void testPortAccess() throws Exception
+ {
+ String resStr = TestClient.testPortAccess(getServerHost());
+ assertEquals(TestClient.REQ_STR, resStr);
+ }
+
+ public void testClientAccess() throws Exception
+ {
+ File javaFile = new File (System.getProperty("java.home") + "/bin/java");
+ String javaCmd = javaFile.exists() ? javaFile.getCanonicalPath() : "java";
+
+ String jbh = System.getProperty("jboss.home");
+ String jbc = jbh + "/client";
+ String jbl = jbh + "/lib";
+
+ // Setup the classpath - do not modify this lightheartedly.
+ // Maybe you should extend the Class-Path in the MANIFEST instead.
+ StringBuffer cp = new StringBuffer("./classes");
+ cp.append(":" + jbc + "/jbossws-client.jar");
+ if (isTargetJBoss50())
+ {
+ cp.append(":" + jbc + "/jboss-common-core.jar");
+ cp.append(":" + jbc + "/jboss-logging-spi.jar");
+ }
+ else
+ {
+ cp.append(":" + jbc + "/jboss-common-client.jar");
+ }
+
+ Runtime rt = Runtime.getRuntime();
+
+ String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + "/endorsed -cp " + cp + " " + TestClient.class.getName() + " " + getServerHost();
+ Process proc = rt.exec(command);
+ int status = proc.waitFor();
+ if (status == 0)
+ {
+ BufferedReader br = new BufferedReader(new InputStreamReader(proc.getInputStream()));
+ String resStr = br.readLine();
+ assertEquals(TestClient.REQ_STR, resStr);
+ }
+ else
+ {
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ IOUtils.copyStream(baos, proc.getErrorStream());
+ String errStr = new String(baos.toByteArray());
+ fail(errStr);
+ }
+ }
+}
Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java 2008-04-08 15:30:42 UTC (rev 6281)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1666;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+public class TestClient
+{
+ public static final String REQ_STR = "Hello World!";
+
+ public static String testPortAccess(String serverHost) throws Exception
+ {
+ URL wsdlURL = new URL("http://" + serverHost + ":8080/jaxws-jbws1666?wsdl");
+
+ QName serviceName = new QName("http://org.jboss.ws/jbws1666", "TestEndpointImplService");
+ Service service = Service.create(wsdlURL, serviceName);
+ TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
+
+ String resStr = port.echo(REQ_STR);
+ return resStr;
+ }
+
+ public static void main(String[] args) throws Exception
+ {
+ String serverHost = args[0];
+ String resStr = testPortAccess(serverHost);
+ System.out.println(resStr);
+ }
+}
Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java 2008-04-08 15:30:42 UTC (rev 6281)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1666;
+
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/jbws1666")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface TestEndpoint
+{
+ String echo(String input);
+}
Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java 2008-04-08 15:30:42 UTC (rev 6281)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws1666;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/jbws1666")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class TestEndpointImpl
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/src/test/resources/jaxws/jbws1666/WEB-INF/web.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1666/WEB-INF/web.xml (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1666/WEB-INF/web.xml 2008-04-08 15:30:42 UTC (rev 6281)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <servlet>
+ <servlet-name>TestEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws1666.TestEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Property changes on: stack/native/trunk/src/test/resources/jaxws/jbws1666/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
16 years, 9 months
JBossWS SVN: r6280 - in framework/trunk/src/test: java/org/jboss/test/ws/jaxws and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 11:25:49 -0400 (Tue, 08 Apr 2008)
New Revision: 6280
Removed:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1666/
framework/trunk/src/test/resources/jaxws/jbws1666/
Modified:
framework/trunk/src/test/ant-import/build-jars-jaxws.xml
Log:
Move jbws1666 to native
Modified: framework/trunk/src/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/src/test/ant-import/build-jars-jaxws.xml 2008-04-08 15:14:25 UTC (rev 6279)
+++ framework/trunk/src/test/ant-import/build-jars-jaxws.xml 2008-04-08 15:25:49 UTC (rev 6280)
@@ -244,13 +244,6 @@
</classes>
</war>
- <!-- jaxws-jbws1666 -->
- <war destfile="${tests.output.dir}/libs/jaxws-jbws1666.war" webxml="${tests.output.dir}/resources/jaxws/jbws1666/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.class"/>
- </classes>
- </war>
-
<!-- jaxws-jbws1694 -->
<jar jarfile="${tests.output.dir}/libs/jaxws-jbws1694.jar">
<fileset dir="${tests.output.dir}/classes">
16 years, 9 months
JBossWS SVN: r6279 - in framework/trunk/src/test: resources/jaxws/jbws1581/META-INF/wsdl and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 11:14:25 -0400 (Tue, 08 Apr 2008)
New Revision: 6279
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1581/EndpointInterface.java
framework/trunk/src/test/resources/jaxws/jbws1581/META-INF/wsdl/TestService.wsdl
Log:
@WebService (name = "EndpointBean")
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1581/EndpointInterface.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1581/EndpointInterface.java 2008-04-08 14:36:29 UTC (rev 6278)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1581/EndpointInterface.java 2008-04-08 15:14:25 UTC (rev 6279)
@@ -12,7 +12,7 @@
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
-@WebService
+@WebService (name = "EndpointBean")
@SOAPBinding(style = SOAPBinding.Style.RPC)
/**
Modified: framework/trunk/src/test/resources/jaxws/jbws1581/META-INF/wsdl/TestService.wsdl
===================================================================
--- framework/trunk/src/test/resources/jaxws/jbws1581/META-INF/wsdl/TestService.wsdl 2008-04-08 14:36:29 UTC (rev 6278)
+++ framework/trunk/src/test/resources/jaxws/jbws1581/META-INF/wsdl/TestService.wsdl 2008-04-08 15:14:25 UTC (rev 6279)
@@ -1,19 +1,19 @@
<definitions name='TestService' targetNamespace='http://jbws1581.jaxws.ws.test.jboss.org/' xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://jbws1581.jaxws.ws.test.jboss.org/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types></types>
- <message name='EndpointInterface_hello'>
+ <message name='EndpointBean_hello'>
<part name='arg0' type='xsd:string'/>
</message>
- <message name='EndpointInterface_helloResponse'>
+ <message name='EndpointBean_helloResponse'>
<part name='return' type='xsd:string'/>
</message>
- <portType name='EndpointInterface'>
+ <portType name='EndpointBean'>
<operation name='hello' parameterOrder='arg0'>
- <input message='tns:EndpointInterface_hello'/>
- <output message='tns:EndpointInterface_helloResponse'/>
+ <input message='tns:EndpointBean_hello'/>
+ <output message='tns:EndpointBean_helloResponse'/>
</operation>
</portType>
- <binding name='EndpointInterfaceBinding' type='tns:EndpointInterface'>
+ <binding name='EndpointBeanBinding' type='tns:EndpointBean'>
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='hello'>
<soap:operation soapAction=''/>
@@ -26,7 +26,7 @@
</operation>
</binding>
<service name='TestService'>
- <port binding='tns:EndpointInterfaceBinding' name='EndpointBeanPort'>
+ <port binding='tns:EndpointBeanBinding' name='EndpointBeanPort'>
<soap:address location='http://@jboss.bind.address@:8080/jaxws-jbws1581'/>
</port>
</service>
16 years, 9 months
JBossWS SVN: r6278 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1556.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 10:36:29 -0400 (Tue, 08 Apr 2008)
New Revision: 6278
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1556/EndpointInterface.java
Log:
@WebService(name = "EJB3Bean")
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1556/EndpointInterface.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1556/EndpointInterface.java 2008-04-08 14:18:44 UTC (rev 6277)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1556/EndpointInterface.java 2008-04-08 14:36:29 UTC (rev 6278)
@@ -12,7 +12,7 @@
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
-@WebService
+@WebService (name = "EJB3Bean")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface EndpointInterface
{
16 years, 9 months
JBossWS SVN: r6277 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1446.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 10:18:44 -0400 (Tue, 08 Apr 2008)
New Revision: 6277
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1446/EndpointInterface.java
Log:
@WebService(name = "EJB3Bean")
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1446/EndpointInterface.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1446/EndpointInterface.java 2008-04-08 13:17:01 UTC (rev 6276)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1446/EndpointInterface.java 2008-04-08 14:18:44 UTC (rev 6277)
@@ -12,7 +12,7 @@
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
-@WebService
+@WebService(name = "EJB3Bean")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface EndpointInterface
{
16 years, 9 months
JBossWS SVN: r6276 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 09:17:01 -0400 (Tue, 08 Apr 2008)
New Revision: 6276
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java
Log:
@WebService(targetNamespace = "http://org.jboss.ws/jaxws/handlerscope")
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java 2008-04-08 13:12:15 UTC (rev 6275)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java 2008-04-08 13:17:01 UTC (rev 6276)
@@ -29,7 +29,7 @@
import javax.xml.ws.BindingType;
import javax.xml.ws.soap.SOAPBinding;
-@WebService
+@WebService(targetNamespace = "http://org.jboss.ws/jaxws/handlerscope")
@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
@HandlerChain(file = "jaxws-client-handlers.xml")
public interface SOAPEndpoint
16 years, 9 months
JBossWS SVN: r6275 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 09:12:15 -0400 (Tue, 08 Apr 2008)
New Revision: 6275
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java
Log:
Use SOAPBinding.SOAP12HTTP_BINDING
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java 2008-04-08 12:45:43 UTC (rev 6274)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java 2008-04-08 13:12:15 UTC (rev 6275)
@@ -27,9 +27,10 @@
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.BindingType;
+import javax.xml.ws.soap.SOAPBinding;
@WebService
-@BindingType(value = "http://www.w3.org/2003/05/soap/bindings/HTTP/")
+@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
@HandlerChain(file = "jaxws-client-handlers.xml")
public interface SOAPEndpoint
{
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java 2008-04-08 12:45:43 UTC (rev 6274)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java 2008-04-08 13:12:15 UTC (rev 6275)
@@ -33,7 +33,7 @@
import org.jboss.logging.Logger;
@WebService(name = "SOAPEndpoint", serviceName = "SOAPEndpointService", targetNamespace = "http://org.jboss.ws/jaxws/handlerscope")
-@BindingType(value = "http://www.w3.org/2003/05/soap/bindings/HTTP/") // SOAP-1.2
+@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING) // SOAP-1.2
@HandlerChain(file = "jaxws-server-handlers.xml")
@SOAPBinding(style = Style.RPC)
public class SOAPEndpointBean
16 years, 9 months