[jbossws-commits] JBossWS SVN: r2484 - in branches/jbossws-1.0.4.GA_JBWS-1539/src: test/java/org/jboss/test/ws/tools and 3 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed Feb 28 07:19:01 EST 2007


Author: darran.lofthouse at jboss.com
Date: 2007-02-28 07:19:01 -0500 (Wed, 28 Feb 2007)
New Revision: 2484

Added:
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/TestService.wsdl
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/jaxrpc-mapping.xml
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/wstools-config.xml
Removed:
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/TestService.wsdl
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/jaxrpc-mapping.xml
   branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/wstools-config.xml
Modified:
   branches/jbossws-1.0.4.GA_JBWS-1539/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java
Log:
JBWS-1538 - Prevent variables being mapped mutliple times in the JAX-RPC mapping.

Modified: branches/jbossws-1.0.4.GA_JBWS-1539/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java	2007-02-28 11:42:56 UTC (rev 2483)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/main/java/org/jboss/ws/tools/schema/SchemaTypeCreator.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -497,10 +497,42 @@
          mapping.setXmlElementName(name);
          mapping.setDataMember(utils.doesPublicFieldExist(javaType, variableName));
 
-         javaXmlTypeMapping.addVariableMapping(mapping);
+         if (isAlreadyMapped(javaXmlTypeMapping, mapping) == false)
+         {
+            javaXmlTypeMapping.addVariableMapping(mapping);
+         }
       }
    }
 
+   private boolean isAlreadyMapped(JavaXmlTypeMapping jxtm, VariableMapping vm)
+   {
+      String javaVariableName = vm.getJavaVariableName();
+      String attributeName = vm.getXmlAttributeName();
+      String elementName = vm.getXmlElementName();
+
+      for (VariableMapping current : jxtm.getVariableMappings())
+      {
+         boolean matched = checkStringEquality(javaVariableName, current.getJavaVariableName());
+
+         if (matched)
+         {
+            matched = checkStringEquality(attributeName, current.getXmlAttributeName());
+         }
+
+         if (matched)
+         {
+            matched = checkStringEquality(elementName, current.getXmlElementName());
+         }
+
+         if (matched)
+         {
+            return true;
+         }
+      }
+
+      return false;
+   }
+
    private List<XSParticle> getXSParticlesForPublicFields(String typeNamespace, Class javaType, Map<String, QName> elementNames)
    {
       List<XSParticle> particles = new ArrayList<XSParticle>();
@@ -875,4 +907,15 @@
 
       return sutils.createXSParticle(targetNS, isArray, xsel);
    }
+
+   private boolean checkStringEquality(String str1, String str2)
+   {
+      if (str1 == null && str2 == null)
+         return true;
+      if (str1 == null && str2 != null)
+         return false;
+      if (str1 != null && str2 == null)
+         return false;
+      return str1.equals(str2);
+   }
 }
\ No newline at end of file

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538 (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538)

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,50 +0,0 @@
-/*
- * 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.jbws1538;
-
-import org.jboss.test.ws.tools.WSToolsTest;
-import org.jboss.test.ws.tools.validation.JaxrpcMappingValidator;
-import org.jboss.ws.tools.WSTools;
-
-/**
- * 
- * @author darran.lofthouse at jboss.com
- * @since 28 Feb 2007
- */
-public class JBWS1538TestCase extends WSToolsTest
-{
-
-   public final void testGenerate() throws Exception
-   {
-      String resourceDir = "resources/tools/jbws1538";
-      String toolsDir = "tools/jbws1538";
-      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");
-   }
-
-}

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/JBWS1538TestCase.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -0,0 +1,50 @@
+/*
+ * 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.jbws1538;
+
+import org.jboss.test.ws.tools.WSToolsTest;
+import org.jboss.test.ws.tools.validation.JaxrpcMappingValidator;
+import org.jboss.ws.tools.WSTools;
+
+/**
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @since 28 Feb 2007
+ */
+public class JBWS1538TestCase extends WSToolsTest
+{
+
+   public final void testGenerate() throws Exception
+   {
+      String resourceDir = "resources/tools/jbws1538";
+      String toolsDir = "tools/jbws1538";
+      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");
+   }
+
+}

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,44 +0,0 @@
-/*
- * 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.jbws1538;
-
-/**
- * 
- * @author darran.lofthouse at jboss.com
- * @since 27 Feb 2007
- */
-public class LevelFour extends LevelThree
-{
-
-   private String fieldFour;
-
-   public String getFieldFour()
-   {
-      return fieldFour;
-   }
-
-   public void setFieldFour(String fieldFour)
-   {
-      this.fieldFour = fieldFour;
-   }
-
-}

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelFour.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -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.jbws1538;
+
+/**
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @since 27 Feb 2007
+ */
+public class LevelFour extends LevelThree
+{
+
+   private String fieldFour;
+
+   public String getFieldFour()
+   {
+      return fieldFour;
+   }
+
+   public void setFieldFour(String fieldFour)
+   {
+      this.fieldFour = fieldFour;
+   }
+
+}

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,44 +0,0 @@
-/*
- * 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.jbws1538;
-
-/**
- * 
- * @author darran.lofthouse at jboss.com
- * @since 27 Feb 2007
- */
-public class LevelOne
-{
-
-   private String fieldOne;
-
-   public String getFieldOne()
-   {
-      return fieldOne;
-   }
-
-   public void setFieldOne(String fieldOne)
-   {
-      this.fieldOne = fieldOne;
-   }
-
-}

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelOne.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -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.jbws1538;
+
+/**
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @since 27 Feb 2007
+ */
+public class LevelOne
+{
+
+   private String fieldOne;
+
+   public String getFieldOne()
+   {
+      return fieldOne;
+   }
+
+   public void setFieldOne(String fieldOne)
+   {
+      this.fieldOne = fieldOne;
+   }
+
+}

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,44 +0,0 @@
-/*
- * 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.jbws1538;
-
-/**
- * 
- * @author darran.lofthouse at jboss.com
- * @since 27 Feb 2007
- */
-public class LevelThree extends LevelTwo
-{
-
-   private String fieldThree;
-
-   public String getFieldThree()
-   {
-      return fieldThree;
-   }
-
-   public void setFieldThree(String fieldThree)
-   {
-      this.fieldThree = fieldThree;
-   }
-
-}

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelThree.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -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.jbws1538;
+
+/**
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @since 27 Feb 2007
+ */
+public class LevelThree extends LevelTwo
+{
+
+   private String fieldThree;
+
+   public String getFieldThree()
+   {
+      return fieldThree;
+   }
+
+   public void setFieldThree(String fieldThree)
+   {
+      this.fieldThree = fieldThree;
+   }
+
+}

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,44 +0,0 @@
-/*
- * 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.jbws1538;
-
-/**
- * 
- * @author darran.lofthouse at jboss.com
- * @since 27 Feb 2007
- */
-public class LevelTwo extends LevelOne
-{
-
-   private String fieldTwo;
-
-   public String getFieldTwo()
-   {
-      return fieldTwo;
-   }
-
-   public void setFieldTwo(String fieldTwo)
-   {
-      this.fieldTwo = fieldTwo;
-   }
-
-}

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/LevelTwo.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -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.jbws1538;
+
+/**
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @since 27 Feb 2007
+ */
+public class LevelTwo extends LevelOne
+{
+
+   private String fieldTwo;
+
+   public String getFieldTwo()
+   {
+      return fieldTwo;
+   }
+
+   public void setFieldTwo(String fieldTwo)
+   {
+      this.fieldTwo = fieldTwo;
+   }
+
+}

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,37 +0,0 @@
-/*
- * 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.jbws1538;
-
-import java.rmi.Remote;
-import java.rmi.RemoteException;
-
-/**
- * 
- * @author darran.lofthouse at jboss.com
- * @since 27 Feb 2007
- */
-public interface TestEndpoint extends Remote
-{
-
-   public LevelFour echo(final LevelFour levelFour) throws RemoteException;
-
-}

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/java/org/jboss/test/ws/tools/jbws1538/TestEndpoint.java	2007-02-28 12:19:01 UTC (rev 2484)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.tools.jbws1538;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @since 27 Feb 2007
+ */
+public interface TestEndpoint extends Remote
+{
+
+   public LevelFour echo(final LevelFour levelFour) throws RemoteException;
+
+}

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538 (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/resources/tools/jbws1538)

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/TestService.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/resources/tools/jbws1538/TestService.wsdl	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/TestService.wsdl	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='TestService' targetNamespace='http://org.jboss.test.ws/jbws1538' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.test.ws/jbws1538/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.test.ws/jbws1538' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
-  <schema targetNamespace='http://org.jboss.test.ws/jbws1538/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.test.ws/jbws1538/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-   <complexType name='echoResponse'>
-    <sequence>
-     <element name='result' nillable='true' type='tns:LevelFour'/>
-    </sequence>
-   </complexType>
-   <complexType name='LevelFour'>
-    <complexContent>
-     <extension base='tns:LevelThree'>
-      <sequence>
-       <element name='fieldFour' nillable='true' type='string'/>
-      </sequence>
-     </extension>
-    </complexContent>
-   </complexType>
-   <complexType name='LevelOne'>
-    <sequence>
-     <element name='fieldOne' nillable='true' type='string'/>
-    </sequence>
-   </complexType>
-   <complexType name='LevelThree'>
-    <complexContent>
-     <extension base='tns:LevelTwo'>
-      <sequence>
-       <element name='fieldThree' nillable='true' type='string'/>
-      </sequence>
-     </extension>
-    </complexContent>
-   </complexType>
-   <complexType name='echo'>
-    <sequence>
-     <element name='LevelFour_1' nillable='true' type='tns:LevelFour'/>
-    </sequence>
-   </complexType>
-   <complexType name='LevelTwo'>
-    <complexContent>
-     <extension base='tns:LevelOne'>
-      <sequence>
-       <element name='fieldTwo' nillable='true' type='string'/>
-      </sequence>
-     </extension>
-    </complexContent>
-   </complexType>
-   <element name='echo' type='tns:echo'/>
-   <element name='echoResponse' type='tns:echoResponse'/>
-  </schema>
- </types>
- <message name='TestEndpoint_echo'>
-  <part element='ns1:echo' name='echo'/>
- </message>
- <message name='TestEndpoint_echoResponse'>
-  <part element='ns1:echoResponse' name='echoResponse'/>
- </message>
- <portType name='TestEndpoint'>
-  <operation name='echo' parameterOrder='echo'>
-   <input message='tns:TestEndpoint_echo'/>
-   <output message='tns:TestEndpoint_echoResponse'/>
-  </operation>
- </portType>
- <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
-  <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
-  <operation name='echo'>
-   <soap:operation soapAction=''/>
-   <input>
-    <soap:body use='literal'/>
-   </input>
-   <output>
-    <soap:body use='literal'/>
-   </output>
-  </operation>
- </binding>
- <service name='TestService'>
-  <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
-   <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
-  </port>
- </service>
-</definitions>
\ No newline at end of file

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/TestService.wsdl (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/resources/tools/jbws1538/TestService.wsdl)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/TestService.wsdl	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/TestService.wsdl	2007-02-28 12:19:01 UTC (rev 2484)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.test.ws/jbws1538' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.test.ws/jbws1538/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.test.ws/jbws1538' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+  <schema targetNamespace='http://org.jboss.test.ws/jbws1538/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.test.ws/jbws1538/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+   <complexType name='echoResponse'>
+    <sequence>
+     <element name='result' nillable='true' type='tns:LevelFour'/>
+    </sequence>
+   </complexType>
+   <complexType name='LevelFour'>
+    <complexContent>
+     <extension base='tns:LevelThree'>
+      <sequence>
+       <element name='fieldFour' nillable='true' type='string'/>
+      </sequence>
+     </extension>
+    </complexContent>
+   </complexType>
+   <complexType name='LevelOne'>
+    <sequence>
+     <element name='fieldOne' nillable='true' type='string'/>
+    </sequence>
+   </complexType>
+   <complexType name='LevelThree'>
+    <complexContent>
+     <extension base='tns:LevelTwo'>
+      <sequence>
+       <element name='fieldThree' nillable='true' type='string'/>
+      </sequence>
+     </extension>
+    </complexContent>
+   </complexType>
+   <complexType name='echo'>
+    <sequence>
+     <element name='LevelFour_1' nillable='true' type='tns:LevelFour'/>
+    </sequence>
+   </complexType>
+   <complexType name='LevelTwo'>
+    <complexContent>
+     <extension base='tns:LevelOne'>
+      <sequence>
+       <element name='fieldTwo' nillable='true' type='string'/>
+      </sequence>
+     </extension>
+    </complexContent>
+   </complexType>
+   <element name='echo' type='tns:echo'/>
+   <element name='echoResponse' type='tns:echoResponse'/>
+  </schema>
+ </types>
+ <message name='TestEndpoint_echo'>
+  <part element='ns1:echo' name='echo'/>
+ </message>
+ <message name='TestEndpoint_echoResponse'>
+  <part element='ns1:echoResponse' name='echoResponse'/>
+ </message>
+ <portType name='TestEndpoint'>
+  <operation name='echo' parameterOrder='echo'>
+   <input message='tns:TestEndpoint_echo'/>
+   <output message='tns:TestEndpoint_echoResponse'/>
+  </operation>
+ </portType>
+ <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
+  <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+  <operation name='echo'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body use='literal'/>
+   </input>
+   <output>
+    <soap:body use='literal'/>
+   </output>
+  </operation>
+ </binding>
+ <service name='TestService'>
+  <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
+   <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+  </port>
+ </service>
+</definitions>
\ No newline at end of file

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/jaxrpc-mapping.xml
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/resources/tools/jbws1538/jaxrpc-mapping.xml	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/jaxrpc-mapping.xml	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,116 +0,0 @@
-<?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.tools.jbws1538</package-type>
-  <namespaceURI>http://org.jboss.test.ws/jbws1538/types</namespaceURI>
- </package-mapping>
- <java-xml-type-mapping>
-  <java-type>org.jboss.test.ws.tools.jbws1538.LevelOne</java-type>
-  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelOne</root-type-qname>
-  <qname-scope>complexType</qname-scope>
-  <variable-mapping>
-   <java-variable-name>fieldOne</java-variable-name>
-   <xml-element-name>fieldOne</xml-element-name>
-  </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
-  <java-type>org.jboss.test.ws.tools.jbws1538.LevelTwo</java-type>
-  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelTwo</root-type-qname>
-  <qname-scope>complexType</qname-scope>
-  <variable-mapping>
-   <java-variable-name>fieldOne</java-variable-name>
-   <xml-element-name>fieldOne</xml-element-name>
-  </variable-mapping>
-  <variable-mapping>
-   <java-variable-name>fieldTwo</java-variable-name>
-   <xml-element-name>fieldTwo</xml-element-name>
-  </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
-  <java-type>org.jboss.test.ws.tools.jbws1538.LevelThree</java-type>
-  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelThree</root-type-qname>
-  <qname-scope>complexType</qname-scope>
-  <variable-mapping>
-   <java-variable-name>fieldOne</java-variable-name>
-   <xml-element-name>fieldOne</xml-element-name>
-  </variable-mapping>
-  <variable-mapping>
-   <java-variable-name>fieldTwo</java-variable-name>
-   <xml-element-name>fieldTwo</xml-element-name>
-  </variable-mapping>
-  <variable-mapping>
-   <java-variable-name>fieldThree</java-variable-name>
-   <xml-element-name>fieldThree</xml-element-name>
-  </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
-  <java-type>org.jboss.test.ws.tools.jbws1538.LevelFour</java-type>
-  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelFour</root-type-qname>
-  <qname-scope>complexType</qname-scope>
-  <variable-mapping>
-   <java-variable-name>fieldOne</java-variable-name>
-   <xml-element-name>fieldOne</xml-element-name>
-  </variable-mapping>
-  <variable-mapping>
-   <java-variable-name>fieldTwo</java-variable-name>
-   <xml-element-name>fieldTwo</xml-element-name>
-  </variable-mapping>
-  <variable-mapping>
-   <java-variable-name>fieldThree</java-variable-name>
-   <xml-element-name>fieldThree</xml-element-name>
-  </variable-mapping>
-  <variable-mapping>
-   <java-variable-name>fieldFour</java-variable-name>
-   <xml-element-name>fieldFour</xml-element-name>
-  </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
-  <java-type>org.jboss.test.ws.tools.jbws1538.TestEndpoint_echo_RequestStruct</java-type>
-  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:echo</root-type-qname>
-  <qname-scope>complexType</qname-scope>
-  <variable-mapping>
-   <java-variable-name>levelFour_1</java-variable-name>
-   <xml-element-name>LevelFour_1</xml-element-name>
-  </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
-  <java-type>org.jboss.test.ws.tools.jbws1538.TestEndpoint_echo_ResponseStruct</java-type>
-  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:echoResponse</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.tools.jbws1538.TestService</service-interface>
-  <wsdl-service-name xmlns:serviceNS='http://org.jboss.test.ws/jbws1538'>serviceNS:TestService</wsdl-service-name>
-  <port-mapping>
-   <port-name>TestEndpointPort</port-name>
-   <java-port-name>TestEndpointPort</java-port-name>
-  </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
-  <service-endpoint-interface>org.jboss.test.ws.tools.jbws1538.TestEndpoint</service-endpoint-interface>
-  <wsdl-port-type xmlns:portTypeNS='http://org.jboss.test.ws/jbws1538'>portTypeNS:TestEndpoint</wsdl-port-type>
-  <wsdl-binding xmlns:bindingNS='http://org.jboss.test.ws/jbws1538'>bindingNS:TestEndpointBinding</wsdl-binding>
-  <service-endpoint-method-mapping>
-   <java-method-name>echo</java-method-name>
-   <wsdl-operation>echo</wsdl-operation>
-   <wrapped-element/>
-   <method-param-parts-mapping>
-    <param-position>0</param-position>
-    <param-type>org.jboss.test.ws.tools.jbws1538.LevelFour</param-type>
-    <wsdl-message-mapping>
-     <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1538'>wsdlMsgNS:TestEndpoint_echo</wsdl-message>
-     <wsdl-message-part-name>LevelFour_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.tools.jbws1538.LevelFour</method-return-value>
-    <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1538'>wsdlMsgNS:TestEndpoint_echoResponse</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

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/jaxrpc-mapping.xml (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/resources/tools/jbws1538/jaxrpc-mapping.xml)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/jaxrpc-mapping.xml	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/jaxrpc-mapping.xml	2007-02-28 12:19:01 UTC (rev 2484)
@@ -0,0 +1,116 @@
+<?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.tools.jbws1538</package-type>
+  <namespaceURI>http://org.jboss.test.ws/jbws1538/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+  <java-type>org.jboss.test.ws.tools.jbws1538.LevelOne</java-type>
+  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelOne</root-type-qname>
+  <qname-scope>complexType</qname-scope>
+  <variable-mapping>
+   <java-variable-name>fieldOne</java-variable-name>
+   <xml-element-name>fieldOne</xml-element-name>
+  </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+  <java-type>org.jboss.test.ws.tools.jbws1538.LevelTwo</java-type>
+  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelTwo</root-type-qname>
+  <qname-scope>complexType</qname-scope>
+  <variable-mapping>
+   <java-variable-name>fieldOne</java-variable-name>
+   <xml-element-name>fieldOne</xml-element-name>
+  </variable-mapping>
+  <variable-mapping>
+   <java-variable-name>fieldTwo</java-variable-name>
+   <xml-element-name>fieldTwo</xml-element-name>
+  </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+  <java-type>org.jboss.test.ws.tools.jbws1538.LevelThree</java-type>
+  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelThree</root-type-qname>
+  <qname-scope>complexType</qname-scope>
+  <variable-mapping>
+   <java-variable-name>fieldOne</java-variable-name>
+   <xml-element-name>fieldOne</xml-element-name>
+  </variable-mapping>
+  <variable-mapping>
+   <java-variable-name>fieldTwo</java-variable-name>
+   <xml-element-name>fieldTwo</xml-element-name>
+  </variable-mapping>
+  <variable-mapping>
+   <java-variable-name>fieldThree</java-variable-name>
+   <xml-element-name>fieldThree</xml-element-name>
+  </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+  <java-type>org.jboss.test.ws.tools.jbws1538.LevelFour</java-type>
+  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:LevelFour</root-type-qname>
+  <qname-scope>complexType</qname-scope>
+  <variable-mapping>
+   <java-variable-name>fieldOne</java-variable-name>
+   <xml-element-name>fieldOne</xml-element-name>
+  </variable-mapping>
+  <variable-mapping>
+   <java-variable-name>fieldTwo</java-variable-name>
+   <xml-element-name>fieldTwo</xml-element-name>
+  </variable-mapping>
+  <variable-mapping>
+   <java-variable-name>fieldThree</java-variable-name>
+   <xml-element-name>fieldThree</xml-element-name>
+  </variable-mapping>
+  <variable-mapping>
+   <java-variable-name>fieldFour</java-variable-name>
+   <xml-element-name>fieldFour</xml-element-name>
+  </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+  <java-type>org.jboss.test.ws.tools.jbws1538.TestEndpoint_echo_RequestStruct</java-type>
+  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:echo</root-type-qname>
+  <qname-scope>complexType</qname-scope>
+  <variable-mapping>
+   <java-variable-name>levelFour_1</java-variable-name>
+   <xml-element-name>LevelFour_1</xml-element-name>
+  </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+  <java-type>org.jboss.test.ws.tools.jbws1538.TestEndpoint_echo_ResponseStruct</java-type>
+  <root-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws1538/types'>typeNS:echoResponse</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.tools.jbws1538.TestService</service-interface>
+  <wsdl-service-name xmlns:serviceNS='http://org.jboss.test.ws/jbws1538'>serviceNS:TestService</wsdl-service-name>
+  <port-mapping>
+   <port-name>TestEndpointPort</port-name>
+   <java-port-name>TestEndpointPort</java-port-name>
+  </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+  <service-endpoint-interface>org.jboss.test.ws.tools.jbws1538.TestEndpoint</service-endpoint-interface>
+  <wsdl-port-type xmlns:portTypeNS='http://org.jboss.test.ws/jbws1538'>portTypeNS:TestEndpoint</wsdl-port-type>
+  <wsdl-binding xmlns:bindingNS='http://org.jboss.test.ws/jbws1538'>bindingNS:TestEndpointBinding</wsdl-binding>
+  <service-endpoint-method-mapping>
+   <java-method-name>echo</java-method-name>
+   <wsdl-operation>echo</wsdl-operation>
+   <wrapped-element/>
+   <method-param-parts-mapping>
+    <param-position>0</param-position>
+    <param-type>org.jboss.test.ws.tools.jbws1538.LevelFour</param-type>
+    <wsdl-message-mapping>
+     <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1538'>wsdlMsgNS:TestEndpoint_echo</wsdl-message>
+     <wsdl-message-part-name>LevelFour_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.tools.jbws1538.LevelFour</method-return-value>
+    <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1538'>wsdlMsgNS:TestEndpoint_echoResponse</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

Deleted: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/resources/tools/jbws1538/wstools-config.xml	2007-02-27 23:49:17 UTC (rev 2478)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/wstools-config.xml	2007-02-28 12:19:01 UTC (rev 2484)
@@ -1,14 +0,0 @@
-<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.jbws1538.TestEndpoint" style="document" />
-    <namespaces target-namespace="http://org.jboss.test.ws/jbws1538"
-      type-namespace="http://org.jboss.test.ws/jbws1538/types" />
-    <mapping file="jaxrpc-mapping.xml" />
-    <webservices servlet-link="TestService"/>
-  </java-wsdl>
-
-</configuration>
\ No newline at end of file

Copied: branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/wstools-config.xml (from rev 2478, branches/dlofthouse/JBWS-1538/jbossws-tests/src/main/resources/tools/jbws1538/wstools-config.xml)
===================================================================
--- branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/wstools-config.xml	                        (rev 0)
+++ branches/jbossws-1.0.4.GA_JBWS-1539/src/test/resources/tools/jbws1538/wstools-config.xml	2007-02-28 12:19:01 UTC (rev 2484)
@@ -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.jbws1538.TestEndpoint" style="document" />
+    <namespaces target-namespace="http://org.jboss.test.ws/jbws1538"
+      type-namespace="http://org.jboss.test.ws/jbws1538/types" />
+    <mapping file="jaxrpc-mapping.xml" />
+    <webservices servlet-link="TestService"/>
+  </java-wsdl>
+
+</configuration>
\ No newline at end of file




More information about the jbossws-commits mailing list