JBossWS SVN: r6534 - in stack/cxf/branches/tdiesler/trunk: modules/client and 15 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-19 02:51:36 -0400 (Sat, 19 Apr 2008)
New Revision: 6534
Added:
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Echo.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/EchoResponse.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/ObjectFactory.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Ping.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_Service.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_SimpleServicePort_Client.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/package-info.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Echo.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/EchoResponse.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Ping.java
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/jbossws-cxf.xml
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/web.xml
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/wsrm-client-config.xml
Modified:
stack/cxf/branches/tdiesler/trunk/modules/client/pom.xml
stack/cxf/branches/tdiesler/trunk/modules/server/pom.xml
stack/cxf/branches/tdiesler/trunk/modules/testsuite/pom.xml
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss422.txt
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss423.txt
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss500.txt
stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss501.txt
stack/cxf/branches/tdiesler/trunk/pom.xml
Log:
descriptor test jboss422 ok
Modified: stack/cxf/branches/tdiesler/trunk/modules/client/pom.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/client/pom.xml 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/modules/client/pom.xml 2008-04-19 06:51:36 UTC (rev 6534)
@@ -58,6 +58,10 @@
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-policy</artifactId>
</dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </dependency>
<!-- jboss provided -->
<dependency>
Modified: stack/cxf/branches/tdiesler/trunk/modules/server/pom.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/server/pom.xml 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/modules/server/pom.xml 2008-04-19 06:51:36 UTC (rev 6534)
@@ -76,6 +76,10 @@
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-policy</artifactId>
</dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </dependency>
<!-- jboss provided -->
<dependency>
Modified: stack/cxf/branches/tdiesler/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/pom.xml 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/pom.xml 2008-04-19 06:51:36 UTC (rev 6534)
@@ -29,6 +29,7 @@
<testResource>
<targetPath>../test-resources</targetPath>
<directory>src/test/resources</directory>
+ <filtering>true</filtering>
</testResource>
</testResources>
<plugins>
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,82 @@
+/*
+ * 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.samples.wsrm.client;
+
+import java.io.File;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import junit.framework.Test;
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+import org.jboss.test.ws.jaxws.samples.wsrm.generated.SimpleService;
+
+/**
+ * Client invoking web service using WS-RM
+ *
+ * @author richard.opalka(a)jboss.com
+ */
+public final class SimpleServiceTestCase extends JBossWSTest
+{
+ private final String serviceURL = "http://" + getServerHost() + ":8080/jaxws-samples-wsrm/SimpleService";
+ private SimpleService proxy;
+ private Bus bus;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(SimpleServiceTestCase.class, "jaxws-samples-wsrm.war");
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ SpringBusFactory busFactory = new SpringBusFactory();
+ URL cxfConfig = new File("resources/jaxws/samples/wsrm/wsrm-client-config.xml").toURL();
+ bus = busFactory.createBus(cxfConfig);
+ busFactory.setDefaultBus(bus);
+
+ QName serviceName = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "SimpleService");
+ URL wsdlURL = new URL(serviceURL + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ proxy = (SimpleService)service.getPort(SimpleService.class);
+ }
+
+ @Override
+ protected void tearDown() throws Exception
+ {
+ bus.shutdown(true);
+
+ super.tearDown();
+ }
+
+ public void test() throws Exception
+ {
+ proxy.ping(); // one way call
+ assertEquals("Hello World!", proxy.echo("Hello World!")); // request responce call
+ }
+
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Echo.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Echo.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Echo.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,60 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for echo complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="echo">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="arg0" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "echo", propOrder = {
+ "arg0"
+})
+public class Echo {
+
+ protected String arg0;
+
+ /**
+ * Gets the value of the arg0 property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArg0() {
+ return arg0;
+ }
+
+ /**
+ * Sets the value of the arg0 property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArg0(String value) {
+ this.arg0 = value;
+ }
+
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Echo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/EchoResponse.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/EchoResponse.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/EchoResponse.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,62 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for echoResponse complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="echoResponse">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "echoResponse", propOrder = {
+ "_return"
+})
+public class EchoResponse {
+
+ @XmlElement(name = "return")
+ protected String _return;
+
+ /**
+ * Gets the value of the return property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReturn() {
+ return _return;
+ }
+
+ /**
+ * Sets the value of the return property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReturn(String value) {
+ this._return = value;
+ }
+
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/EchoResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/ObjectFactory.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/ObjectFactory.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/ObjectFactory.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,89 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.jaxws.samples.wsrm.generated package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _EchoResponse_QNAME = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "echoResponse");
+ private final static QName _Echo_QNAME = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "echo");
+ private final static QName _Ping_QNAME = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "ping");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.test.ws.jaxws.samples.wsrm.generated
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Ping }
+ *
+ */
+ public Ping createPing() {
+ return new Ping();
+ }
+
+ /**
+ * Create an instance of {@link Echo }
+ *
+ */
+ public Echo createEcho() {
+ return new Echo();
+ }
+
+ /**
+ * Create an instance of {@link EchoResponse }
+ *
+ */
+ public EchoResponse createEchoResponse() {
+ return new EchoResponse();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EchoResponse }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", name = "echoResponse")
+ public JAXBElement<EchoResponse> createEchoResponse(EchoResponse value) {
+ return new JAXBElement<EchoResponse>(_EchoResponse_QNAME, EchoResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Echo }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", name = "echo")
+ public JAXBElement<Echo> createEcho(Echo value) {
+ return new JAXBElement<Echo>(_Echo_QNAME, Echo.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Ping }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", name = "ping")
+ public JAXBElement<Ping> createPing(Ping value) {
+ return new JAXBElement<Ping>(_Ping_QNAME, Ping.class, null, value);
+ }
+
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Ping.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Ping.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Ping.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,32 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ping complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ping">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ping")
+public class Ping {
+
+
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/Ping.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,36 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by Apache CXF (incubator) 2.0.5-incubator
+ * Wed Apr 16 14:19:06 CEST 2008
+ * Generated source version: 2.0.5-incubator
+ *
+ */
+
+@WebService(targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", name = "SimpleService")
+
+public interface SimpleService {
+
+ @Oneway
+ @RequestWrapper(localName = "ping", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", className = "org.jboss.test.ws.jaxws.samples.wsrm.generated.Ping")
+ @WebMethod
+ public void ping();
+
+ @ResponseWrapper(localName = "echoResponse", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", className = "org.jboss.test.ws.jaxws.samples.wsrm.generated.EchoResponse")
+ @RequestWrapper(localName = "echo", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", className = "org.jboss.test.ws.jaxws.samples.wsrm.generated.Echo")
+ @WebResult(name = "return", targetNamespace = "")
+ @WebMethod
+ public java.lang.String echo(
+ @WebParam(name = "arg0", targetNamespace = "")
+ java.lang.String arg0
+ );
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_Service.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_Service.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_Service.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,58 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import org.jboss.test.ws.jaxws.samples.wsrm.generated.SimpleService;
+
+/**
+ * This class was generated by Apache CXF (incubator) 2.0.5-incubator
+ * Wed Apr 16 14:19:06 CEST 2008
+ * Generated source version: 2.0.5-incubator
+ *
+ */
+
+@WebServiceClient(name = "SimpleService", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", wsdlLocation = "file:/home/opalka/TODO/TUTORIAL/cxf/step1/java2wsdl/generated/wsdl/SimpleService.wsdl")
+public class SimpleService_Service extends Service {
+
+ public final static URL WSDL_LOCATION;
+ public final static QName SERVICE = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "SimpleService");
+ public final static QName SimpleServicePort = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "SimpleServicePort");
+ static {
+ URL url = null;
+ try {
+ url = new URL("file:/home/opalka/TODO/TUTORIAL/cxf/step1/java2wsdl/generated/wsdl/SimpleService.wsdl");
+ } catch (MalformedURLException e) {
+ System.err.println("Can not initialize the default wsdl from file:/home/opalka/TODO/TUTORIAL/cxf/step1/java2wsdl/generated/wsdl/SimpleService.wsdl");
+ // e.printStackTrace();
+ }
+ WSDL_LOCATION = url;
+ }
+
+ public SimpleService_Service(URL wsdlLocation) {
+ super(wsdlLocation, SERVICE);
+ }
+
+ public SimpleService_Service(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public SimpleService_Service() {
+ super(WSDL_LOCATION, SERVICE);
+ }
+
+ /**
+ *
+ * @return
+ * returns SimpleServicePort
+ */
+ @WebEndpoint(name = "SimpleServicePort")
+ public SimpleService getSimpleServicePort() {
+ return super.getPort(SimpleServicePort, SimpleService.class);
+ }
+
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_Service.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_SimpleServicePort_Client.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_SimpleServicePort_Client.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_SimpleServicePort_Client.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,71 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
+
+/**
+ * Please modify this class to meet your needs
+ * This class is not complete
+ */
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by Apache CXF (incubator) 2.0.5-incubator
+ * Wed Apr 16 14:19:05 CEST 2008
+ * Generated source version: 2.0.5-incubator
+ *
+ */
+
+public final class SimpleService_SimpleServicePort_Client {
+
+ private static final QName SERVICE_NAME = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "SimpleService");
+
+ private SimpleService_SimpleServicePort_Client() {
+ }
+
+ public static void main(String args[]) throws Exception {
+ URL wsdlURL = SimpleService_Service.WSDL_LOCATION;
+ if (args.length > 0) {
+ File wsdlFile = new File(args[0]);
+ try {
+ if (wsdlFile.exists()) {
+ wsdlURL = wsdlFile.toURI().toURL();
+ } else {
+ wsdlURL = new URL(args[0]);
+ }
+ } catch (MalformedURLException e) {
+ e.printStackTrace();
+ }
+ }
+
+ SimpleService_Service ss = new SimpleService_Service(wsdlURL, SERVICE_NAME);
+ SimpleService port = ss.getSimpleServicePort();
+
+ {
+ System.out.println("Invoking ping...");
+ port.ping();
+
+
+ }
+ {
+ System.out.println("Invoking echo...");
+ java.lang.String _echo_arg0 = "";
+ java.lang.String _echo__return = port.echo(_echo_arg0);
+ System.out.println("echo.result=" + _echo__return);
+
+
+ }
+
+ System.exit(0);
+ }
+
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/SimpleService_SimpleServicePort_Client.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/package-info.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/package-info.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/package-info.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+package org.jboss.test.ws.jaxws.samples.wsrm.generated;
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/generated/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,50 @@
+/*
+ * 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.samples.wsrm.service;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+@WebService
+(
+ name = "SimpleService",
+ serviceName = "SimpleService",
+ wsdlLocation = "WEB-INF/wsdl/SimpleService.wsdl",
+ targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm"
+)
+public class SimpleServiceImpl
+{
+ @Oneway
+ @WebMethod
+ public void ping()
+ {
+ System.out.println("ping()");
+ }
+
+ @WebMethod
+ public String echo(String s)
+ {
+ System.out.println("echo(" + s + ")");
+ return s;
+ }
+}
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Echo.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Echo.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Echo.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,35 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.service.jaxws;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * This class was generated by the CXF 2.0.5-incubator
+ * Wed Apr 16 13:57:06 CEST 2008
+ * Generated source version: 2.0.5-incubator
+ *
+ */
+
+@XmlRootElement(name = "echo", namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "echo", namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+
+public class Echo {
+
+ @XmlElement(name = "arg0")
+ private java.lang.String arg0;
+
+ public java.lang.String getArg0() {
+ return this.arg0;
+ }
+
+ public void setArg0( java.lang.String newArg0 ) {
+ this.arg0 = newArg0;
+ }
+
+}
+
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Echo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/EchoResponse.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/EchoResponse.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/EchoResponse.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,35 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.service.jaxws;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * This class was generated by the CXF 2.0.5-incubator
+ * Wed Apr 16 13:57:06 CEST 2008
+ * Generated source version: 2.0.5-incubator
+ *
+ */
+
+@XmlRootElement(name = "echoResponse", namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "echoResponse", namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+
+public class EchoResponse {
+
+ @XmlElement(name = "return")
+ private java.lang.String _return;
+
+ public java.lang.String get_return() {
+ return this._return;
+ }
+
+ public void set_return( java.lang.String new_return ) {
+ this._return = new_return;
+ }
+
+}
+
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/EchoResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Ping.java
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Ping.java (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Ping.java 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,24 @@
+
+package org.jboss.test.ws.jaxws.samples.wsrm.service.jaxws;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * This class was generated by the CXF 2.0.5-incubator
+ * Wed Apr 16 13:57:06 CEST 2008
+ * Generated source version: 2.0.5-incubator
+ *
+ */
+
+@XmlRootElement(name = "ping", namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ping", namespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
+
+public class Ping {
+
+
+}
+
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/jaxws/Ping.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/jbossws-cxf.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/jbossws-cxf.xml (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/jbossws-cxf.xml 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,36 @@
+<beans
+ xmlns='http://www.springframework.org/schema/beans'
+ xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+ xmlns:beans='http://www.springframework.org/schema/beans'
+ xmlns:jaxws='http://cxf.apache.org/jaxws'
+ xmlns:wsp='http://www.w3.org/2006/07/ws-policy'
+ xmlns:p='http://cxf.apache.org/policy'
+ xsi:schemaLocation='http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+ http://cxf.apache.org/policy
+ http://cxf.apache.org/schemas/policy.xsd
+ http://www.w3.org/2006/07/ws-policy
+ http://www.w3.org/2006/11/ws-policy.xsd
+ http://cxf.apache.org/jaxws
+ http://cxf.apache.org/schemas/jaxws.xsd'>
+
+ <wsp:Policy wsu:Id="wsrm10policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit...">
+ <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2006/05/addressing/wsdl"/>
+ <wsrmp:RMAssertion xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"/>
+ </wsp:Policy>
+
+ <jaxws:endpoint
+ id='SimpleServiceImpl'
+ address='http://@jboss.bind.address@:8080/jaxws-samples-wsrm'
+ implementor='org.jboss.test.ws.jaxws.samples.wsrm.service.SimpleServiceImpl'>
+ <jaxws:invoker>
+ <bean class='org.jboss.wsf.stack.cxf.InvokerJSE'/>
+ </jaxws:invoker>
+ <jaxws:features>
+ <p:policies namespace="http://www.w3.org/2006/07/ws-policy">
+ <wsp:PolicyReference URI="#wsrm10policy" xmlns:wsp="http://www.w3.org/2006/07/ws-policy"/>
+ </p:policies>
+ </jaxws:features>
+ </jaxws:endpoint>
+
+</beans>
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/jbossws-cxf.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/web.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/web.xml (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/web.xml 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,15 @@
+<?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">
+ <servlet>
+ <servlet-name>SimpleService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.samples.wsrm.service.SimpleServiceImpl</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>SimpleService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="SimpleService" targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm" xmlns:tns="http://www.jboss.org/jbossws/ws-extensions/wsrm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://www.w3.org/2006/07/ws-policy">
+
+ <wsp:UsingPolicy/>
+ <wsp:Policy wsu:Id="wsrm10policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit...">
+ <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2006/05/addressing/wsdl"/>
+ <wsrmp:RMAssertion xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"/>
+ </wsp:Policy>
+
+ <wsdl:types>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.jboss.org/jbossws/ws-extensions/wsrm" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm">
+<xsd:element name="ping" type="tns:ping"/>
+<xsd:complexType name="ping">
+<xsd:sequence/>
+</xsd:complexType>
+<xsd:element name="echo" type="tns:echo"/>
+<xsd:complexType name="echo">
+<xsd:sequence>
+<xsd:element minOccurs="0" name="arg0" type="xsd:string"/>
+</xsd:sequence>
+</xsd:complexType>
+<xsd:element name="echoResponse" type="tns:echoResponse"/>
+<xsd:complexType name="echoResponse">
+<xsd:sequence>
+<xsd:element minOccurs="0" name="return" type="xsd:string"/>
+</xsd:sequence>
+</xsd:complexType>
+</xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="echoResponse">
+ <wsdl:part name="parameters" element="tns:echoResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="echo">
+ <wsdl:part name="parameters" element="tns:echo">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="ping">
+ <wsdl:part name="parameters" element="tns:ping">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="SimpleService">
+ <wsdl:operation name="ping">
+ <wsdl:input name="ping" message="tns:ping">
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="echo">
+ <wsdl:input name="echo" message="tns:echo">
+ </wsdl:input>
+ <wsdl:output name="echoResponse" message="tns:echoResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="SimpleServiceSoapBinding" type="tns:SimpleService">
+ <wsp:PolicyReference URI="#wsrm10policy"/>
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="ping">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="ping">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="echo">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="echo">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="echoResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="SimpleService">
+ <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapBinding">
+ <soap:address location="http://localhost:9090/hello"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/wsrm-client-config.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/wsrm-client-config.xml (rev 0)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/wsrm-client-config.xml 2008-04-19 06:51:36 UTC (rev 6534)
@@ -0,0 +1,37 @@
+<beans
+ xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:cxf="http://cxf.apache.org/core"
+ xmlns:wsa="http://cxf.apache.org/ws/addressing"
+ xmlns:http="http://cxf.apache.org/transports/http/configuration"
+ xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"
+ xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager"
+ xsi:schemaLocation="
+ http://cxf.apache.org/core
+ http://cxf.apache.org/schemas/core.xsd
+ http://cxf.apache.org/transports/http/configuration
+ http://cxf.apache.org/schemas/configuration/http-conf.xsd
+ http://schemas.xmlsoap.org/ws/2005/02/rm/policy
+ http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd
+ http://cxf.apache.org/ws/rm/manager
+ http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <cxf:bus>
+ <cxf:features>
+ <cxf:logging/>
+ <wsa:addressing/>
+ <wsrm-mgr:reliableMessaging>
+ <wsrm-policy:RMAssertion>
+ <wsrm-policy:BaseRetransmissionInterval Milliseconds="4000"/>
+ <wsrm-policy:AcknowledgementInterval Milliseconds="2000"/>
+ </wsrm-policy:RMAssertion>
+ <wsrm-mgr:destinationPolicy>
+ <wsrm-mgr:acksPolicy intraMessageThreshold="0" />
+ </wsrm-mgr:destinationPolicy>
+ </wsrm-mgr:reliableMessaging>
+ </cxf:features>
+ </cxf:bus>
+
+</beans>
Property changes on: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/jaxws/samples/wsrm/wsrm-client-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss422.txt
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss422.txt 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss422.txt 2008-04-19 06:51:36 UTC (rev 6534)
@@ -9,6 +9,9 @@
org/jboss/test/ws/jaxws/samples/webserviceref/**
org/jboss/test/ws/jaxws/webserviceref/**
+# [JBWS-1178] Multiple virtual host and soap:address problem
+org/jboss/test/ws/jaxws/jbws1178/**
+
# [JBWS-1774] Provide tools implementation for CXF
org/jboss/test/ws/jaxws/complex/**
org/jboss/test/ws/jaxws/holder/**
Modified: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss423.txt
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss423.txt 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss423.txt 2008-04-19 06:51:36 UTC (rev 6534)
@@ -9,6 +9,9 @@
org/jboss/test/ws/jaxws/samples/webserviceref/**
org/jboss/test/ws/jaxws/webserviceref/**
+# [JBWS-1178] Multiple virtual host and soap:address problem
+org/jboss/test/ws/jaxws/jbws1178/**
+
# [JBWS-1774] Provide tools implementation for CXF
org/jboss/test/ws/jaxws/complex/**
org/jboss/test/ws/jaxws/holder/**
Modified: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss500.txt 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss500.txt 2008-04-19 06:51:36 UTC (rev 6534)
@@ -5,6 +5,9 @@
# Won't Fix: [CXF-1261] Handler does not see XOP message properly
org/jboss/test/ws/jaxws/samples/xop/doclit/XOPHandlerTestCase.*
+# [JBWS-1178] Multiple virtual host and soap:address problem
+org/jboss/test/ws/jaxws/jbws1178/**
+
# [JBWS-1774] Provide tools implementation for CXF
org/jboss/test/ws/jaxws/complex/**
org/jboss/test/ws/jaxws/holder/**
Modified: stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss501.txt
===================================================================
--- stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss501.txt 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/modules/testsuite/src/test/resources/test-excludes-jboss501.txt 2008-04-19 06:51:36 UTC (rev 6534)
@@ -5,6 +5,9 @@
# Won't Fix: [CXF-1261] Handler does not see XOP message properly
org/jboss/test/ws/jaxws/samples/xop/doclit/XOPHandlerTestCase.*
+# [JBWS-1178] Multiple virtual host and soap:address problem
+org/jboss/test/ws/jaxws/jbws1178/**
+
# [JBWS-1774] Provide tools implementation for CXF
org/jboss/test/ws/jaxws/complex/**
org/jboss/test/ws/jaxws/holder/**
Modified: stack/cxf/branches/tdiesler/trunk/pom.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/pom.xml 2008-04-19 06:37:55 UTC (rev 6533)
+++ stack/cxf/branches/tdiesler/trunk/pom.xml 2008-04-19 06:51:36 UTC (rev 6534)
@@ -20,6 +20,7 @@
<!-- Properties -->
<properties>
<cxf.version>2.0.5-incubator</cxf.version>
+ <cxf.stax.version>1.0.1</cxf.stax.version>
<jbossws.common.version>3.0.0-SNAPSHOT</jbossws.common.version>
<jbossws.framework.version>${version}</jbossws.framework.version>
<jbossws.spi.version>3.0.0-SNAPSHOT</jbossws.spi.version>
@@ -123,6 +124,11 @@
<artifactId>cxf-rt-ws-policy</artifactId>
<version>${cxf.version}</version>
</dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ <version>${cxf.stax.version}</version>
+ </dependency>
<!-- jboss provided -->
<dependency>
16 years, 9 months
JBossWS SVN: r6533 - container/jboss42/branches/jbossws-jboss422/src/main/etc.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-19 02:37:55 -0400 (Sat, 19 Apr 2008)
New Revision: 6533
Modified:
container/jboss42/branches/jbossws-jboss422/src/main/etc/component-info.xml
Log:
Fix resource filter
Modified: container/jboss42/branches/jbossws-jboss422/src/main/etc/component-info.xml
===================================================================
--- container/jboss42/branches/jbossws-jboss422/src/main/etc/component-info.xml 2008-04-19 06:34:35 UTC (rev 6532)
+++ container/jboss42/branches/jbossws-jboss422/src/main/etc/component-info.xml 2008-04-19 06:37:55 UTC (rev 6533)
@@ -2,20 +2,17 @@
<component id="jboss/jbossws-jboss42"
description="JBossWS container integration layer"
- version="@repository.id@"
+ version="${version}"
licenseType="lgpl">
<artifact id="jbossws-jboss42.jar"/>
<artifact id="jbossws-jboss42-src.zip"/>
<import componentref="jboss/jbossws-common">
- <compatible version="@jbossws-common@"/>
+ <compatible version="${jbossws.common.version}"/>
</import>
- <import componentref="jboss/jbossws-framework">
- <compatible version="@jbossws-framework@"/>
- </import>
<import componentref="jboss/jbossws-spi">
- <compatible version="@jbossws-spi@"/>
+ <compatible version="${jbossws.spi.version}"/>
</import>
<export>
16 years, 9 months
JBossWS SVN: r6532 - framework/trunk/src/main/etc.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-19 02:34:35 -0400 (Sat, 19 Apr 2008)
New Revision: 6532
Modified:
framework/trunk/src/main/etc/component-info.xml
Log:
Fix resource filter
Modified: framework/trunk/src/main/etc/component-info.xml
===================================================================
--- framework/trunk/src/main/etc/component-info.xml 2008-04-19 06:32:39 UTC (rev 6531)
+++ framework/trunk/src/main/etc/component-info.xml 2008-04-19 06:34:35 UTC (rev 6532)
@@ -13,10 +13,10 @@
<artifact id="wsprovide.sh"/>
<import componentref="jboss/jbossws-common">
- <compatible version="${jbossws-common}"/>
+ <compatible version="${jbossws.common.version}"/>
</import>
<import componentref="jboss/jbossws-spi">
- <compatible version="${jbossws-spi}"/>
+ <compatible version="${jbossws.spi.version}"/>
</import>
<export>
16 years, 9 months
JBossWS SVN: r6531 - in common/trunk: src/main/etc and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-19 02:32:39 -0400 (Sat, 19 Apr 2008)
New Revision: 6531
Modified:
common/trunk/pom.xml
common/trunk/src/main/etc/component-info.xml
Log:
Fix resource filter
Modified: common/trunk/pom.xml
===================================================================
--- common/trunk/pom.xml 2008-04-19 06:30:12 UTC (rev 6530)
+++ common/trunk/pom.xml 2008-04-19 06:32:39 UTC (rev 6531)
@@ -18,7 +18,7 @@
<!-- Properties -->
<properties>
- <jbossws.spi>3.0.0-SNAPSHOT</jbossws.spi>
+ <jbossws.spi.version>3.0.0-SNAPSHOT</jbossws.spi.version>
<jboss.common.version>1.2.1.GA</jboss.common.version>
<jboss.microcontainer.version>1.0.2</jboss.microcontainer.version>
</properties>
@@ -30,7 +30,7 @@
<dependency>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-spi</artifactId>
- <version>${jbossws.spi}</version>
+ <version>${jbossws.spi.version}</version>
</dependency>
<!-- provided apis -->
Modified: common/trunk/src/main/etc/component-info.xml
===================================================================
--- common/trunk/src/main/etc/component-info.xml 2008-04-19 06:30:12 UTC (rev 6530)
+++ common/trunk/src/main/etc/component-info.xml 2008-04-19 06:32:39 UTC (rev 6531)
@@ -9,7 +9,7 @@
<artifact id="jbossws-common-sources.jar"/>
<import componentref="jboss/jbossws-spi">
- <compatible version="${jbossws-spi}"/>
+ <compatible version="${jbossws.spi.version}"/>
</import>
<export>
16 years, 9 months
JBossWS SVN: r6530 - in spi/trunk: src/main/etc and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-19 02:30:12 -0400 (Sat, 19 Apr 2008)
New Revision: 6530
Modified:
spi/trunk/pom.xml
spi/trunk/src/main/etc/component-info.xml
Log:
Fix resource filter
Modified: spi/trunk/pom.xml
===================================================================
--- spi/trunk/pom.xml 2008-04-18 21:37:19 UTC (rev 6529)
+++ spi/trunk/pom.xml 2008-04-19 06:30:12 UTC (rev 6530)
@@ -120,6 +120,7 @@
<resource>
<targetPath>../etc</targetPath>
<directory>src/main/etc</directory>
+ <filtering>true</filtering>
</resource>
</resources>
<plugins>
Modified: spi/trunk/src/main/etc/component-info.xml
===================================================================
--- spi/trunk/src/main/etc/component-info.xml 2008-04-18 21:37:19 UTC (rev 6529)
+++ spi/trunk/src/main/etc/component-info.xml 2008-04-19 06:30:12 UTC (rev 6530)
@@ -2,7 +2,7 @@
<component id="jboss/jbossws-spi"
description="JBossWS SPI"
- version="@repository.id@"
+ version="${version}"
licenseType="lgpl">
<artifact id="jbossws-spi.jar"/>
16 years, 9 months
JBossWS SVN: r6529 - framework/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-18 17:37:19 -0400 (Fri, 18 Apr 2008)
New Revision: 6529
Modified:
framework/trunk/.classpath
Log:
Fix eclipse output
Modified: framework/trunk/.classpath
===================================================================
--- framework/trunk/.classpath 2008-04-18 21:37:15 UTC (rev 6528)
+++ framework/trunk/.classpath 2008-04-18 21:37:19 UTC (rev 6529)
@@ -10,5 +10,5 @@
<classpathentry excluding="**" kind="src" output="src/test/resources" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
16 years, 9 months
JBossWS SVN: r6528 - maven/parent/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-18 17:37:15 -0400 (Fri, 18 Apr 2008)
New Revision: 6528
Modified:
maven/parent/trunk/.classpath
Log:
Fix eclipse output
Modified: maven/parent/trunk/.classpath
===================================================================
--- maven/parent/trunk/.classpath 2008-04-18 21:37:11 UTC (rev 6527)
+++ maven/parent/trunk/.classpath 2008-04-18 21:37:15 UTC (rev 6528)
@@ -2,5 +2,5 @@
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
16 years, 9 months
JBossWS SVN: r6527 - stack/cxf/branches/tdiesler/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-18 17:37:11 -0400 (Fri, 18 Apr 2008)
New Revision: 6527
Modified:
stack/cxf/branches/tdiesler/trunk/.classpath
Log:
Fix eclipse output
Modified: stack/cxf/branches/tdiesler/trunk/.classpath
===================================================================
--- stack/cxf/branches/tdiesler/trunk/.classpath 2008-04-18 21:37:07 UTC (rev 6526)
+++ stack/cxf/branches/tdiesler/trunk/.classpath 2008-04-18 21:37:11 UTC (rev 6527)
@@ -7,5 +7,5 @@
<classpathentry excluding="**" kind="src" output="modules/client/src/main/resources" path="modules/client/src/main/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
16 years, 9 months
JBossWS SVN: r6526 - container/jboss42/branches/jbossws-jboss422.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-18 17:37:07 -0400 (Fri, 18 Apr 2008)
New Revision: 6526
Modified:
container/jboss42/branches/jbossws-jboss422/.classpath
Log:
Fix eclipse output
Modified: container/jboss42/branches/jbossws-jboss422/.classpath
===================================================================
--- container/jboss42/branches/jbossws-jboss422/.classpath 2008-04-18 21:37:03 UTC (rev 6525)
+++ container/jboss42/branches/jbossws-jboss422/.classpath 2008-04-18 21:37:07 UTC (rev 6526)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path=""/>
+ <classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
16 years, 9 months
JBossWS SVN: r6525 - spi/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-18 17:37:03 -0400 (Fri, 18 Apr 2008)
New Revision: 6525
Modified:
spi/trunk/.classpath
Log:
Fix eclipse output
Modified: spi/trunk/.classpath
===================================================================
--- spi/trunk/.classpath 2008-04-18 21:36:59 UTC (rev 6524)
+++ spi/trunk/.classpath 2008-04-18 21:37:03 UTC (rev 6525)
@@ -10,5 +10,5 @@
<classpathentry excluding="**" kind="src" output="src/test/resources" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
16 years, 9 months