Author: darran.lofthouse(a)jboss.com
Date: 2007-02-27 11:21:04 -0500 (Tue, 27 Feb 2007)
New Revision: 2475
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/JBWS1524TestCase.java
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelFour.java
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelOne.java
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelThree.java
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelTwo.java
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/TestEndpoint.java
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/resources/tools/jbws1524/
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/resources/tools/jbws1524/wstools-config.xml
Log:
Initial test case for JBWS-1524
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/JBWS1524TestCase.java
===================================================================
---
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/JBWS1524TestCase.java
(rev 0)
+++
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/JBWS1524TestCase.java 2007-02-27
16:21:04 UTC (rev 2475)
@@ -0,0 +1,49 @@
+/*
+ * 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.tools.jbws1524;
+
+import org.jboss.test.ws.tools.WSToolsTest;
+import org.jboss.ws.tools.WSTools;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 22 Feb 2007
+ */
+public class JBWS1524TestCase extends WSToolsTest
+{
+
+ public final void testGenerate() throws Exception
+ {
+ String resourceDir = "resources/tools/jbws1524";
+ String toolsDir = "tools/jbws1524";
+ String[] args = new String[] { "-dest", toolsDir, "-config",
resourceDir + "/wstools-config.xml" };
+
+ new WSTools().generate(args);
+
+ //semanticallyValidateWSDL(resourceDir + "/TestService.wsdl", toolsDir +
"/wsdl/TestService.wsdl");
+
+ //JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
+ //mappingValidator.validate(resourceDir + "/jaxrpc-mapping.xml", toolsDir
+ "/jaxrpc-mapping.xml");
+ }
+
+}
Property changes on:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/JBWS1524TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelFour.java
===================================================================
---
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelFour.java
(rev 0)
+++
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelFour.java 2007-02-27
16:21:04 UTC (rev 2475)
@@ -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.tools.jbws1524;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 22 Feb 2007
+ */
+public class LevelFour extends LevelThree
+{
+
+
+
+}
Property changes on:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelFour.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelOne.java
===================================================================
---
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelOne.java
(rev 0)
+++
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelOne.java 2007-02-27
16:21:04 UTC (rev 2475)
@@ -0,0 +1,44 @@
+/*
+ * 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.tools.jbws1524;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 22 Feb 2007
+ */
+public class LevelOne
+{
+
+ private String message;
+
+ public String getMessage()
+ {
+ return message;
+ }
+
+ public void setMessage(String top)
+ {
+ this.message = top;
+ }
+
+}
Property changes on:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelOne.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelThree.java
===================================================================
---
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelThree.java
(rev 0)
+++
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelThree.java 2007-02-27
16:21:04 UTC (rev 2475)
@@ -0,0 +1,46 @@
+/*
+ * 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.tools.jbws1524;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 22 Feb 2007
+ */
+public class LevelThree extends LevelTwo
+{
+
+ // public String publicString;
+ //
+ // private String propertyString;
+ //
+ // public String getPropertyString()
+ // {
+ // return propertyString;
+ // }
+ //
+ // public void setPropertyString(String propertyString)
+ // {
+ // this.propertyString = propertyString;
+ // }
+
+}
Property changes on:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelThree.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelTwo.java
===================================================================
---
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelTwo.java
(rev 0)
+++
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelTwo.java 2007-02-27
16:21:04 UTC (rev 2475)
@@ -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.tools.jbws1524;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 22 Feb 2007
+ */
+public class LevelTwo extends LevelOne
+{
+
+
+
+}
Property changes on:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/LevelTwo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/TestEndpoint.java
===================================================================
---
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/TestEndpoint.java
(rev 0)
+++
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/TestEndpoint.java 2007-02-27
16:21:04 UTC (rev 2475)
@@ -0,0 +1,11 @@
+package org.jboss.test.ws.tools.jbws1524;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+public interface TestEndpoint extends Remote
+{
+
+ public LevelFour echo(final LevelFour bottom) throws RemoteException;
+
+}
Property changes on:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1524/TestEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/resources/tools/jbws1524/wstools-config.xml
===================================================================
---
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/resources/tools/jbws1524/wstools-config.xml
(rev 0)
+++
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/resources/tools/jbws1524/wstools-config.xml 2007-02-27
16:21:04 UTC (rev 2475)
@@ -0,0 +1,14 @@
+<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.tools.jbws1524.TestEndpoint"
style="document" />
+ <namespaces target-namespace="http://org.jboss.test.ws/jbws1524"
+ type-namespace="http://org.jboss.test.ws/jbws1524/types" />
+ <mapping file="jaxrpc-mapping.xml" />
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+
+</configuration>
\ No newline at end of file
Property changes on:
branches/dlofthouse/JBWS-1524/jbossws-tests/src/main/resources/tools/jbws1524/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF