[jbossws-commits] JBossWS SVN: r4859 - in stack/native/branches/dlofthouse/JBWS-1862: src/test/java/org/jboss/test/ws/jaxrpc and 5 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Oct 23 06:53:47 EDT 2007


Author: darran.lofthouse at jboss.com
Date: 2007-10-23 06:53:47 -0400 (Tue, 23 Oct 2007)
New Revision: 4859

Added:
   stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/
   stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/JBWS1862TestCase.java
   stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpoint.java
   stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpointImpl.java
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/jaxrpc-mapping.xml
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/web.xml
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/webservices.xml
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/wsdl/
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/wsdl/TestService.wsdl
   stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/wstools-config.xml
Modified:
   stack/native/branches/dlofthouse/JBWS-1862/ant-import-tests/build-jars-jaxrpc.xml
Log:
Initial test case to investigate issue.

Modified: stack/native/branches/dlofthouse/JBWS-1862/ant-import-tests/build-jars-jaxrpc.xml
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/ant-import-tests/build-jars-jaxrpc.xml	2007-10-22 18:47:55 UTC (rev 4858)
+++ stack/native/branches/dlofthouse/JBWS-1862/ant-import-tests/build-jars-jaxrpc.xml	2007-10-23 10:53:47 UTC (rev 4859)
@@ -2654,7 +2654,20 @@
         <include name="jboss-service.xml"/>
       </metainf>
     </jar>
-
+	  
+	<!-- jaxrpc-jbws1862 -->
+    <war warfile="${tests.output.dir}/libs/jaxrpc-jbws1862.war" webxml="${tests.output.dir}/resources/jaxrpc/jbws1862/WEB-INF/web.xml">
+      <classes dir="${tests.output.dir}/classes">
+        <include name="org/jboss/test/ws/jaxrpc/jbws1862/TestEndpoint.class"/>
+        <include name="org/jboss/test/ws/jaxrpc/jbws1862/TestEndpointImpl.class"/>
+      </classes>
+      <webinf dir="${tests.output.dir}/resources/jaxrpc/jbws1862/WEB-INF">
+        <include name="webservices.xml"/>
+        <include name="jaxrpc-mapping.xml"/>
+        <include name="wsdl/**"/>
+      </webinf>
+    </war>
+	  
   	<mkdir dir="${tests.output.dir}/libs/jaxrpc-jbws1762-exploded.sar"/>
   	<mkdir dir="${tests.output.dir}/libs/jaxrpc-jbws1762-exploded.sar/META-INF"/>
   	<copy

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/JBWS1862TestCase.java
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/JBWS1862TestCase.java	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/JBWS1862TestCase.java	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, 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.jaxrpc.jbws1862;
+
+import java.io.File;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Call;
+import javax.xml.rpc.ParameterMode;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+
+import junit.framework.Test;
+
+import org.jboss.ws.Constants;
+import org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-1862] http://jira.jboss.com/jira/browse/JBWS-1862
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @since Oct 22, 2007
+ */
+public class JBWS1862TestCase extends JBossWSTest
+{
+
+   private final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-jbws1862/TestEndpoint";
+   private static final String NAMESPACE = "http://org.jboss.test.ws/jbws1862";
+
+   public static Test suite() throws Exception
+   {
+      return new JBossWSTestSetup(JBWS1862TestCase.class, "jaxrpc-jbws1862.war");
+   }
+
+   public void testUnconfiguredCall() throws Exception
+   {
+      QName serviceName = new QName(NAMESPACE, "TestService");
+      QName operationName = new QName(NAMESPACE, "echo");
+
+      ServiceFactory factory = ServiceFactory.newInstance();
+      Service service = factory.createService(serviceName);
+
+      Call call = (Call)service.createCall();
+      call.setOperationName(operationName);
+      call.addParameter("String_1", Constants.TYPE_LITERAL_STRING, ParameterMode.IN);
+      call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+      call.setReturnType(Constants.TYPE_LITERAL_STRING, String.class);
+
+      String message = "Hello World!!";
+      String response = (String)call.invoke(new Object[] { message });
+      assertEquals(message, response);
+   }
+
+   public void testUnconfiguredCall_2() throws Exception
+   {
+      QName serviceName = new QName(NAMESPACE, "TestService");
+      QName operationName = new QName(NAMESPACE, "echo");
+
+      ServiceFactory factory = ServiceFactory.newInstance();
+      Service service = factory.createService(serviceName);
+
+      Call call = (Call)service.createCall();
+      call.setOperationName(operationName);
+      call.addParameter("String_1", Constants.TYPE_LITERAL_STRING, ParameterMode.IN);
+      call.addParameter("String_2", Constants.TYPE_LITERAL_STRING, ParameterMode.OUT);
+      call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+      call.setReturnType(Constants.TYPE_LITERAL_STRING, String.class);
+
+      String message = "Hello World!!";
+      String response = (String)call.invoke(new Object[] { message });
+      assertEquals(message, response);
+   }
+
+   public void testConfiguredCall() throws Exception
+   {
+      QName serviceName = new QName(NAMESPACE, "TestService");
+      QName operationName = new QName(NAMESPACE, "echo");
+
+      File javaWsdlMappingFile = new File("resources/jaxrpc/jbws1862/WEB-INF/jaxrpc-mapping.xml");
+      URL wsdlLocation = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+
+      ServiceFactoryImpl factory = (ServiceFactoryImpl)ServiceFactoryImpl.newInstance();
+      Service service = factory.createService(wsdlLocation, serviceName, javaWsdlMappingFile.toURL());
+
+      Call call = (Call)service.createCall();
+      call.setOperationName(operationName);
+      //call.addParameter("String_1", Constants.TYPE_LITERAL_STRING, ParameterMode.IN);
+      call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+      call.setReturnType(Constants.TYPE_LITERAL_STRING, String.class);
+
+      String message = "Hello World!!";
+      String response = (String)call.invoke(new Object[] { message });
+      assertEquals(message, response);
+   }
+
+   public void testPartlyConfiguredCall() throws Exception
+   {
+      QName serviceName = new QName(NAMESPACE, "TestService");
+      QName operationName = new QName(NAMESPACE, "echo");
+
+      URL wsdlLocation = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+
+      ServiceFactory factory = (ServiceFactory)ServiceFactory.newInstance();
+      Service service = factory.createService(wsdlLocation, serviceName);
+
+      Call call = (Call)service.createCall();
+      call.setOperationName(operationName);
+      //call.addParameter("String_1", Constants.TYPE_LITERAL_STRING, ParameterMode.IN);
+      call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+      call.setReturnType(Constants.TYPE_LITERAL_STRING, String.class);
+
+      String message = "Hello World!!";
+      String response = (String)call.invoke(new Object[] { message });
+      assertEquals(message, response);
+   }
+}


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/JBWS1862TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpoint.java
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpoint.java	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpoint.java	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, 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.jaxrpc.jbws1862;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ *
+ * @author darran.lofthouse at jboss.com
+ * @since Oct 22, 2007
+ */
+public interface TestEndpoint extends Remote
+{
+
+   public String echo(final String message) throws RemoteException;
+
+}


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpoint.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpointImpl.java
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpointImpl.java	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpointImpl.java	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, 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.jaxrpc.jbws1862;
+
+/**
+ *
+ * @author darran.lofthouse at jboss.com
+ * @since Oct 22, 2007
+ */
+public class TestEndpointImpl implements TestEndpoint
+{
+
+   /**
+    * @see org.jboss.test.ws.jaxrpc.jbws1862.TestEndpoint#echo(java.lang.String)
+    */
+   public String echo(final String message)
+   {
+      return message;
+   }
+
+}


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/java/org/jboss/test/ws/jaxrpc/jbws1862/TestEndpointImpl.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/jaxrpc-mapping.xml	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/jaxrpc-mapping.xml	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+  <package-type>org.jboss.test.ws.jaxrpc.jbws1862</package-type>
+  <namespaceURI>http://org.jboss.test.ws/jbws1862/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+  <service-interface>org.jboss.test.ws.jaxrpc.jbws1862.TestService</service-interface>
+  <wsdl-service-name xmlns:serviceNS='http://org.jboss.test.ws/jbws1862'>serviceNS:TestService</wsdl-service-name>
+  <port-mapping>
+   <port-name>TestEndpointPort</port-name>
+   <java-port-name>TestEndpointPort</java-port-name>
+  </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+  <service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1862.TestEndpoint</service-endpoint-interface>
+  <wsdl-port-type xmlns:portTypeNS='http://org.jboss.test.ws/jbws1862'>portTypeNS:TestEndpoint</wsdl-port-type>
+  <wsdl-binding xmlns:bindingNS='http://org.jboss.test.ws/jbws1862'>bindingNS:TestEndpointBinding</wsdl-binding>
+  <service-endpoint-method-mapping>
+   <java-method-name>echo</java-method-name>
+   <wsdl-operation>echo</wsdl-operation>
+   <method-param-parts-mapping>
+    <param-position>0</param-position>
+    <param-type>java.lang.String</param-type>
+    <wsdl-message-mapping>
+     <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1862'>wsdlMsgNS:TestEndpoint_echo</wsdl-message>
+     <wsdl-message-part-name>String_1</wsdl-message-part-name>
+     <parameter-mode>IN</parameter-mode>
+    </wsdl-message-mapping>
+   </method-param-parts-mapping>
+   <wsdl-return-value-mapping>
+    <method-return-value>java.lang.String</method-return-value>
+    <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1862'>wsdlMsgNS:TestEndpoint_echoResponse</wsdl-message>
+    <wsdl-message-part-name>String_2</wsdl-message-part-name>
+   </wsdl-return-value-mapping>
+  </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/web.xml
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/web.xml	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/web.xml	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+  version="2.4">
+
+  <servlet>
+    <servlet-name>TestEndpoint</servlet-name>
+    <servlet-class>org.jboss.test.ws.jaxrpc.jbws1862.TestEndpointImpl</servlet-class>
+  </servlet>
+
+  <servlet-mapping>
+    <servlet-name>TestEndpoint</servlet-name>
+    <url-pattern>/TestEndpoint</url-pattern>
+  </servlet-mapping>
+
+</web-app>
+


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/webservices.xml
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/webservices.xml	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/webservices.xml	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+  <webservice-description-name>TestService</webservice-description-name>
+  <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+  <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+  <port-component>
+   <port-component-name>TestEndpointPort</port-component-name>
+   <wsdl-port xmlns:portNS='http://org.jboss.test.ws/jbws1862'>portNS:TestEndpointPort</wsdl-port>
+   <service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1862.TestEndpoint</service-endpoint-interface>
+   <service-impl-bean>
+    <servlet-link>TestEndpoint</servlet-link>
+   </service-impl-bean>
+  </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/wsdl/TestService.wsdl	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/wsdl/TestService.wsdl	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.test.ws/jbws1862' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.test.ws/jbws1862' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='TestEndpoint_echo'>
+  <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='TestEndpoint_echoResponse'>
+  <part name='String_2' type='xsd:string'/>
+ </message>
+ <portType name='TestEndpoint'>
+  <operation name='echo' parameterOrder='String_1'>
+   <input message='tns:TestEndpoint_echo'/>
+   <output message='tns:TestEndpoint_echoResponse'/>
+  </operation>
+ </portType>
+ <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
+  <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+  <operation name='echo'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body namespace='http://org.jboss.test.ws/jbws1862' use='literal'/>
+   </input>
+   <output>
+    <soap:body namespace='http://org.jboss.test.ws/jbws1862' use='literal'/>
+   </output>
+  </operation>
+ </binding>
+ <service name='TestService'>
+  <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
+   <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+  </port>
+ </service>
+</definitions>
\ No newline at end of file


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/wstools-config.xml
===================================================================
--- stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/wstools-config.xml	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/wstools-config.xml	2007-10-23 10:53:47 UTC (rev 4859)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  wstools.sh -cp ../../../../../output/tests/classes -dest ./WEB-INF -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+	
+  <java-wsdl>
+    <service name="TestService" endpoint="org.jboss.test.ws.jaxrpc.jbws1862.TestEndpoint" style="rpc">
+    </service>
+    <namespaces target-namespace="http://org.jboss.test.ws/jbws1862" type-namespace="http://org.jboss.test.ws/jbws1862/types"/>
+    <mapping file="jaxrpc-mapping.xml"/>
+    <webservices servlet-link="TestEndpoint"/>
+  </java-wsdl>
+	
+</configuration>


Property changes on: stack/native/branches/dlofthouse/JBWS-1862/src/test/resources/jaxrpc/jbws1862/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list