Author: darran.lofthouse(a)jboss.com
Date: 2007-01-10 10:59:56 -0500 (Wed, 10 Jan 2007)
New Revision: 1904
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/JBWS1383TestCase.java
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook.java
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook_PortType.java
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/jaxrpc-mapping.xml
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/web.xml
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/webservices.xml
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/wsdl/
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/wsdl/PhoneBook.wsdl
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/wstools-config.xml
Modified:
branches/dlofthouse/JBWS-1383/jbossws-tests/ant-import/build-jars-jaxrpc.xml
Log:
JBWS-1383 - Test case.
Modified: branches/dlofthouse/JBWS-1383/jbossws-tests/ant-import/build-jars-jaxrpc.xml
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/ant-import/build-jars-jaxrpc.xml 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/ant-import/build-jars-jaxrpc.xml 2007-01-10
15:59:56 UTC (rev 1904)
@@ -918,6 +918,19 @@
</metainf>
</jar>
+ <!-- jaxrpc-jbws1383 -->
+ <war warfile="${tests.output.dir}/libs/jaxrpc-jbws1383.war"
webxml="${tests.output.dir}/resources/jaxrpc/jbws1383/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxrpc/jbws1383/*.class"/>
+ <exclude
name="org/jboss/test/ws/jaxrpc/jbws1383/*TestCase.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/resources/jaxrpc/jbws1383/WEB-INF">
+ <include name="webservices.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+
<!-- jaxrpc-jbws1427 -->
<jar destfile="${tests.output.dir}/libs/jaxrpc-jbws1427.jar">
<fileset dir="${tests.output.dir}/classes">
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/JBWS1383TestCase.java
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/JBWS1383TestCase.java 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/JBWS1383TestCase.java 2007-01-10
15:59:56 UTC (rev 1904)
@@ -0,0 +1,34 @@
+/*
+ * 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.jbws1383;
+
+import org.jboss.test.ws.JBossWSTest;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 10 Jan 2007
+ */
+public class JBWS1383TestCase extends JBossWSTest
+{
+
+}
Property changes on:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/JBWS1383TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook.java
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook.java 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook.java 2007-01-10
15:59:56 UTC (rev 1904)
@@ -0,0 +1,42 @@
+/*
+ * 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.jbws1383;
+
+import java.rmi.RemoteException;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 10 Jan 2007
+ */
+public class PhoneBook implements PhoneBook_PortType
+{
+
+ /**
+ * @see org.jboss.test.ws.jaxrpc.jbws1383.PhoneBook_PortType#lookup(java.lang.String)
+ */
+ public String lookup(String lookup) throws RemoteException
+ {
+ return "(1234) 567890";
+ }
+
+}
Property changes on:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook_PortType.java
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook_PortType.java 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook_PortType.java 2007-01-10
15:59:56 UTC (rev 1904)
@@ -0,0 +1,15 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Jan 10 16:32:33 CET 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+package org.jboss.test.ws.jaxrpc.jbws1383;
+public interface PhoneBook_PortType extends java.rmi.Remote
+{
+
+ public java.lang.String lookup(java.lang.String lookup) throws
java.rmi.RemoteException;
+}
Property changes on:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1383/PhoneBook_PortType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/jaxrpc-mapping.xml
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/jaxrpc-mapping.xml 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/jaxrpc-mapping.xml 2007-01-10
15:59:56 UTC (rev 1904)
@@ -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.jbws1383</package-type>
+ <
namespaceURI>http://test.jboss.org/ws/jbws1383</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+
<service-interface>org.jboss.test.ws.jaxrpc.jbws1383.PhoneBook_Service</service-interface>
+ <wsdl-service-name
xmlns:serviceNS='http://test.jboss.org/ws/jbws1383'>serviceNS:...
+ <port-mapping>
+ <port-name>PhoneBookPort</port-name>
+ <java-port-name>PhoneBookPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1383.PhoneBook_PortType</service-endpoint-interface>
+ <wsdl-port-type
xmlns:portTypeNS='http://test.jboss.org/ws/jbws1383'>portTypeN...
+ <wsdl-binding
xmlns:bindingNS='http://test.jboss.org/ws/jbws1383'>bindingNS:...
+ <service-endpoint-method-mapping>
+ <java-method-name>lookup</java-method-name>
+ <wsdl-operation>lookup</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://test.jboss.org/ws/jbws1383'>wsdlMsgNS:...
+ <wsdl-message-part-name>parameters</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://test.jboss.org/ws/jbws1383'>wsdlMsgNS:...
+ <wsdl-message-part-name>result</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:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/web.xml
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/web.xml 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/web.xml 2007-01-10
15:59:56 UTC (rev 1904)
@@ -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>PhoneBook</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxrpc.jbws1383.PhoneBook</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>PhoneBook</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/webservices.xml
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/webservices.xml 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/webservices.xml 2007-01-10
15:59:56 UTC (rev 1904)
@@ -0,0 +1 @@
+<webservices
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'
version='1.1'><webservice-description><webservice-description-name>PhoneBook</webservice-description-name><wsdl-file>WEB-INF/wsdl/PhoneBook.wsdl</wsdl-file><jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file><port-component><port-component-name>PhoneBookPort</port-component-name><wsdl-port
xmlns:portNS='http://test.jboss.org/ws/jbws1383'>portNS:PhoneB...
\ No newline at end of file
Property changes on:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/wsdl/PhoneBook.wsdl
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/wsdl/PhoneBook.wsdl 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/wsdl/PhoneBook.wsdl 2007-01-10
15:59:56 UTC (rev 1904)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook'
targetNamespace='http://test.jboss.org/ws/jbws1383'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:ns1='http://test.jboss.org/ws/jbws1383/types'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://test.jboss.org/ws/jbws1383'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema
targetNamespace='http://test.jboss.org/ws/jbws1383/types'
xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://test.jboss.org/ws/jbws1383/types'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <simpleType name="Person">
+ <restriction base="string">
+ <maxLength value="20"/>
+ </restriction>
+ </simpleType>
+
+ <simpleType name="TelephoneNumber">
+ <restriction base="string">
+ <maxLength value="20"/>
+ </restriction>
+ </simpleType>
+
+ <element name='lookup' type='tns:Person'/>
+ <element name='lookupResponse' type='tns:TelephoneNumber'/>
+ </schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/WEB-INF/wsdl/PhoneBook.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/wstools-config.xml
===================================================================
---
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/wstools-config.xml 2007-01-10
15:57:47 UTC (rev 1903)
+++
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/wstools-config.xml 2007-01-10
15:59:56 UTC (rev 1904)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -config wstools-config.xml
+-->
+
+<configuration>
+ <global>
+ <package-namespace package="org.jboss.test.ws.jaxrpc.jbws1383"
namespace="http://test.jboss.org/ws/jbws1383"/>
+ </global>
+
+ <wsdl-java location="WEB-INF/wsdl/PhoneBook.wsdl"
parameter-style="bare">
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="PhoneBook" />
+ </wsdl-java>
+</configuration>
Property changes on:
branches/dlofthouse/JBWS-1383/jbossws-tests/src/main/resources/jaxrpc/jbws1383/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF