Author: darran.lofthouse(a)jboss.com
Date: 2007-01-09 07:35:24 -0500 (Tue, 09 Jan 2007)
New Revision: 1871
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorld.java
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldBean.java
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldPort.java
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldResponse.java
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/JBWS1436TestCase.java
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/application-client.xml
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jaxrpc-mapping.xml
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jboss-client.xml
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/wsdl/
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/wsdl/TestService.wsdl
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/WEB-INF/
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/WEB-INF/web.xml
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/wstools-config.xml
Modified:
branches/jbossws-1.0.4.GA_JBWS-1436/src/main/java/org/jboss/ws/jaxrpc/ParameterWrapping.java
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/ant/build-jars-jaxws.xml
Log:
JBWS-1436 - Test case and temporary fix.
Modified:
branches/jbossws-1.0.4.GA_JBWS-1436/src/main/java/org/jboss/ws/jaxrpc/ParameterWrapping.java
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/main/java/org/jboss/ws/jaxrpc/ParameterWrapping.java 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/main/java/org/jboss/ws/jaxrpc/ParameterWrapping.java 2007-01-09
12:35:24 UTC (rev 1871)
@@ -459,8 +459,8 @@
if (operationMetaData.isDocumentWrapped() == false)
throw new WSException("Operation is not document/literal (wrapped)");
- if (wrappedTypes.size() == 0)
- throw new WSException("No wrapped types available");
+ if (wrappedTypes == null)
+ throw new WSException("Cannot generate a type when their is no type
information");
String serviceName = serviceMetaData.getQName().getLocalPart();
String parameterName = pmd.getXmlName().getLocalPart();
Modified: branches/jbossws-1.0.4.GA_JBWS-1436/src/test/ant/build-jars-jaxws.xml
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1436/src/test/ant/build-jars-jaxws.xml 2007-01-08
21:52:08 UTC (rev 1870)
+++ branches/jbossws-1.0.4.GA_JBWS-1436/src/test/ant/build-jars-jaxws.xml 2007-01-09
12:35:24 UTC (rev 1871)
@@ -111,6 +111,26 @@
</classes>
</war>
+ <!-- jaxws-jbws1436 -->
+ <war destfile="${build.tests.dir}/libs/jaxws-jbws1436.war"
webxml="${build.tests.dir}/resources/jaxws/jbws1436/WEB-INF/web.xml">
+ <classes dir="${build.tests.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/jbws1436/HelloWorldBean.class"/>
+ </classes>
+ </war>
+ <jar destfile="${build.tests.dir}/libs/jaxws-jbws1436-client.jar">
+ <fileset dir="${build.tests.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/jbws1436/HelloWorld.class"/>
+ <include
name="org/jboss/test/ws/jaxws/jbws1436/HelloWorldPort.class"/>
+ <include
name="org/jboss/test/ws/jaxws/jbws1436/HelloWorldResponse.class"/>
+ </fileset>
+ <metainf
dir="${build.tests.dir}/resources/jaxws/jbws1436/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/TestService.wsdl"/>
+ </metainf>
+ </jar>
+
<!-- jaxws-jsr181-complex -->
<war warfile="${build.tests.dir}/libs/jaxws-jsr181-complex.war"
webxml="${build.tests.dir}/resources/jaxws/jsr181/complex/WEB-INF/web.xml">
<classes dir="${build.tests.dir}/classes">
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorld.java
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorld.java 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorld.java 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,18 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Tue Jan 09 13:27:11 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.jaxws.jbws1436;
+
+
+public class HelloWorld
+{
+public HelloWorld(){
+}
+}
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorld.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldBean.java
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldBean.java 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldBean.java 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,48 @@
+/*
+ * 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.jaxws.jbws1436;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+import org.jboss.logging.Logger;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 9 Jan 2007
+ */
+@WebService(targetNamespace = "http://org.jboss/test/ws/jbws1436", name =
"HelloWorldPort")
+public class HelloWorldBean
+{
+
+ private static final Logger log = Logger.getLogger(HelloWorldBean.class);
+
+ @WebMethod
+ public String helloWorld()
+ {
+ log.info("Hello World");
+
+ return "Hello World";
+ }
+
+}
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldPort.java
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldPort.java 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldPort.java 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,15 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Tue Jan 09 13:27:11 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.jaxws.jbws1436;
+public interface HelloWorldPort extends java.rmi.Remote
+{
+
+ public org.jboss.test.ws.jaxws.jbws1436.HelloWorldResponse
helloWorld(org.jboss.test.ws.jaxws.jbws1436.HelloWorld helloWorld) throws
java.rmi.RemoteException;
+}
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldPort.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldResponse.java
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldResponse.java 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldResponse.java 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Tue Jan 09 13:27:11 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.jaxws.jbws1436;
+
+
+public class HelloWorldResponse
+{
+
+protected java.lang.String result;
+public HelloWorldResponse(){}
+
+public HelloWorldResponse(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String result){ this.result=result; }
+
+}
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/HelloWorldResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/JBWS1436TestCase.java
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/JBWS1436TestCase.java 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/JBWS1436TestCase.java 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,68 @@
+/*
+ * 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.jaxws.jbws1436;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 9 Jan 2007
+ */
+public class JBWS1436TestCase extends JBossWSTest
+{
+
+ private static final String ARCHIVE_NAME = "jaxws-jbws1436.war,
jaxws-jbws1436-client.jar";
+
+ private static HelloWorldPort port;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(JBWS1436TestCase.class, ARCHIVE_NAME);
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service =
(Service)iniCtx.lookup("java:comp/env/service/TestService");
+ port = (HelloWorldPort)service.getPort(HelloWorldPort.class);
+ }
+ }
+
+ public void testHelloWorld() throws Exception
+ {
+ HelloWorldResponse response = port.helloWorld(new HelloWorld());
+
+ assertEquals("Hello World", response.result);
+ }
+
+}
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/java/org/jboss/test/ws/jaxws/jbws1436/JBWS1436TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/application-client.xml
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/application-client.xml 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/application-client.xml 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client
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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JBWS981 Test</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+
<service-endpoint-interface>org.jboss.test.ws.jaxws.jbws1436.HelloWorldPort</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jaxrpc-mapping.xml
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jaxrpc-mapping.xml 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jaxrpc-mapping.xml 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,51 @@
+<?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.jaxws.jbws1436</package-type>
+ <namespaceURI>http://org.jboss/test/ws/jbws1436</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxws.jbws1436.HelloWorld</java-type>
+ <root-type-qname
xmlns:typeNS='http://org.jboss/test/ws/jbws1436'>typeNS:helloWorld</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxws.jbws1436.HelloWorldResponse</java-type>
+ <root-type-qname
xmlns:typeNS='http://org.jboss/test/ws/jbws1436'>typeNS:helloWorldResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+
<service-interface>org.jboss.test.ws.jaxws.jbws1436.HelloWorldPortService</service-interface>
+ <wsdl-service-name
xmlns:serviceNS='http://org.jboss/test/ws/jbws1436'>serviceNS:HelloWorldPortService</wsdl-service-name>
+ <port-mapping>
+ <port-name>HelloWorldPortPort</port-name>
+ <java-port-name>HelloWorldPortPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+
<service-endpoint-interface>org.jboss.test.ws.jaxws.jbws1436.HelloWorldPort</service-endpoint-interface>
+ <wsdl-port-type
xmlns:portTypeNS='http://org.jboss/test/ws/jbws1436'>portTypeNS:HelloWorldPort</wsdl-port-type>
+ <wsdl-binding
xmlns:bindingNS='http://org.jboss/test/ws/jbws1436'>bindingNS:HelloWorldPortBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>helloWorld</java-method-name>
+ <wsdl-operation>helloWorld</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jaxws.jbws1436.HelloWorld</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss/test/ws/jbws1436'>wsdlMsgNS:HelloWorldPort_helloWorld</wsdl-message>
+ <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>org.jboss.test.ws.jaxws.jbws1436.HelloWorldResponse</method-return-value>
+ <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss/test/ws/jbws1436'>wsdlMsgNS:HelloWorldPort_helloWorldResponse</wsdl-message>
+ <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/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jboss-client.xml
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jboss-client.xml 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jboss-client.xml 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+</jboss-client>
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/wsdl/TestService.wsdl
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/wsdl/TestService.wsdl 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/wsdl/TestService.wsdl 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,45 @@
+<definitions name="HelloWorldPortService"
targetNamespace="http://org.jboss/test/ws/jbws1436"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://org.jboss/test/ws/jbws1436"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://org.jboss/test/ws/jbws1436"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://org.jboss/test/ws/jbws1436"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <complexType name="helloWorld">
+ <sequence/>
+ </complexType>
+ <complexType name="helloWorldResponse">
+ <sequence>
+ <element name="result" nillable="true"
type="string"/>
+ </sequence>
+ </complexType>
+ <element name="helloWorld" type="tns:helloWorld"/>
+ <element name="helloWorldResponse"
type="tns:helloWorldResponse"/>
+ </schema>
+ </types>
+ <message name="HelloWorldPort_helloWorldResponse">
+ <part element="tns:helloWorldResponse" name="result"/>
+ </message>
+ <message name="HelloWorldPort_helloWorld">
+ <part element="tns:helloWorld" name="parameters"/>
+ </message>
+ <portType name="HelloWorldPort">
+ <operation name="helloWorld">
+ <input message="tns:HelloWorldPort_helloWorld"/>
+ <output message="tns:HelloWorldPort_helloWorldResponse"/>
+ </operation>
+ </portType>
+ <binding name="HelloWorldPortBinding"
type="tns:HelloWorldPort">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="helloWorld">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="HelloWorldPortService">
+ <port binding="tns:HelloWorldPortBinding"
name="HelloWorldPortPort">
+ <soap:address
location="http://localhost.localdomain:8080/jaxws-jbws1436"/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/META-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/WEB-INF/web.xml
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/WEB-INF/web.xml 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/WEB-INF/web.xml 2007-01-09
12:35:24 UTC (rev 1871)
@@ -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>HelloWorldService</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.jbws1436.HelloWorldBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloWorldService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/wstools-config.xml
===================================================================
---
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/wstools-config.xml 2007-01-08
21:52:08 UTC (rev 1870)
+++
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/wstools-config.xml 2007-01-09
12:35:24 UTC (rev 1871)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -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">
+
+ <global>
+ <package-namespace package="org.jboss.test.ws.jaxws.jbws1436"
namespace="http://org.jboss/test/ws/jbws1436"/>
+ </global>
+
+ <wsdl-java location="META-INF/wsdl/TestService.wsdl"
parameter-style="bare">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+
+</configuration>
\ No newline at end of file
Property changes on:
branches/jbossws-1.0.4.GA_JBWS-1436/src/test/resources/jaxws/jbws1436/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF