Author: darran.lofthouse(a)jboss.com
Date: 2007-07-26 12:07:57 -0400 (Thu, 26 Jul 2007)
New Revision: 4006
Added:
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml
Removed:
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/tools/WSDLToJava.java
trunk/jbossws-core/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java
Log:
JBWS-1723 - WSDL To Java - Anonymous Types Referenced As Bound Headers Not Handled
Correctly.
Modified: trunk/jbossws-core/src/main/java/org/jboss/ws/tools/WSDLToJava.java
===================================================================
--- trunk/jbossws-core/src/main/java/org/jboss/ws/tools/WSDLToJava.java 2007-07-26
15:58:13 UTC (rev 4005)
+++ trunk/jbossws-core/src/main/java/org/jboss/ws/tools/WSDLToJava.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -55,6 +55,7 @@
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
import org.jboss.ws.metadata.wsdl.WSDLSOAPHeader;
+import org.jboss.ws.metadata.wsdl.WSDLTypes;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
import org.jboss.ws.metadata.wsdl.xsd.SchemaUtils;
@@ -439,7 +440,8 @@
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
XSElementDeclaration xe = xsmodel.getElementDeclaration(elementName.getLocalPart(),
elementName.getNamespaceURI());
XSTypeDefinition xt = xe.getTypeDefinition();
- QName xmlType = new QName(xt.getNamespace(), xt.getName());
+ WSDLTypes wsdlTypes = wsdl.getWsdlTypes();
+ QName xmlType = wsdlTypes.getXMLType(header.getElement());
// Replace the xt with the real type from the schema.
xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
@@ -449,7 +451,7 @@
buf.append(", ");
}
- generateParameter(buf, "", xmlType, xsmodel, xt, false, true, holder);
+ generateParameter(buf, xe.getName(), xmlType, xsmodel, xt, false, true, holder);
buf.append(" ").append(header.getPartName());
}
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java
===================================================================
---
trunk/jbossws-core/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java 2007-07-26
15:58:13 UTC (rev 4005)
+++
trunk/jbossws-core/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -371,13 +371,13 @@
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
XSElementDeclaration xe = xsmodel.getElementDeclaration(elementName.getLocalPart(),
elementName.getNamespaceURI());
XSTypeDefinition xt = xe.getTypeDefinition();
- QName xmlType = new QName(xt.getNamespace(), xt.getName());
+ WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
+ QName xmlType = wsdlTypes.getXMLType(header.getElement());
// Replace the xt with the real type from the schema.
xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
if (xt instanceof XSSimpleTypeDefinition)
xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
-
String partName = header.getPartName();
MethodParamPartsMapping mpin = getMethodParamPartsMapping(semm, elementName,
xmlType, paramPosition, wsdlMessageName, mode, partName, false, true);
Copied: trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723 (from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723)
Deleted:
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,107 +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.jbws1723;
-
-import java.io.File;
-import java.io.FilenameFilter;
-
-import org.jboss.test.ws.tools.fixture.JBossSourceComparator;
-import org.jboss.test.ws.tools.validation.JaxrpcMappingValidator;
-import org.jboss.ws.tools.WSTools;
-import org.jboss.wsf.spi.test.JBossWSTest;
-
-/**
- * Test WSDL with bound headers defined as anonymous types.
- *
- * @see
http://jira.jboss.com/jira/browse/JBWS-1723
- *
- * @author darran.lofthouse(a)jboss.com
- * @since Jul 26, 2007
- */
-public class JBWS1723TestCase extends JBossWSTest
-{
- public void testGenerateDocLitIn() throws Exception
- {
- generateScenario("doclit_in");
- }
-
- public void testGenerateRpcLitIn() throws Exception
- {
- generateScenario("rpclit_in");
- }
-
- protected void generateScenario(final String scenario) throws Exception
- {
- String resourceDir = "resources/tools/jbws1723/" + scenario;
- String toolsDir = "tools/jbws1723/" + scenario;
- String[] args = new String[] { "-dest", toolsDir, "-config",
resourceDir + "/wstools-config.xml" };
- new WSTools().generate(args);
- File resourceDirFile = new File(resourceDir);
- String[] expectedFiles = resourceDirFile.list(new FilenameFilter() {
- public boolean accept(File dir, String name)
- {
- return name.endsWith(".java");
- }
- });
-
- for (int i = 0; i < expectedFiles.length; i++)
- {
- String currentFile = expectedFiles[i];
-
- try
- {
- compareSource(resourceDir + "/" + currentFile, toolsDir +
"/org/jboss/test/ws/jbws1723/" + currentFile);
- }
- catch (Exception e)
- {
- throw new Exception("Validation of '" + currentFile +
"' failed.", e);
- }
- }
-
- File packageDir = new File(toolsDir + "/org/jboss/test/ws/jbws1723");
- String[] generatedFiles = packageDir.list();
- for (int i = 0; i < generatedFiles.length; i++)
- {
- String currentFile = generatedFiles[i];
-
- boolean matched = "PhoneBookService.java".equals(currentFile);
-
- for (int j = 0; j < expectedFiles.length && (matched == false); j++)
- matched = currentFile.equals(expectedFiles[j]);
-
- assertTrue("File '" + currentFile + "' was not expected
to be generated", matched);
- }
-
- JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
- mappingValidator.validate(resourceDir + "/jaxrpc-mapping.xml", toolsDir +
"/jaxrpc-mapping.xml");
- }
-
- private static void compareSource(final String expectedName, final String
generatedName) throws Exception
- {
- File expected = new File(expectedName);
- File generated = new File(generatedName);
-
- JBossSourceComparator sc = new JBossSourceComparator(expected, generated);
- sc.validate();
- sc.validateImports();
- }
-}
Copied:
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java)
===================================================================
---
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java
(rev 0)
+++
trunk/jbossws-core/src/test/java/org/jboss/test/ws/tools/jbws1723/JBWS1723TestCase.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,107 @@
+/*
+ * 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.jbws1723;
+
+import java.io.File;
+import java.io.FilenameFilter;
+
+import org.jboss.test.ws.tools.fixture.JBossSourceComparator;
+import org.jboss.test.ws.tools.validation.JaxrpcMappingValidator;
+import org.jboss.ws.tools.WSTools;
+import org.jboss.wsf.spi.test.JBossWSTest;
+
+/**
+ * Test WSDL with bound headers defined as anonymous types.
+ *
+ * @see
http://jira.jboss.com/jira/browse/JBWS-1723
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since Jul 26, 2007
+ */
+public class JBWS1723TestCase extends JBossWSTest
+{
+ public void testGenerateDocLitIn() throws Exception
+ {
+ generateScenario("doclit_in");
+ }
+
+ public void testGenerateRpcLitIn() throws Exception
+ {
+ generateScenario("rpclit_in");
+ }
+
+ protected void generateScenario(final String scenario) throws Exception
+ {
+ String resourceDir = "resources/tools/jbws1723/" + scenario;
+ String toolsDir = "tools/jbws1723/" + scenario;
+ String[] args = new String[] { "-dest", toolsDir, "-config",
resourceDir + "/wstools-config.xml" };
+ new WSTools().generate(args);
+ File resourceDirFile = new File(resourceDir);
+ String[] expectedFiles = resourceDirFile.list(new FilenameFilter() {
+ public boolean accept(File dir, String name)
+ {
+ return name.endsWith(".java");
+ }
+ });
+
+ for (int i = 0; i < expectedFiles.length; i++)
+ {
+ String currentFile = expectedFiles[i];
+
+ try
+ {
+ compareSource(resourceDir + "/" + currentFile, toolsDir +
"/org/jboss/test/ws/jbws1723/" + currentFile);
+ }
+ catch (Exception e)
+ {
+ throw new Exception("Validation of '" + currentFile +
"' failed.", e);
+ }
+ }
+
+ File packageDir = new File(toolsDir + "/org/jboss/test/ws/jbws1723");
+ String[] generatedFiles = packageDir.list();
+ for (int i = 0; i < generatedFiles.length; i++)
+ {
+ String currentFile = generatedFiles[i];
+
+ boolean matched = "PhoneBookService.java".equals(currentFile);
+
+ for (int j = 0; j < expectedFiles.length && (matched == false); j++)
+ matched = currentFile.equals(expectedFiles[j]);
+
+ assertTrue("File '" + currentFile + "' was not expected
to be generated", matched);
+ }
+
+ JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
+ mappingValidator.validate(resourceDir + "/jaxrpc-mapping.xml", toolsDir +
"/jaxrpc-mapping.xml");
+ }
+
+ private static void compareSource(final String expectedName, final String
generatedName) throws Exception
+ {
+ File expected = new File(expectedName);
+ File generated = new File(generatedName);
+
+ JBossSourceComparator sc = new JBossSourceComparator(expected, generated);
+ sc.validate();
+ sc.validateImports();
+ }
+}
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723 (from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723)
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in (from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in)
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,34 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:56:31 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package org.jboss.test.ws.jbws1723;
-
-
-public class BillingAccount
-{
-
-protected java.lang.String sortCode;
-
-protected java.lang.String accountNumber;
-public BillingAccount(){}
-
-public BillingAccount(java.lang.String sortCode, java.lang.String accountNumber){
-this.sortCode=sortCode;
-this.accountNumber=accountNumber;
-}
-public java.lang.String getSortCode() { return sortCode ;}
-
-public void setSortCode(java.lang.String sortCode){ this.sortCode=sortCode; }
-
-public java.lang.String getAccountNumber() { return accountNumber ;}
-
-public void setAccountNumber(java.lang.String accountNumber){
this.accountNumber=accountNumber; }
-
-}
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/BillingAccount.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:56:31 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1723;
+
+
+public class BillingAccount
+{
+
+protected java.lang.String sortCode;
+
+protected java.lang.String accountNumber;
+public BillingAccount(){}
+
+public BillingAccount(java.lang.String sortCode, java.lang.String accountNumber){
+this.sortCode=sortCode;
+this.accountNumber=accountNumber;
+}
+public java.lang.String getSortCode() { return sortCode ;}
+
+public void setSortCode(java.lang.String sortCode){ this.sortCode=sortCode; }
+
+public java.lang.String getAccountNumber() { return accountNumber ;}
+
+public void setAccountNumber(java.lang.String accountNumber){
this.accountNumber=accountNumber; }
+
+}
Deleted: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java 2007-07-26
15:33:02 UTC (rev 4003)
+++ trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,34 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:56:31 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package org.jboss.test.ws.jbws1723;
-
-
-public class Person
-{
-
-protected java.lang.String firstName;
-
-protected java.lang.String surname;
-public Person(){}
-
-public Person(java.lang.String firstName, java.lang.String surname){
-this.firstName=firstName;
-this.surname=surname;
-}
-public java.lang.String getFirstName() { return firstName ;}
-
-public void setFirstName(java.lang.String firstName){ this.firstName=firstName; }
-
-public java.lang.String getSurname() { return surname ;}
-
-public void setSurname(java.lang.String surname){ this.surname=surname; }
-
-}
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java (from
rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java
(rev 0)
+++ trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/Person.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:56:31 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1723;
+
+
+public class Person
+{
+
+protected java.lang.String firstName;
+
+protected java.lang.String surname;
+public Person(){}
+
+public Person(java.lang.String firstName, java.lang.String surname){
+this.firstName=firstName;
+this.surname=surname;
+}
+public java.lang.String getFirstName() { return firstName ;}
+
+public void setFirstName(java.lang.String firstName){ this.firstName=firstName; }
+
+public java.lang.String getSurname() { return surname ;}
+
+public void setSurname(java.lang.String surname){ this.surname=surname; }
+
+}
Deleted: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook'
-
targetNamespace='http://test.jboss.org/ws/jbws1723'
-
xmlns='http://schemas.xmlsoap.org/wsdl/'
-
xmlns:ns1='http://test.jboss.org/ws/jbws1723/types'
-
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
-
xmlns:tns='http://test.jboss.org/ws/jbws1723'
-
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema
targetNamespace='http://test.jboss.org/ws/jbws1723/types'
-
xmlns='http://www.w3.org/2001/XMLSchema'
-
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/'
-
xmlns:tns='http://test.jboss.org/ws/jbws1723/types'
-
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='firstName' nillable='true'
type='string'/>
- <element name='surname' nillable='true'
type='string'/>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='areaCode' nillable='true'
type='string'/>
- <element name='number' nillable='true'
type='string'/>
- </sequence>
- </complexType>
-
- <element name='lookup' type='tns:Person'/>
- <element name='lookupResponse' type='tns:TelephoneNumber'/>
- <element name='billingAccount'>
- <complexType>
- <sequence>
- <element name='sortCode' nillable='true'
type='string'/>
- <element name='accountNumber' nillable='true'
type='string'/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </types>
-
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- <part element='ns1:billingAccount' name='header'/>
- </message>
-
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
-
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
-
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal' parts='parameters'/>
- <soap:header use='literal' message='tns:PhoneBook_lookup'
part='header' />
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook.wsdl 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook'
+
targetNamespace='http://test.jboss.org/ws/jbws1723'
+
xmlns='http://schemas.xmlsoap.org/wsdl/'
+
xmlns:ns1='http://test.jboss.org/ws/jbws1723/types'
+
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
+
xmlns:tns='http://test.jboss.org/ws/jbws1723'
+
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema
targetNamespace='http://test.jboss.org/ws/jbws1723/types'
+
xmlns='http://www.w3.org/2001/XMLSchema'
+
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/'
+
xmlns:tns='http://test.jboss.org/ws/jbws1723/types'
+
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <complexType name='Person'>
+ <sequence>
+ <element name='firstName' nillable='true'
type='string'/>
+ <element name='surname' nillable='true'
type='string'/>
+ </sequence>
+ </complexType>
+
+ <complexType name='TelephoneNumber'>
+ <sequence>
+ <element name='areaCode' nillable='true'
type='string'/>
+ <element name='number' nillable='true'
type='string'/>
+ </sequence>
+ </complexType>
+
+ <element name='lookup' type='tns:Person'/>
+ <element name='lookupResponse' type='tns:TelephoneNumber'/>
+ <element name='billingAccount'>
+ <complexType>
+ <sequence>
+ <element name='sortCode' nillable='true'
type='string'/>
+ <element name='accountNumber' nillable='true'
type='string'/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ <part element='ns1:billingAccount' name='header'/>
+ </message>
+
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal' parts='parameters'/>
+ <soap:header use='literal' message='tns:PhoneBook_lookup'
part='header' />
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,15 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:56:31 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-package org.jboss.test.ws.jbws1723;
-public interface PhoneBook_PortType extends java.rmi.Remote
-{
-
- public org.jboss.test.ws.jbws1723.TelephoneNumber
lookup(org.jboss.test.ws.jbws1723.Person lookup, org.jboss.test.ws.jbws1723.BillingAccount
header) throws java.rmi.RemoteException;
-}
Copied:
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java)
===================================================================
---
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/PhoneBook_PortType.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,15 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:56:31 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+package org.jboss.test.ws.jbws1723;
+public interface PhoneBook_PortType extends java.rmi.Remote
+{
+
+ public org.jboss.test.ws.jbws1723.TelephoneNumber
lookup(org.jboss.test.ws.jbws1723.Person lookup, org.jboss.test.ws.jbws1723.BillingAccount
header) throws java.rmi.RemoteException;
+}
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,34 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:56:31 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package org.jboss.test.ws.jbws1723;
-
-
-public class TelephoneNumber
-{
-
-protected java.lang.String areaCode;
-
-protected java.lang.String number;
-public TelephoneNumber(){}
-
-public TelephoneNumber(java.lang.String areaCode, java.lang.String number){
-this.areaCode=areaCode;
-this.number=number;
-}
-public java.lang.String getAreaCode() { return areaCode ;}
-
-public void setAreaCode(java.lang.String areaCode){ this.areaCode=areaCode; }
-
-public java.lang.String getNumber() { return number ;}
-
-public void setNumber(java.lang.String number){ this.number=number; }
-
-}
Copied:
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java (from
rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/TelephoneNumber.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:56:31 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1723;
+
+
+public class TelephoneNumber
+{
+
+protected java.lang.String areaCode;
+
+protected java.lang.String number;
+public TelephoneNumber(){}
+
+public TelephoneNumber(java.lang.String areaCode, java.lang.String number){
+this.areaCode=areaCode;
+this.number=number;
+}
+public java.lang.String getAreaCode() { return areaCode ;}
+
+public void setAreaCode(java.lang.String areaCode){ this.areaCode=areaCode; }
+
+public java.lang.String getNumber() { return number ;}
+
+public void setNumber(java.lang.String number){ this.number=number; }
+
+}
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,89 +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.jbws1723</package-type>
- <
namespaceURI>http://test.jboss.org/ws/jbws1723/types</namespaceURI>
- </package-mapping>
- <package-mapping>
- <package-type>org.jboss.test.ws.jbws1723</package-type>
- <
namespaceURI>http://test.jboss.org/ws/jbws1723</namespaceURI>
- </package-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jbws1723.Person</java-type>
- <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>firstName</java-variable-name>
- <xml-element-name>firstName</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>surname</java-variable-name>
- <xml-element-name>surname</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jbws1723.TelephoneNumber</java-type>
- <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>areaCode</java-variable-name>
- <xml-element-name>areaCode</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>number</java-variable-name>
- <xml-element-name>number</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jbws1723.BillingAccount</java-type>
- <anonymous-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>sortCode</java-variable-name>
- <xml-element-name>sortCode</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>accountNumber</java-variable-name>
- <xml-element-name>accountNumber</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <service-interface-mapping>
-
<service-interface>org.jboss.test.ws.jbws1723.PhoneBook_Service</service-interface>
- <wsdl-service-name
xmlns:serviceNS='http://test.jboss.org/ws/jbws1723'>serviceNS:...
- <port-mapping>
- <port-name>PhoneBookPort</port-name>
- <java-port-name>PhoneBookPort</java-port-name>
- </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
-
<service-endpoint-interface>org.jboss.test.ws.jbws1723.PhoneBook_PortType</service-endpoint-interface>
- <wsdl-port-type
xmlns:portTypeNS='http://test.jboss.org/ws/jbws1723'>portTypeN...
- <wsdl-binding
xmlns:bindingNS='http://test.jboss.org/ws/jbws1723'>bindingNS:...
- <service-endpoint-method-mapping>
- <java-method-name>lookup</java-method-name>
- <wsdl-operation>lookup</wsdl-operation>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>org.jboss.test.ws.jbws1723.Person</param-type>
- <wsdl-message-mapping>
- <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
- <wsdl-message-part-name>parameters</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <method-param-parts-mapping>
- <param-position>1</param-position>
- <param-type>org.jboss.test.ws.jbws1723.BillingAccount</param-type>
- <wsdl-message-mapping>
- <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
- <wsdl-message-part-name>header</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.jbws1723.TelephoneNumber</method-return-value>
- <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
- <wsdl-message-part-name>result</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- </service-endpoint-interface-mapping>
-</java-wsdl-mapping>
\ No newline at end of file
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/jaxrpc-mapping.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,89 @@
+<?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.jbws1723</package-type>
+ <
namespaceURI>http://test.jboss.org/ws/jbws1723/types</namespaceURI>
+ </package-mapping>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jbws1723</package-type>
+ <
namespaceURI>http://test.jboss.org/ws/jbws1723</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws1723.Person</java-type>
+ <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>firstName</java-variable-name>
+ <xml-element-name>firstName</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>surname</java-variable-name>
+ <xml-element-name>surname</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws1723.TelephoneNumber</java-type>
+ <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>areaCode</java-variable-name>
+ <xml-element-name>areaCode</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>number</java-variable-name>
+ <xml-element-name>number</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws1723.BillingAccount</java-type>
+ <anonymous-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>sortCode</java-variable-name>
+ <xml-element-name>sortCode</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>accountNumber</java-variable-name>
+ <xml-element-name>accountNumber</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+
<service-interface>org.jboss.test.ws.jbws1723.PhoneBook_Service</service-interface>
+ <wsdl-service-name
xmlns:serviceNS='http://test.jboss.org/ws/jbws1723'>serviceNS:...
+ <port-mapping>
+ <port-name>PhoneBookPort</port-name>
+ <java-port-name>PhoneBookPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+
<service-endpoint-interface>org.jboss.test.ws.jbws1723.PhoneBook_PortType</service-endpoint-interface>
+ <wsdl-port-type
xmlns:portTypeNS='http://test.jboss.org/ws/jbws1723'>portTypeN...
+ <wsdl-binding
xmlns:bindingNS='http://test.jboss.org/ws/jbws1723'>bindingNS:...
+ <service-endpoint-method-mapping>
+ <java-method-name>lookup</java-method-name>
+ <wsdl-operation>lookup</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jbws1723.Person</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>org.jboss.test.ws.jbws1723.BillingAccount</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
+ <wsdl-message-part-name>header</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.jbws1723.TelephoneNumber</method-return-value>
+ <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,6 +0,0 @@
-<configuration>
- <wsdl-java location="resources/tools/jbws1723/doclit_in/PhoneBook.wsdl"
- parameter-style="bare">
- <mapping file="jaxrpc-mapping.xml"/>
- </wsdl-java>
-</configuration>
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/doclit_in/wstools-config.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,6 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1723/doclit_in/PhoneBook.wsdl"
+ parameter-style="bare">
+ <mapping file="jaxrpc-mapping.xml"/>
+ </wsdl-java>
+</configuration>
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in (from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in)
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,34 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:58:39 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package org.jboss.test.ws.jbws1723;
-
-
-public class BillingAccount
-{
-
-protected java.lang.String sortCode;
-
-protected java.lang.String accountNumber;
-public BillingAccount(){}
-
-public BillingAccount(java.lang.String sortCode, java.lang.String accountNumber){
-this.sortCode=sortCode;
-this.accountNumber=accountNumber;
-}
-public java.lang.String getSortCode() { return sortCode ;}
-
-public void setSortCode(java.lang.String sortCode){ this.sortCode=sortCode; }
-
-public java.lang.String getAccountNumber() { return accountNumber ;}
-
-public void setAccountNumber(java.lang.String accountNumber){
this.accountNumber=accountNumber; }
-
-}
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/BillingAccount.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:58:39 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1723;
+
+
+public class BillingAccount
+{
+
+protected java.lang.String sortCode;
+
+protected java.lang.String accountNumber;
+public BillingAccount(){}
+
+public BillingAccount(java.lang.String sortCode, java.lang.String accountNumber){
+this.sortCode=sortCode;
+this.accountNumber=accountNumber;
+}
+public java.lang.String getSortCode() { return sortCode ;}
+
+public void setSortCode(java.lang.String sortCode){ this.sortCode=sortCode; }
+
+public java.lang.String getAccountNumber() { return accountNumber ;}
+
+public void setAccountNumber(java.lang.String accountNumber){
this.accountNumber=accountNumber; }
+
+}
Deleted: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java 2007-07-26
15:33:02 UTC (rev 4003)
+++ trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,34 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:58:39 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package org.jboss.test.ws.jbws1723;
-
-
-public class Person
-{
-
-protected java.lang.String firstName;
-
-protected java.lang.String surname;
-public Person(){}
-
-public Person(java.lang.String firstName, java.lang.String surname){
-this.firstName=firstName;
-this.surname=surname;
-}
-public java.lang.String getFirstName() { return firstName ;}
-
-public void setFirstName(java.lang.String firstName){ this.firstName=firstName; }
-
-public java.lang.String getSurname() { return surname ;}
-
-public void setSurname(java.lang.String surname){ this.surname=surname; }
-
-}
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java (from
rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java
(rev 0)
+++ trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/Person.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:58:39 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1723;
+
+
+public class Person
+{
+
+protected java.lang.String firstName;
+
+protected java.lang.String surname;
+public Person(){}
+
+public Person(java.lang.String firstName, java.lang.String surname){
+this.firstName=firstName;
+this.surname=surname;
+}
+public java.lang.String getFirstName() { return firstName ;}
+
+public void setFirstName(java.lang.String firstName){ this.firstName=firstName; }
+
+public java.lang.String getSurname() { return surname ;}
+
+public void setSurname(java.lang.String surname){ this.surname=surname; }
+
+}
Deleted: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook'
-
targetNamespace='http://test.jboss.org/ws/jbws1723'
-
xmlns='http://schemas.xmlsoap.org/wsdl/'
-
xmlns:ns1='http://test.jboss.org/ws/jbws1723/types'
-
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
-
xmlns:tns='http://test.jboss.org/ws/jbws1723'
-
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema
targetNamespace='http://test.jboss.org/ws/jbws1723/types'
-
xmlns='http://www.w3.org/2001/XMLSchema'
-
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/'
-
xmlns:tns='http://test.jboss.org/ws/jbws1723/types'
-
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='firstName' nillable='true'
type='string'/>
- <element name='surname' nillable='true'
type='string'/>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='areaCode' nillable='true'
type='string'/>
- <element name='number' nillable='true'
type='string'/>
- </sequence>
- </complexType>
-
-
- <element name='billingAccount'>
- <complexType>
- <sequence>
- <element name='sortCode' nillable='true'
type='string'/>
- <element name='accountNumber' nillable='true'
type='string'/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </types>
-
- <message name='PhoneBook_lookup'
xmlns='http://schemas.xmlsoap.org/wsdl/'>
- <part name='Person_1' type='ns1:Person'/>
- <part name='Account_1' element='ns1:billingAccount'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part name='result' type='ns1:TelephoneNumber'/>
- </message>
-
- <portType name='PhoneBook'>
- <operation name='lookup' parameterOrder='Person_1'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
-
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body
namespace='http://www.jboss.org/support/phonebook'
use='literal' parts='Person_1' />
- <soap:header message="tns:PhoneBook_lookup"
- part="Account_1" use="literal" />
- </input>
- <output>
- <soap:body
namespace='http://www.jboss.org/support/phonebook'
use='literal'/>
- </output>
- </operation>
- </binding>
-
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook'
+
targetNamespace='http://test.jboss.org/ws/jbws1723'
+
xmlns='http://schemas.xmlsoap.org/wsdl/'
+
xmlns:ns1='http://test.jboss.org/ws/jbws1723/types'
+
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
+
xmlns:tns='http://test.jboss.org/ws/jbws1723'
+
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema
targetNamespace='http://test.jboss.org/ws/jbws1723/types'
+
xmlns='http://www.w3.org/2001/XMLSchema'
+
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/'
+
xmlns:tns='http://test.jboss.org/ws/jbws1723/types'
+
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <complexType name='Person'>
+ <sequence>
+ <element name='firstName' nillable='true'
type='string'/>
+ <element name='surname' nillable='true'
type='string'/>
+ </sequence>
+ </complexType>
+
+ <complexType name='TelephoneNumber'>
+ <sequence>
+ <element name='areaCode' nillable='true'
type='string'/>
+ <element name='number' nillable='true'
type='string'/>
+ </sequence>
+ </complexType>
+
+
+ <element name='billingAccount'>
+ <complexType>
+ <sequence>
+ <element name='sortCode' nillable='true'
type='string'/>
+ <element name='accountNumber' nillable='true'
type='string'/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+
+ <message name='PhoneBook_lookup'
xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part name='Person_1' type='ns1:Person'/>
+ <part name='Account_1' element='ns1:billingAccount'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part name='result' type='ns1:TelephoneNumber'/>
+ </message>
+
+ <portType name='PhoneBook'>
+ <operation name='lookup' parameterOrder='Person_1'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body
namespace='http://www.jboss.org/support/phonebook'
use='literal' parts='Person_1' />
+ <soap:header message="tns:PhoneBook_lookup"
+ part="Account_1" use="literal" />
+ </input>
+ <output>
+ <soap:body
namespace='http://www.jboss.org/support/phonebook'
use='literal'/>
+ </output>
+ </operation>
+ </binding>
+
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,15 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:58:39 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-package org.jboss.test.ws.jbws1723;
-public interface PhoneBook_PortType extends java.rmi.Remote
-{
-
- public org.jboss.test.ws.jbws1723.TelephoneNumber
lookup(org.jboss.test.ws.jbws1723.Person person_1,
org.jboss.test.ws.jbws1723.BillingAccount Account_1) throws java.rmi.RemoteException;
-}
Copied:
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java)
===================================================================
---
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/PhoneBook_PortType.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,15 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:58:39 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+package org.jboss.test.ws.jbws1723;
+public interface PhoneBook_PortType extends java.rmi.Remote
+{
+
+ public org.jboss.test.ws.jbws1723.TelephoneNumber
lookup(org.jboss.test.ws.jbws1723.Person person_1,
org.jboss.test.ws.jbws1723.BillingAccount Account_1) throws java.rmi.RemoteException;
+}
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,34 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Thu Jul 26 15:58:39 BST 2007
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package org.jboss.test.ws.jbws1723;
-
-
-public class TelephoneNumber
-{
-
-protected java.lang.String areaCode;
-
-protected java.lang.String number;
-public TelephoneNumber(){}
-
-public TelephoneNumber(java.lang.String areaCode, java.lang.String number){
-this.areaCode=areaCode;
-this.number=number;
-}
-public java.lang.String getAreaCode() { return areaCode ;}
-
-public void setAreaCode(java.lang.String areaCode){ this.areaCode=areaCode; }
-
-public java.lang.String getNumber() { return number ;}
-
-public void setNumber(java.lang.String number){ this.number=number; }
-
-}
Copied:
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java (from
rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/TelephoneNumber.java 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Thu Jul 26 15:58:39 BST 2007
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1723;
+
+
+public class TelephoneNumber
+{
+
+protected java.lang.String areaCode;
+
+protected java.lang.String number;
+public TelephoneNumber(){}
+
+public TelephoneNumber(java.lang.String areaCode, java.lang.String number){
+this.areaCode=areaCode;
+this.number=number;
+}
+public java.lang.String getAreaCode() { return areaCode ;}
+
+public void setAreaCode(java.lang.String areaCode){ this.areaCode=areaCode; }
+
+public java.lang.String getNumber() { return number ;}
+
+public void setNumber(java.lang.String number){ this.number=number; }
+
+}
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,89 +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.jbws1723</package-type>
- <
namespaceURI>http://test.jboss.org/ws/jbws1723/types</namespaceURI>
- </package-mapping>
- <package-mapping>
- <package-type>org.jboss.test.ws.jbws1723</package-type>
- <
namespaceURI>http://test.jboss.org/ws/jbws1723</namespaceURI>
- </package-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jbws1723.Person</java-type>
- <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>firstName</java-variable-name>
- <xml-element-name>firstName</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>surname</java-variable-name>
- <xml-element-name>surname</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jbws1723.TelephoneNumber</java-type>
- <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>areaCode</java-variable-name>
- <xml-element-name>areaCode</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>number</java-variable-name>
- <xml-element-name>number</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jbws1723.BillingAccount</java-type>
- <anonymous-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>sortCode</java-variable-name>
- <xml-element-name>sortCode</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>accountNumber</java-variable-name>
- <xml-element-name>accountNumber</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <service-interface-mapping>
-
<service-interface>org.jboss.test.ws.jbws1723.PhoneBook_Service</service-interface>
- <wsdl-service-name
xmlns:serviceNS='http://test.jboss.org/ws/jbws1723'>serviceNS:...
- <port-mapping>
- <port-name>PhoneBookPort</port-name>
- <java-port-name>PhoneBookPort</java-port-name>
- </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
-
<service-endpoint-interface>org.jboss.test.ws.jbws1723.PhoneBook_PortType</service-endpoint-interface>
- <wsdl-port-type
xmlns:portTypeNS='http://test.jboss.org/ws/jbws1723'>portTypeN...
- <wsdl-binding
xmlns:bindingNS='http://test.jboss.org/ws/jbws1723'>bindingNS:...
- <service-endpoint-method-mapping>
- <java-method-name>lookup</java-method-name>
- <wsdl-operation>lookup</wsdl-operation>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>org.jboss.test.ws.jbws1723.Person</param-type>
- <wsdl-message-mapping>
- <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
- <wsdl-message-part-name>Person_1</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <method-param-parts-mapping>
- <param-position>1</param-position>
- <param-type>org.jboss.test.ws.jbws1723.BillingAccount</param-type>
- <wsdl-message-mapping>
- <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
- <wsdl-message-part-name>Account_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.jbws1723.TelephoneNumber</method-return-value>
- <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
- <wsdl-message-part-name>result</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- </service-endpoint-interface-mapping>
-</java-wsdl-mapping>
\ No newline at end of file
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/jaxrpc-mapping.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,89 @@
+<?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.jbws1723</package-type>
+ <
namespaceURI>http://test.jboss.org/ws/jbws1723/types</namespaceURI>
+ </package-mapping>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jbws1723</package-type>
+ <
namespaceURI>http://test.jboss.org/ws/jbws1723</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws1723.Person</java-type>
+ <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>firstName</java-variable-name>
+ <xml-element-name>firstName</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>surname</java-variable-name>
+ <xml-element-name>surname</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws1723.TelephoneNumber</java-type>
+ <root-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>areaCode</java-variable-name>
+ <xml-element-name>areaCode</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>number</java-variable-name>
+ <xml-element-name>number</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws1723.BillingAccount</java-type>
+ <anonymous-type-qname
xmlns:typeNS='http://test.jboss.org/ws/jbws1723/types'>typeNS:...
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>sortCode</java-variable-name>
+ <xml-element-name>sortCode</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>accountNumber</java-variable-name>
+ <xml-element-name>accountNumber</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+
<service-interface>org.jboss.test.ws.jbws1723.PhoneBook_Service</service-interface>
+ <wsdl-service-name
xmlns:serviceNS='http://test.jboss.org/ws/jbws1723'>serviceNS:...
+ <port-mapping>
+ <port-name>PhoneBookPort</port-name>
+ <java-port-name>PhoneBookPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+
<service-endpoint-interface>org.jboss.test.ws.jbws1723.PhoneBook_PortType</service-endpoint-interface>
+ <wsdl-port-type
xmlns:portTypeNS='http://test.jboss.org/ws/jbws1723'>portTypeN...
+ <wsdl-binding
xmlns:bindingNS='http://test.jboss.org/ws/jbws1723'>bindingNS:...
+ <service-endpoint-method-mapping>
+ <java-method-name>lookup</java-method-name>
+ <wsdl-operation>lookup</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jbws1723.Person</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
+ <wsdl-message-part-name>Person_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>org.jboss.test.ws.jbws1723.BillingAccount</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
+ <wsdl-message-part-name>Account_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.jbws1723.TelephoneNumber</method-return-value>
+ <wsdl-message
xmlns:wsdlMsgNS='http://test.jboss.org/ws/jbws1723'>wsdlMsgNS:...
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Deleted:
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml 2007-07-26
15:33:02 UTC (rev 4003)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -1,6 +0,0 @@
-<configuration>
- <wsdl-java location="resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl"
- parameter-style="bare">
- <mapping file="jaxrpc-mapping.xml"/>
- </wsdl-java>
-</configuration>
Copied: trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml
(from rev 4003,
branches/jbossws-2.0/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml)
===================================================================
--- trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml
(rev 0)
+++
trunk/jbossws-core/src/test/resources/tools/jbws1723/rpclit_in/wstools-config.xml 2007-07-26
16:07:57 UTC (rev 4006)
@@ -0,0 +1,6 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1723/rpclit_in/PhoneBook.wsdl"
+ parameter-style="bare">
+ <mapping file="jaxrpc-mapping.xml"/>
+ </wsdl-java>
+</configuration>