[jbossws-commits] JBossWS SVN: r1288 - in branches/tdiesler/trunk/src/test: ant java/org/jboss/test/ws/jaxws java/org/jboss/test/ws/jaxws/webserviceref resources/jaxws resources/jaxws/webserviceref resources/jaxws/webserviceref/META-INF resources/jaxws/webserviceref/META-INF/wsdl resources/jaxws/webserviceref/WEB-INF

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Mon Oct 23 12:09:26 EDT 2006


Author: thomas.diesler at jboss.com
Date: 2006-10-23 12:09:18 -0400 (Mon, 23 Oct 2006)
New Revision: 1288

Added:
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/Echo.java
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/EchoResponse.java
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/ObjectFactory.java
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.java
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.java
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.java
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefTestCase.java
   branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/package-info.java
   branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/
   branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/META-INF/
   branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/META-INF/wsdl/
   branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/META-INF/wsdl/TestEndpoint.wsdl
   branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/WEB-INF/
   branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/WEB-INF/web.xml
Modified:
   branches/tdiesler/trunk/src/test/ant/build-jars-jaxws.xml
Log:
Add @WebServiceRef test case

Modified: branches/tdiesler/trunk/src/test/ant/build-jars-jaxws.xml
===================================================================
--- branches/tdiesler/trunk/src/test/ant/build-jars-jaxws.xml	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/ant/build-jars-jaxws.xml	2006-10-23 16:09:18 UTC (rev 1288)
@@ -403,6 +403,13 @@
       </metainf>
     </jar>
     
+    <!-- jaxws-webserviceref -->
+    <war warfile="${build.test.dir}/libs/jaxws-webserviceref.war" webxml="${build.test.dir}/resources/jaxws/webserviceref/WEB-INF/web.xml">
+      <classes dir="${build.test.dir}/classes">
+        <include name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.class"/>
+      </classes>
+    </war>
+    
     <!-- jaxws-wsaddressing-action -->
     <war warfile="${build.test.dir}/libs/jaxws-wsaddressing-action-rpc.war" webxml="${build.test.dir}/resources/jaxws/wsaddressing/action/WEB-INF/web.xml">
       <classes dir="${build.test.dir}/classes">

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/Echo.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/Echo.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/Echo.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,62 @@
+
+package org.jboss.test.ws.jaxws.webserviceref;
+
+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 echo complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="echo">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="arg0" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "echo", propOrder = {
+    "arg0"
+})
+public class Echo {
+
+    @XmlElement(namespace = "http://org.jboss.ws/wsref")
+    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: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/Echo.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/EchoResponse.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/EchoResponse.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/EchoResponse.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,62 @@
+
+package org.jboss.test.ws.jaxws.webserviceref;
+
+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>
+ * &lt;complexType name="echoResponse">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "echoResponse", propOrder = {
+    "_return"
+})
+public class EchoResponse {
+
+    @XmlElement(name = "return", namespace = "http://org.jboss.ws/wsref")
+    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: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/EchoResponse.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/ObjectFactory.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/ObjectFactory.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/ObjectFactory.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,71 @@
+
+package org.jboss.test.ws.jaxws.webserviceref;
+
+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.webserviceref 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.
+ * 
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+    private final static QName _EchoResponse_QNAME = new QName("http://org.jboss.ws/wsref", "echoResponse");
+    private final static QName _Echo_QNAME = new QName("http://org.jboss.ws/wsref", "echo");
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.test.ws.jaxws.webserviceref
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link EchoResponse }
+     * 
+     */
+    public EchoResponse createEchoResponse() {
+        return new EchoResponse();
+    }
+
+    /**
+     * Create an instance of {@link Echo }
+     * 
+     */
+    public Echo createEcho() {
+        return new Echo();
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link EchoResponse }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://org.jboss.ws/wsref", 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://org.jboss.ws/wsref", name = "echo")
+    public JAXBElement<Echo> createEcho(Echo value) {
+        return new JAXBElement<Echo>(_Echo_QNAME, Echo.class, null, value);
+    }
+
+}


Property changes on: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,36 @@
+
+package org.jboss.test.ws.jaxws.webserviceref;
+
+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 the JAXWS SI.
+ * JAX-WS RI 2.0_01-b59-fcs
+ * Generated source version: 2.0
+ * 
+ */
+ at WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/wsref")
+public interface TestEndpoint {
+
+
+    /**
+     * 
+     * @param arg0
+     * @return
+     *     returns java.lang.String
+     */
+    @WebMethod
+    @WebResult(targetNamespace = "http://org.jboss.ws/wsref")
+    @RequestWrapper(localName = "echo", targetNamespace = "http://org.jboss.ws/wsref", className = "org.jboss.test.ws.jaxws.webserviceref.Echo")
+    @ResponseWrapper(localName = "echoResponse", targetNamespace = "http://org.jboss.ws/wsref", className = "org.jboss.test.ws.jaxws.webserviceref.EchoResponse")
+    public String echo(
+        @WebParam(name = "arg0", targetNamespace = "http://org.jboss.ws/wsref")
+        String arg0);
+
+}


Property changes on: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,41 @@
+/*
+  * 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.webserviceref;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * Test the JAXWS annotation: javax.jws.WebServiceRef
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 23-Oct-2006
+ */
+ at WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/wsref")
+public class TestEndpointImpl
+{
+   @WebMethod
+   public String echo(String input)
+   {
+      return input;
+   }
+}


Property changes on: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,53 @@
+
+package org.jboss.test.ws.jaxws.webserviceref;
+
+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;
+
+
+/**
+ * This class was generated by the JAXWS SI.
+ * JAX-WS RI 2.0_01-b59-fcs
+ * Generated source version: 2.0
+ * 
+ */
+ at WebServiceClient(name = "TestEndpointService", targetNamespace = "http://org.jboss.ws/wsref", wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl")
+public class TestEndpointService
+    extends Service
+{
+
+    private final static URL TESTENDPOINTSERVICE_WSDL_LOCATION;
+
+    static {
+        URL url = null;
+        try {
+            url = new URL("file:./resources/jaxws/webserviceref/META-INF/wsdl/TestEndpoint.wsdl");
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+        }
+        TESTENDPOINTSERVICE_WSDL_LOCATION = url;
+    }
+
+    public TestEndpointService(URL wsdlLocation, QName serviceName) {
+        super(wsdlLocation, serviceName);
+    }
+
+    public TestEndpointService() {
+        super(TESTENDPOINTSERVICE_WSDL_LOCATION, new QName("http://org.jboss.ws/wsref", "TestEndpointService"));
+    }
+
+    /**
+     * 
+     * @return
+     *     returns TestEndpoint
+     */
+    @WebEndpoint(name = "TestEndpointPort")
+    public TestEndpoint getTestEndpointPort() {
+        return (TestEndpoint)super.getPort(new QName("http://org.jboss.ws/wsref", "TestEndpointPort"), TestEndpoint.class);
+    }
+
+}


Property changes on: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefTestCase.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefTestCase.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefTestCase.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,75 @@
+/*
+ * 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.webserviceref;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory;
+
+/**
+ * Test the JSR-181 annotation: javax.jws.WebService
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 29-Apr-2005
+ */
+public class WebServiceRefTestCase extends JBossWSTest
+{
+   public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-webserviceref";
+   
+   public static Test suite()
+   {
+      return JBossWSTestSetup.newTestSetup(WebServiceRefTestCase.class, "jaxws-webserviceref.war");
+   }
+
+   public void testDynamicProxy() throws Exception
+   {
+      assertWSDLAccess();
+      
+      URL wsdlURL = new File("resources/jaxws/webserviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
+      QName qname = new QName("http://org.jboss.ws/wsref", "TestEndpointService");
+      Service service = Service.create(wsdlURL, qname);
+      TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
+
+      String helloWorld = "Hello world!";
+      Object retObj = port.echo(helloWorld);
+      assertEquals(helloWorld, retObj);
+   }
+
+   private void assertWSDLAccess() throws MalformedURLException
+   {
+      URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+      WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
+      WSDLDefinitions wsdlDefinitions = factory.parse(wsdlURL);
+      assertNotNull(wsdlDefinitions);
+   }
+}


Property changes on: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefTestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/package-info.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/package-info.java	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/package-info.java	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://org.jboss.ws/wsref")
+package org.jboss.test.ws.jaxws.webserviceref;


Property changes on: branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/META-INF/wsdl/TestEndpoint.wsdl
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/META-INF/wsdl/TestEndpoint.wsdl	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/META-INF/wsdl/TestEndpoint.wsdl	2006-10-23 16:09:18 UTC (rev 1288)
@@ -0,0 +1,50 @@
+<!--
+  wsimport -d ../../../java -keep -p org.jboss.test.ws.jaxws.webserviceref META-INF/wsdl/TestEndpoint.wsdl
+-->
+<definitions name='TestEndpointService' targetNamespace='http://org.jboss.ws/wsref' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/wsref' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+  <xs:schema targetNamespace='http://org.jboss.ws/wsref' version='1.0' xmlns:tns='http://org.jboss.ws/wsref' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+   <xs:element name='echo' type='tns:echo'/>
+   <xs:element name='echoResponse' type='tns:echoResponse'/>
+   <xs:complexType name='echo'>
+    <xs:sequence>
+     <xs:element form='qualified' minOccurs='0' name='arg0' type='xs:string'/>
+    </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name='echoResponse'>
+    <xs:sequence>
+     <xs:element form='qualified' minOccurs='0' name='return' type='xs:string'/>
+    </xs:sequence>
+   </xs:complexType>
+  </xs:schema>
+ </types>
+ <message name='TestEndpoint_echo'>
+  <part element='tns:echo' name='echo'/>
+ </message>
+ <message name='TestEndpoint_echoResponse'>
+  <part element='tns:echoResponse' name='echoResponse'/>
+ </message>
+ <portType name='TestEndpoint'>
+  <operation name='echo' parameterOrder='echo'>
+   <input message='tns:TestEndpoint_echo'/>
+   <output message='tns:TestEndpoint_echoResponse'/>
+  </operation>
+ </portType>
+ <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
+  <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+  <operation name='echo'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body use='literal'/>
+   </input>
+   <output>
+    <soap:body use='literal'/>
+   </output>
+  </operation>
+ </binding>
+ <service name='TestEndpointService'>
+  <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
+   <soap:address location='http://@jbosstest.host.name@:8080/jaxws-webserviceref/TestEndpoint'/>
+  </port>
+ </service>
+</definitions>
\ No newline at end of file


Property changes on: branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/META-INF/wsdl/TestEndpoint.wsdl
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/WEB-INF/web.xml
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/WEB-INF/web.xml	2006-10-23 15:00:50 UTC (rev 1287)
+++ branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/WEB-INF/web.xml	2006-10-23 16:09:18 UTC (rev 1288)
@@ -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.webserviceref.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: branches/tdiesler/trunk/src/test/resources/jaxws/webserviceref/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list