Author: thomas.diesler(a)jboss.com
Date: 2007-01-10 15:55:45 -0500 (Wed, 10 Jan 2007)
New Revision: 1907
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/JBWS1339TestCase.java
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/Message.java
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestService.java
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestServiceBean.java
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/jaxrpc-mapping.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/web.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/webservices.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/wsdl/
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/wsdl/TestService.wsdl
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/test-config.xml
Modified:
branches/tdiesler/trunk/integration-jboss42/.classpath
branches/tdiesler/trunk/integration-jboss50/.classpath
branches/tdiesler/trunk/integration-tomcat/.classpath
branches/tdiesler/trunk/jbossws-core/.classpath
branches/tdiesler/trunk/jbossws-tests/.classpath
branches/tdiesler/trunk/jbossws-tests/ant-import/build-jars-jaxrpc.xml
branches/tdiesler/trunk/jbossws-tests/build.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1010/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1011/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1093/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1107/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1121/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1124/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1125/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1148/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1179/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1186/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/confidential-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/test-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/SimpleEndpoint/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/TestEndpoint/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws950/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws956/wstools-config.xml
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/webserviceref/wstools-java-wsdl.xml
Log:
partial commit
Modified: branches/tdiesler/trunk/integration-jboss42/.classpath
===================================================================
--- branches/tdiesler/trunk/integration-jboss42/.classpath 2007-01-10 16:05:43 UTC (rev
1906)
+++ branches/tdiesler/trunk/integration-jboss42/.classpath 2007-01-10 20:55:45 UTC (rev
1907)
@@ -19,7 +19,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/jboss-remoting.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-security-spi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-xml-binding.jar"/>
- <classpathentry kind="lib"
path="/build/thirdparty/mailapi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/wsdl4j.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xmlsec.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/ejb3.deployer/jboss-annotations-ejb3.jar"/>
@@ -33,5 +32,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/xalan.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xercesImpl.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/ejb3.deployer/jboss-ejb3.jar"/>
+ <classpathentry kind="lib"
path="/build/thirdparty/mail.jar"/>
<classpathentry kind="output" path="output-eclipse"/>
</classpath>
Modified: branches/tdiesler/trunk/integration-jboss50/.classpath
===================================================================
--- branches/tdiesler/trunk/integration-jboss50/.classpath 2007-01-10 16:05:43 UTC (rev
1906)
+++ branches/tdiesler/trunk/integration-jboss50/.classpath 2007-01-10 20:55:45 UTC (rev
1907)
@@ -22,7 +22,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/jboss-remoting.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-security-spi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-xml-binding.jar"/>
- <classpathentry kind="lib"
path="/build/thirdparty/mailapi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/wsdl4j.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xmlsec.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/ejb3.deployer/jboss-annotations-ejb3.jar"/>
@@ -35,5 +34,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/wstx-lgpl-2.0.6.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xalan.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xercesImpl.jar"/>
+ <classpathentry kind="lib"
path="/build/thirdparty/mail.jar"/>
<classpathentry kind="output" path="output-eclipse"/>
</classpath>
Modified: branches/tdiesler/trunk/integration-tomcat/.classpath
===================================================================
--- branches/tdiesler/trunk/integration-tomcat/.classpath 2007-01-10 16:05:43 UTC (rev
1906)
+++ branches/tdiesler/trunk/integration-tomcat/.classpath 2007-01-10 20:55:45 UTC (rev
1907)
@@ -18,7 +18,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/jboss-remoting.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-security-spi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-xml-binding.jar"/>
- <classpathentry kind="lib"
path="/build/thirdparty/mailapi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/wsdl4j.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xmlsec.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/ejb3.deployer/jboss-annotations-ejb3.jar"/>
@@ -31,5 +30,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/wstx-lgpl-2.0.6.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xalan.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xercesImpl.jar"/>
+ <classpathentry kind="lib"
path="/build/thirdparty/mail.jar"/>
<classpathentry kind="output" path="output-eclipse"/>
</classpath>
Modified: branches/tdiesler/trunk/jbossws-core/.classpath
===================================================================
--- branches/tdiesler/trunk/jbossws-core/.classpath 2007-01-10 16:05:43 UTC (rev 1906)
+++ branches/tdiesler/trunk/jbossws-core/.classpath 2007-01-10 20:55:45 UTC (rev 1907)
@@ -17,7 +17,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/jboss-remoting.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-security-spi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-xml-binding.jar"/>
- <classpathentry kind="lib"
path="/build/thirdparty/mailapi.jar"/>
<classpathentry kind="lib" path="/build/thirdparty/wsdl4j.jar"
sourcepath="/build/thirdparty/wsdl4j-1_5_2.zip"/>
<classpathentry kind="lib"
path="/build/thirdparty/xmlsec.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/ejb3.deployer/jboss-annotations-ejb3.jar"/>
@@ -30,5 +29,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/wstx-lgpl-2.0.6.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xalan.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xercesImpl.jar"/>
+ <classpathentry kind="lib"
path="/build/thirdparty/mail.jar"/>
<classpathentry kind="output" path="output-eclipse"/>
</classpath>
Modified: branches/tdiesler/trunk/jbossws-tests/.classpath
===================================================================
--- branches/tdiesler/trunk/jbossws-tests/.classpath 2007-01-10 16:05:43 UTC (rev 1906)
+++ branches/tdiesler/trunk/jbossws-tests/.classpath 2007-01-10 20:55:45 UTC (rev 1907)
@@ -27,7 +27,6 @@
<classpathentry kind="lib"
path="/build/thirdparty/jboss-remoting.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-security-spi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/jboss-xml-binding.jar"/>
- <classpathentry kind="lib"
path="/build/thirdparty/mailapi.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/wsdl4j.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/xmlsec.jar"/>
<classpathentry kind="lib"
path="/build/thirdparty/ejb3.deployer/jboss-annotations-ejb3.jar"/>
@@ -46,5 +45,6 @@
<classpathentry kind="lib"
path="/jbossws-core/output/lib/jboss-saaj.jar"/>
<classpathentry kind="lib"
path="/jbossws-core/output/lib/jbossws-client.jar"/>
<classpathentry kind="lib"
path="/jbossws-core/output/lib/jbossws-core.jar"/>
+ <classpathentry kind="lib"
path="/build/thirdparty/mail.jar"/>
<classpathentry kind="output" path="output-eclipse"/>
</classpath>
Modified: branches/tdiesler/trunk/jbossws-tests/ant-import/build-jars-jaxrpc.xml
===================================================================
--- branches/tdiesler/trunk/jbossws-tests/ant-import/build-jars-jaxrpc.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++ branches/tdiesler/trunk/jbossws-tests/ant-import/build-jars-jaxrpc.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -918,6 +918,19 @@
</metainf>
</jar>
+ <!-- jaxrpc-jbws1339 -->
+ <war warfile="${tests.output.dir}/libs/jaxrpc-jbws1339.war"
webxml="${tests.output.dir}/resources/jaxrpc/jbws1339/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxrpc/jbws1339/**"/>
+ <exclude
name="org/jboss/test/ws/jaxrpc/jbws1339/*TestCase.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/resources/jaxrpc/jbws1339/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">
Modified: branches/tdiesler/trunk/jbossws-tests/build.xml
===================================================================
--- branches/tdiesler/trunk/jbossws-tests/build.xml 2007-01-10 16:05:43 UTC (rev 1906)
+++ branches/tdiesler/trunk/jbossws-tests/build.xml 2007-01-10 20:55:45 UTC (rev 1907)
@@ -178,6 +178,7 @@
<pathelement
location="${integration.jboss50.dir}/output/lib/jbossws-jboss50-integration.jar"/>
<pathelement
location="${integration.jboss42.dir}/output/lib/jbossws-jboss42-integration.jar"/>
<pathelement
location="${integration.tomcat.dir}/output/lib/jbossws-tomcat-integration.jar"/>
+ <pathelement location="${thirdparty.dir}/log4j.jar"/>
<path refid="javac.classpath"/>
</path>
</target>
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/JBWS1339TestCase.java
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/JBWS1339TestCase.java 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/JBWS1339TestCase.java 2007-01-10
20:55:45 UTC (rev 1907)
@@ -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.jaxrpc.jbws1339;
+
+import java.io.File;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+import javax.xml.rpc.Stub;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+import org.jboss.ws.core.jaxrpc.ServiceFactoryImpl;
+import org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory;
+
+/**
+ *
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ * @since 09-Jan-2007
+ */
+public class JBWS1339TestCase extends JBossWSTest
+{
+ private static RequestService port;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(JBWS1339TestCase.class,
"jaxrpc-jbws1339.war");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ if (port == null)
+ {
+ ServiceFactoryImpl factory = (ServiceFactoryImpl)ServiceFactory.newInstance();
+ URL wsdlURL = new
File("resources/jaxrpc/jbws1339/WEB-INF/wsdl/TestService.wsdl").toURL();
+ URL mappingURL = new
File("resources/jaxrpc/jbws1339/WEB-INF/jaxrpc-mapping.xml").toURL();
+ QName serviceName = new QName("http://org.jboss.test.ws/jbws1339",
"TestService");
+ Service service = factory.createService(wsdlURL, serviceName , mappingURL);
+ port = (RequestService)service.getPort(RequestService.class);
+ ((Stub)port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://" +
getServerHost() + ":8080/jaxrpc-jbws1339");
+ }
+ }
+
+ public final void testEndpointAccess() throws Exception
+ {
+ Message inObj = new Message("Kermit", "base64".getBytes());
+ Message retObj = port.processClaim(inObj);
+ assertEquals(inObj, retObj);
+ }
+}
Property changes on:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/JBWS1339TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/Message.java
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/Message.java 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/Message.java 2007-01-10
20:55:45 UTC (rev 1907)
@@ -0,0 +1,76 @@
+/*
+ * 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.jaxrpc.jbws1339;
+
+public class Message
+{
+ private String name;
+ private byte[] data;
+
+ public Message()
+ {
+ }
+
+ public Message(String name, byte[] data)
+ {
+ this.name = name;
+ this.data = data;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public byte[] getData()
+ {
+ return data;
+ }
+
+ public void setData(byte[] data)
+ {
+ this.data = data;
+ }
+
+ public int hashCode()
+ {
+ return toString().hashCode();
+ }
+
+ public boolean equals(Object obj)
+ {
+ if (this == obj) return true;
+ if (!(obj instanceof Message)) return false;
+ Message other = (Message)obj;
+ return toString().equals(other.toString());
+ }
+
+ public String toString()
+ {
+ return "[name=" + name + ",data=" + new String(data) +
"]";
+ }
+}
Property changes on:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/Message.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestService.java
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestService.java 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestService.java 2007-01-10
20:55:45 UTC (rev 1907)
@@ -0,0 +1,30 @@
+/*
+ * 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.jaxrpc.jbws1339;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+public interface RequestService extends Remote
+{
+ public Message processClaim(Message messsge) throws RemoteException;
+}
Property changes on:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestServiceBean.java
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestServiceBean.java 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestServiceBean.java 2007-01-10
20:55:45 UTC (rev 1907)
@@ -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.jaxrpc.jbws1339;
+
+import java.rmi.RemoteException;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.handler.soap.SOAPMessageContext;
+import javax.xml.rpc.server.ServiceLifecycle;
+import javax.xml.rpc.server.ServletEndpointContext;
+import javax.xml.soap.SOAPBody;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPException;
+
+import org.jboss.logging.Logger;
+
+public class RequestServiceBean implements RequestService, ServiceLifecycle
+{
+ private Logger log = Logger.getLogger(this.getClass());
+
+ private ServletEndpointContext sepCtx;
+
+ public Message processClaim(Message message) throws RemoteException
+ {
+ log.info("message: " + message);
+
+ // Test the value in the soap message
+ try
+ {
+ SOAPMessageContext msgCtx = (SOAPMessageContext)sepCtx.getMessageContext();
+ SOAPBody body = msgCtx.getMessage().getSOAPBody();
+ QName rpcOpName = new QName("http://org.jboss.test.ws/jbws1339",
"processClaim");
+ SOAPElement bodyEl = (SOAPElement)body.getChildElements(rpcOpName).next();
+ SOAPElement soapEl = (SOAPElement)bodyEl.getChildElements(new
QName("Message_1")).next();
+ soapEl = (SOAPElement)soapEl.getChildElements(new
QName("data")).next();
+ String value = soapEl.getValue();
+ if (value.equals("YmFzZTY0") == false)
+ throw new RuntimeException("Unexpected base64 value: " + value);
+ }
+ catch (SOAPException ex)
+ {
+ throw new RuntimeException(ex);
+ }
+
+ return message;
+ }
+
+ public void init(Object context) throws ServiceException
+ {
+ this.sepCtx = (ServletEndpointContext)context;
+ }
+
+ public void destroy()
+ { }
+}
Property changes on:
branches/tdiesler/trunk/jbossws-tests/src/main/java/org/jboss/test/ws/jaxrpc/jbws1339/RequestServiceBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1010/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1010/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1010/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../output/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"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1011/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1011/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1011/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../output/tests/classes -dest ./META-INF -config
wstools-config.xml
+ wstools -cp ../../../../output/classes -dest ./META-INF -config wstools-config.xml
-->
<configuration
xmlns="http://www.jboss.org/jbossws-tools"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1093/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1093/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1093/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../../output/classes -dest ./WEB-INF -config wstools-config.xml
-->
<!-- Set the soap:address location to
'http://localhost:8080//jbossws-jbws1093/TestEndpoint?wsdl' to run with Tomcat
-->
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1107/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1107/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1107/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../output/classes -dest ./WEB-INF -config wstools-config.xml
-->
<!-- Set the soap:address location to
'http://localhost:8080//jbossws-jbws1093/TestEndpoint?wsdl' to run with Tomcat
-->
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1121/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1121/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1121/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools.bat -config wstools-config.xml -cp ../../../../output/tests/classes/
+ wstools.bat -config wstools-config.xml -cp ../../../../output/classes/
-->
<configuration
xmlns="http://www.jboss.org/jbossws-tools"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1124/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1124/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1124/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../output/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"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1125/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1125/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1125/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../../output/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"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1148/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1148/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1148/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../../output/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"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1179/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1179/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1179/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../../output/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"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1186/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1186/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1186/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../output/classes -dest ./WEB-INF -config wstools-config.xml
-->
<configuration
xmlns="http://www.jboss.org/jbossws-tools"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/confidential-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/confidential-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/confidential-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
confidential-config.xml
+ wstools -cp ../../../../../output/classes -dest ./WEB-INF -config
confidential-config.xml
-->
<!-- Run wstools for test config first, then follow with confidential-config -->
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/test-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/test-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1190/test-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
test-config.xml
+ wstools -cp ../../../../../output/classes -dest ./WEB-INF -config test-config.xml
-->
<!-- Run wstools for test config first, then follow with confidential-config -->
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/SimpleEndpoint/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/SimpleEndpoint/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/SimpleEndpoint/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../../output/classes -dest ./WEB-INF -config wstools-config.xml
-->
<configuration
xmlns="http://www.jboss.org/jbossws-tools"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/TestEndpoint/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/TestEndpoint/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1205/TestEndpoint/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../../output/classes -dest ./WEB-INF -config wstools-config.xml
-->
<configuration
xmlns="http://www.jboss.org/jbossws-tools"
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/jaxrpc-mapping.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/jaxrpc-mapping.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/jaxrpc-mapping.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -0,0 +1,50 @@
+<?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.jbws1339</package-type>
+ <namespaceURI>http://org.jboss.test.ws/jbws1339/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.jbws1339.Message</java-type>
+ <root-type-qname
xmlns:typeNS='http://org.jboss.test.ws/jbws1339/types'>typeNS:Message</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>data</java-variable-name>
+ <xml-element-name>data</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>name</java-variable-name>
+ <xml-element-name>name</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+
<service-interface>org.jboss.test.ws.jaxrpc.jbws1339.TestService</service-interface>
+ <wsdl-service-name
xmlns:serviceNS='http://org.jboss.test.ws/jbws1339'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>RequestServicePort</port-name>
+ <java-port-name>RequestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1339.RequestService</service-endpoint-interface>
+ <wsdl-port-type
xmlns:portTypeNS='http://org.jboss.test.ws/jbws1339'>portTypeNS:RequestService</wsdl-port-type>
+ <wsdl-binding
xmlns:bindingNS='http://org.jboss.test.ws/jbws1339'>bindingNS:RequestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>processClaim</java-method-name>
+ <wsdl-operation>processClaim</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.jbws1339.Message</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1339'>wsdlMsgNS:RequestService_processClaim</wsdl-message>
+ <wsdl-message-part-name>Message_1</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.jaxrpc.jbws1339.Message</method-return-value>
+ <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1339'>wsdlMsgNS:RequestService_processClaimResponse</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/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/web.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/web.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/web.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -0,0 +1,16 @@
+<?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.jaxrpc.jbws1339.RequestServiceBean</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/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/webservices.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/webservices.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/webservices.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -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>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>RequestServicePort</port-component-name><wsdl-port
xmlns:portNS='http://org.jboss.test.ws/jbws1339'>portNS:RequestServicePort</wsdl-port><service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1339.RequestService</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:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/wsdl/TestService.wsdl
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/wsdl/TestService.wsdl 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/wsdl/TestService.wsdl 2007-01-10
20:55:45 UTC (rev 1907)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService'
targetNamespace='http://org.jboss.test.ws/jbws1339'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:ns1='http://org.jboss.test.ws/jbws1339/types'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://org.jboss.test.ws/jbws1339'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.test.ws/jbws1339/types'
xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:ns2='http://www.w3.org/2001/XMLSchema'
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://org.jboss.test.ws/jbws1339/types'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <import
namespace='http://www.w3.org/2001/XMLSchema'/>
+ <complexType name='Message'>
+ <sequence>
+ <element name='data' nillable='true'
type='base64Binary'/>
+ <element name='name' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ </schema>
+ </types>
+ <message name='RequestService_processClaim'>
+ <part name='Message_1' type='ns1:Message'/>
+ </message>
+ <message name='RequestService_processClaimResponse'>
+ <part name='result' type='ns1:Message'/>
+ </message>
+ <portType name='RequestService'>
+ <operation name='processClaim' parameterOrder='Message_1'>
+ <input message='tns:RequestService_processClaim'/>
+ <output message='tns:RequestService_processClaimResponse'/>
+ </operation>
+ </portType>
+ <binding name='RequestServiceBinding' type='tns:RequestService'>
+ <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='processClaim'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1339'
use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1339'
use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:RequestServiceBinding'
name='RequestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/test-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/test-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/test-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../../output/classes -dest ./WEB-INF -config test-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.jbws1339.RequestService"
style="rpc">
+ </service>
+ <namespaces target-namespace="http://org.jboss.test.ws/jbws1339"
type-namespace="http://org.jboss.test.ws/jbws1339/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestEndpoint"/>
+ </java-wsdl>
+</configuration>
Property changes on:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws1339/test-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws950/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws950/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws950/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../output/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"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws956/wstools-config.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws956/wstools-config.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/jbws956/wstools-config.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+ wstools -cp ../../../../output/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"
Modified:
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/webserviceref/wstools-java-wsdl.xml
===================================================================
---
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/webserviceref/wstools-java-wsdl.xml 2007-01-10
16:05:43 UTC (rev 1906)
+++
branches/tdiesler/trunk/jbossws-tests/src/main/resources/jaxrpc/webserviceref/wstools-java-wsdl.xml 2007-01-10
20:55:45 UTC (rev 1907)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- wstools -cp ../../../../../output/tests/classes -config wstools-java-wsdl.xml
+ wstools -cp ../../../../../output/classes -config wstools-java-wsdl.xml
-->
<configuration
xmlns="http://www.jboss.org/jbossws-tools"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"