Author: richard.opalka(a)jboss.com
Date: 2010-05-21 02:38:10 -0400 (Fri, 21 May 2010)
New Revision: 12296
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers2Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers3Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers4Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers5Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers6Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault_Exception.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType_handler.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersResponse.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService_handler.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ClientSOAPHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/JBWS3031TestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ObjectFactory.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers2Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers3Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers4Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault_Exception.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/common/
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/common/TestConstants.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/package-info.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers2Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers3Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers4Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers5Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers6Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault_Exception.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersImpl.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType_handler.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersResponse.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService_handler.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ObjectFactory.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ServerSOAPHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers2Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers3Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers4Fault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault_Exception.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/package-info.java
framework/trunk/testsuite/test/resources/jaxws/jbws3031/
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/jboss-web.xml
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/web.xml
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/wsdl/
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/wsdl/WSAW2JDLActionTest.wsdl
framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-client.xml
framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-server.xml
Modified:
framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/common/WsaBaseSOAPHandler.java
Log:
[JBWS-3031] providing test case
Modified: framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2010-05-20 20:27:29 UTC
(rev 12295)
+++ framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2010-05-21 06:38:10 UTC
(rev 12296)
@@ -963,6 +963,20 @@
</webinf>
</war>
+ <!-- jaxws-jbws3031 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws3031.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws3031/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws3031/service/*.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws3031/service/*.xml" />
+ <include name="org/jboss/test/ws/jaxws/jbws3031/common/*.class"/>
+ <include name="org/jboss/test/ws/jaxws/common/*.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws3031/WEB-INF">
+ <include name="wsdl/**" />
+ <include name="jboss-web.xml"/>
+ </webinf>
+ </war>
+
<!-- jaxws namespace -->
<war warfile="${tests.output.dir}/test-libs/jaxws-namespace.war"
webxml="${tests.output.dir}/test-resources/jaxws/namespace/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/test-classes">
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/common/WsaBaseSOAPHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/common/WsaBaseSOAPHandler.java 2010-05-20
20:27:29 UTC (rev 12295)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/common/WsaBaseSOAPHandler.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -606,9 +606,9 @@
throwActionNotSupportedException(expectedAction, currentAction);
}
- protected void assertFaultAction(final String currentRequestName, final String
currentDetailName,
- final String currentAction, final String expectedRequestName, final String
expectedDetailName,
- final String expectedAction)
+ protected void assertFaultAction(
+ final String currentRequestName, final String currentDetailName, final String
currentAction,
+ final String expectedRequestName, final String expectedDetailName, final String
expectedAction)
{
final boolean requestNameMatch = currentRequestName.equals(expectedRequestName);
final boolean detailNameMatch = currentDetailName.equals(expectedDetailName);
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for addNumbers complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="addNumbers">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="number1"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="number2"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "addNumbers", propOrder =
+{"number1", "number2"})
+public class AddNumbers
+{
+
+ protected int number1;
+
+ protected int number2;
+
+ /**
+ * Gets the value of the number1 property.
+ *
+ */
+ public int getNumber1()
+ {
+ return number1;
+ }
+
+ /**
+ * Sets the value of the number1 property.
+ *
+ */
+ public void setNumber1(int value)
+ {
+ this.number1 = value;
+ }
+
+ /**
+ * Gets the value of the number2 property.
+ *
+ */
+ public int getNumber2()
+ {
+ return number2;
+ }
+
+ /**
+ * Sets the value of the number2 property.
+ *
+ */
+ public void setNumber2(int value)
+ {
+ this.number2 = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers2Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers2Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers2Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers2Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers2Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers2Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers2Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers3Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers3Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers3Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers3Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers3Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers3Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers3Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers4Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers4Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers4Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers4Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers4Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers4Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers4Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers5Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers5Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers5Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers5Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers5Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers5Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers5Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers6Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers6Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbers6Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers6Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers6Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers6Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers6Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for AddNumbersFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="AddNumbersFault">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="detail"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="message"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AddNumbersFault", propOrder =
+{"detail", "message"})
+public class AddNumbersFault
+{
+
+ @XmlElement(required = true)
+ protected String detail;
+
+ @XmlElement(required = true)
+ protected String message;
+
+ /**
+ * Gets the value of the detail property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDetail()
+ {
+ return detail;
+ }
+
+ /**
+ * Sets the value of the detail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDetail(String value)
+ {
+ this.detail = value;
+ }
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessage()
+ {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value)
+ {
+ this.message = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault_Exception.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault_Exception.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersFault_Exception.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbersFault", targetNamespace =
"http://example.com/")
+public class AddNumbersFault_Exception extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbersFault_Exception(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbersFault_Exception(String message, AddNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,156 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.jws.HandlerChain;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.Action;
+import javax.xml.ws.FaultAction;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebService(name = "AddNumbersPortType", targetNamespace =
"http://example.com/")
+@HandlerChain(file = "AddNumbersPortType_handler.xml")
+@XmlSeeAlso(
+{ObjectFactory.class})
+public interface AddNumbersPortType
+{
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbersFault_Exception
+ * @throws TooBigNumbersFault_Exception
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbersResponse")
+ public int addNumbers(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2)
+ throws AddNumbersFault_Exception, TooBigNumbersFault_Exception;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbers2Fault
+ * @throws TooBigNumbers2Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers2", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse2", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbersResponse")
+ @Action(fault =
+ {@FaultAction(className = AddNumbers2Fault.class, value = "add2fault"),
+ @FaultAction(className = TooBigNumbers2Fault.class, value =
"toobig2fault")})
+ public int addNumbers2(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers2Fault,
+ TooBigNumbers2Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbers3Fault
+ * @throws TooBigNumbers3Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers3", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse3", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbersResponse")
+ @Action(fault =
+ {@FaultAction(className = AddNumbers3Fault.class, value = "add3fault")})
+ public int addNumbers3(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers3Fault,
+ TooBigNumbers3Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws TooBigNumbers4Fault
+ * @throws AddNumbers4Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers4", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse4", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbersResponse")
+ @Action(fault =
+ {@FaultAction(className = TooBigNumbers4Fault.class, value =
"toobig4fault")})
+ public int addNumbers4(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers4Fault,
+ TooBigNumbers4Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbers5Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers5", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse5", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbersResponse")
+ @Action(input = "ExplicitInput5", output = "ExplicitOutput5",
fault =
+ {@FaultAction(className = AddNumbers5Fault.class, value = "fault5")})
+ public int addNumbers5(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers5Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbers6Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers6", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse6", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.AddNumbersResponse")
+ @Action(input = "ExplicitInput6")
+ public int addNumbers6(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers6Fault;
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType_handler.xml
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType_handler.xml
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersPortType_handler.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?><handler-chains
xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <port-name-pattern
xmlns:ns2="http://example.com/">ns2:AddNumbersPort</port-...
+ <handler>
+ <handler-name>ClientSOAPHandler</handler-name>
+
<handler-class>org.jboss.test.ws.jaxws.jbws3031.ClientSOAPHandler</handler-class>
+ </handler>
+ </handler-chain>
+</handler-chains>
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersResponse.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersResponse.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersResponse.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for addNumbersResponse complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="addNumbersResponse">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="return"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "addNumbersResponse", propOrder =
+{"_return"})
+public class AddNumbersResponse
+{
+
+ @XmlElement(name = "return")
+ protected int _return;
+
+ /**
+ * Gets the value of the return property.
+ *
+ */
+ public int getReturn()
+ {
+ return _return;
+ }
+
+ /**
+ * Sets the value of the return property.
+ *
+ */
+ public void setReturn(int value)
+ {
+ this._return = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import javax.jws.HandlerChain;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceFeature;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebServiceClient(name = "AddNumbersService", targetNamespace =
"http://example.com/", wsdlLocation =
"file:/opt/svn/jbossas/tags/6.0.0.20100429-M3/build/target/jboss-6.0.0.20100429-M3/bin/WSAW2JDLActionTest.wsdl")
+@HandlerChain(file = "AddNumbersService_handler.xml")
+public class AddNumbersService extends Service
+{
+
+ private final static URL ADDNUMBERSSERVICE_WSDL_LOCATION;
+
+ private final static WebServiceException ADDNUMBERSSERVICE_EXCEPTION;
+
+ private final static QName ADDNUMBERSSERVICE_QNAME = new
QName("http://example.com/", "AddNumbersService");
+
+ static
+ {
+ URL url = null;
+ WebServiceException e = null;
+ try
+ {
+ url = new URL(
+
"file:/opt/svn/jbossas/tags/6.0.0.20100429-M3/build/target/jboss-6.0.0.20100429-M3/bin/WSAW2JDLActionTest.wsdl");
+ }
+ catch (MalformedURLException ex)
+ {
+ e = new WebServiceException(ex);
+ }
+ ADDNUMBERSSERVICE_WSDL_LOCATION = url;
+ ADDNUMBERSSERVICE_EXCEPTION = e;
+ }
+
+ public AddNumbersService()
+ {
+ super(__getWsdlLocation(), ADDNUMBERSSERVICE_QNAME);
+ }
+
+ public AddNumbersService(WebServiceFeature... features)
+ {
+ super(__getWsdlLocation(), ADDNUMBERSSERVICE_QNAME, features);
+ }
+
+ public AddNumbersService(URL wsdlLocation)
+ {
+ super(wsdlLocation, ADDNUMBERSSERVICE_QNAME);
+ }
+
+ public AddNumbersService(URL wsdlLocation, WebServiceFeature... features)
+ {
+ super(wsdlLocation, ADDNUMBERSSERVICE_QNAME, features);
+ }
+
+ public AddNumbersService(URL wsdlLocation, QName serviceName)
+ {
+ super(wsdlLocation, serviceName);
+ }
+
+ public AddNumbersService(URL wsdlLocation, QName serviceName, WebServiceFeature...
features)
+ {
+ super(wsdlLocation, serviceName, features);
+ }
+
+ /**
+ *
+ * @return
+ * returns AddNumbersPortType
+ */
+ @WebEndpoint(name = "AddNumbersPort")
+ public AddNumbersPortType getAddNumbersPort()
+ {
+ return super.getPort(new
QName("http://example.com/",
"AddNumbersPort"), AddNumbersPortType.class);
+ }
+
+ /**
+ *
+ * @param features
+ * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.
Supported features not in the <code>features</code> parameter will have their
default values.
+ * @return
+ * returns AddNumbersPortType
+ */
+ @WebEndpoint(name = "AddNumbersPort")
+ public AddNumbersPortType getAddNumbersPort(WebServiceFeature... features)
+ {
+ return super.getPort(new
QName("http://example.com/",
"AddNumbersPort"), AddNumbersPortType.class, features);
+ }
+
+ private static URL __getWsdlLocation()
+ {
+ if (ADDNUMBERSSERVICE_EXCEPTION != null)
+ {
+ throw ADDNUMBERSSERVICE_EXCEPTION;
+ }
+ return ADDNUMBERSSERVICE_WSDL_LOCATION;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService_handler.xml
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService_handler.xml
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/AddNumbersService_handler.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?><handler-chains
xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <port-name-pattern
xmlns:ns2="http://example.com/">ns2:AddNumbersPort</port-...
+ <handler>
+ <handler-name>ClientSOAPHandler</handler-name>
+
<handler-class>org.jboss.test.ws.jaxws.jbws3031.ClientSOAPHandler</handler-class>
+ </handler>
+ </handler-chain>
+</handler-chains>
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ClientSOAPHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ClientSOAPHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ClientSOAPHandler.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+
+import org.jboss.test.ws.jaxws.common.WsaBaseSOAPHandler;
+import org.jboss.test.ws.jaxws.jbws3031.common.TestConstants;
+
+public class ClientSOAPHandler extends WsaBaseSOAPHandler
+{
+ @Override
+ protected void checkInboundAction(final SOAPMessageContext context, final String
currentOperation, final String currentAction)
+ {
+ this.assertAction(currentOperation, currentAction, "addNumbersResponse2",
TestConstants.ADD_NUMBERS2_OUT_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbersResponse3",
TestConstants.ADD_NUMBERS3_OUT_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbersResponse4",
TestConstants.ADD_NUMBERS4_OUT_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbersResponse5",
TestConstants.ADD_NUMBERS5_OUT_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbersReeponse6",
TestConstants.ADD_NUMBERS6_OUT_ACTION);
+ }
+
+ @Override
+ protected void checkFaultActions(final String currentRequestName, final String
currentDetailName, final String currentAction)
+ {
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers", "AddNumbersFault",
TestConstants.ADD_NUMBERS_ADDNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers", "TooBigNumbersFault",
TestConstants.ADD_NUMBERS_TOOBIGNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers2", "AddNumbers2Fault",
TestConstants.ADD_NUMBERS2_ADDNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers2", "TooBigNumbers2Fault",
TestConstants.ADD_NUMBERS2_TOOBIGNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers3", "AddNumbers3Fault",
TestConstants.ADD_NUMBERS3_ADDNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers3", "TooBigNumbers3Fault",
TestConstants.ADD_NUMBERS3_TOOBIGNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers4", "AddNumbers4Fault",
TestConstants.ADD_NUMBERS4_ADDNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers4", "TooBigNumbers4Fault",
TestConstants.ADD_NUMBERS4_TOOBIGNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers5", "AdNumbers5Fault",
TestConstants.ADD_NUMBERS5_ADDNUMBERS_ACTION);
+ this.assertFaultAction(currentRequestName, currentDetailName, currentAction,
"addNumbers6", "AddNumbers6Fault",
TestConstants.ADD_NUMBERS6_ADDNUMBERS_ACTION);
+ }
+
+ protected String whichHandler()
+ {
+ return "ClientSOAPHandler";
+ }
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/JBWS3031TestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/JBWS3031TestCase.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/JBWS3031TestCase.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,211 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import java.net.URL;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-3031] Use WSDL addressing metadata when addressing related annotations are not
present on SEI.
+ *
+ * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
+ */
+public class JBWS3031TestCase extends JBossWSTest
+{
+
+ AddNumbersPortType port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS3031TestCase.class,
"jaxws-jbws3031.war");
+ }
+
+ public void setUp() throws Exception
+ {
+ if (port == null)
+ {
+ URL wsdlURL = new URL("http://" + getServerHost() +
":8080/jaxws-jbws3031/Endpoint?wsdl");
+ AddNumbersService service = new AddNumbersService(wsdlURL);
+ port = (AddNumbersPortType) service.getPort(AddNumbersPortType.class);
+ }
+ }
+
+ public void testAddNumbersDefaultAddNumbersFaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers(-10, 10);
+ fail("AddNumbersFault_Exception must be thrown");
+ }
+ catch (AddNumbersFault_Exception ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbersDefaultTooBigNumbersFaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers(20, 20);
+ fail("TooBigNumbersFault_Exception must be thrown");
+ }
+ catch (TooBigNumbersFault_Exception ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers2ExplicitAddNumbers2FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers2(-10, 10);
+ fail("AddNumbers2Fault must be thrown");
+ }
+ catch (AddNumbers2Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers2ExplicitTooBigNumbers2FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers2(20, 20);
+ fail("TooBigNumbers2Fault must be thrown");
+ }
+ catch (TooBigNumbers2Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers3ExplicitAddNumbers3FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers3(-10, 10);
+ fail("AddNumbers3Fault must be thrown");
+ }
+ catch (AddNumbers3Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers3DefaultTooBigNumbers3FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers3(20, 20);
+ fail("TooBigNumbers3Fault must be thrown");
+ }
+ catch (TooBigNumbers3Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers4DefaultAddNumbers4FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers4(-10, 10);
+ fail("AddNumbers4Fault must be thrown");
+ }
+ catch (AddNumbers4Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers4ExplicitTooBigNumbers4FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers4(20, 20);
+ fail("TooBigNumbers4Fault must be thrown");
+ }
+ catch (TooBigNumbers4Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers5ExplicitAddNumbers5FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers5(-10, 20);
+ fail("AddNumbers5Fault must be thrown");
+ }
+ catch (AddNumbers5Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testAddNumbers6EmptyAddNumbers6FaultAction() throws Exception
+ {
+ try
+ {
+ port.addNumbers6(-10, 20);
+ fail("AddNumbers6Fault must be thrown");
+ }
+ catch (AddNumbers6Fault ex)
+ {
+ log.debug("WSA:Action headers are correct");
+ }
+ }
+
+ public void testDefaultInputOutputActionExplicitMessageNames() throws Exception
+ {
+ port.addNumbers2(10, 10);
+ }
+
+ public void testDefaultInputOutputAction() throws Exception
+ {
+ port.addNumbers3(10, 10);
+ }
+
+ public void testEmptyInputOutputAction() throws Exception
+ {
+ port.addNumbers4(10, 10);
+ }
+
+ public void testExplicitInputOutputActions() throws Exception
+ {
+ port.addNumbers5(10, 10);
+ }
+
+ public void testExplicitInputDefaultOutputAction() throws Exception
+ {
+ port.addNumbers6(10, 10);
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ObjectFactory.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ObjectFactory.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/ObjectFactory.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,355 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.jaxws.jbws3031 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory
+{
+
+ private final static QName _AddNumbersResponse6_QNAME = new
QName("http://example.com/", "addNumbersResponse6");
+
+ private final static QName _AddNumbers5Fault_QNAME = new
QName("http://example.com/", "AddNumbers5Fault");
+
+ private final static QName _AddNumbersResponse2_QNAME = new
QName("http://example.com/", "addNumbersResponse2");
+
+ private final static QName _AddNumbersResponse3_QNAME = new
QName("http://example.com/", "addNumbersResponse3");
+
+ private final static QName _AddNumbersResponse4_QNAME = new
QName("http://example.com/", "addNumbersResponse4");
+
+ private final static QName _AddNumbers_QNAME = new
QName("http://example.com/", "addNumbers");
+
+ private final static QName _AddNumbersResponse5_QNAME = new
QName("http://example.com/", "addNumbersResponse5");
+
+ private final static QName _TooBigNumbers4Fault_QNAME = new
QName("http://example.com/", "TooBigNumbers4Fault");
+
+ private final static QName _TooBigNumbersFault_QNAME = new
QName("http://example.com/", "TooBigNumbersFault");
+
+ private final static QName _AddNumbersFault_QNAME = new
QName("http://example.com/", "AddNumbersFault");
+
+ private final static QName _TooBigNumbers3Fault_QNAME = new
QName("http://example.com/", "TooBigNumbers3Fault");
+
+ private final static QName _AddNumbers6_QNAME = new
QName("http://example.com/", "addNumbers6");
+
+ private final static QName _AddNumbers3Fault_QNAME = new
QName("http://example.com/", "AddNumbers3Fault");
+
+ private final static QName _AddNumbers5_QNAME = new
QName("http://example.com/", "addNumbers5");
+
+ private final static QName _AddNumbers4Fault_QNAME = new
QName("http://example.com/", "AddNumbers4Fault");
+
+ private final static QName _AddNumbers4_QNAME = new
QName("http://example.com/", "addNumbers4");
+
+ private final static QName _AddNumbers3_QNAME = new
QName("http://example.com/", "addNumbers3");
+
+ private final static QName _AddNumbers2_QNAME = new
QName("http://example.com/", "addNumbers2");
+
+ private final static QName _AddNumbers6Fault_QNAME = new
QName("http://example.com/", "AddNumbers6Fault");
+
+ private final static QName _TooBigNumbers2Fault_QNAME = new
QName("http://example.com/", "TooBigNumbers2Fault");
+
+ private final static QName _AddNumbers2Fault_QNAME = new
QName("http://example.com/", "AddNumbers2Fault");
+
+ private final static QName _AddNumbersResponse_QNAME = new
QName("http://example.com/", "addNumbersResponse");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.test.ws.jaxws.jbws3031
+ *
+ */
+ public ObjectFactory()
+ {
+ }
+
+ /**
+ * Create an instance of {@link AddNumbersFault }
+ *
+ */
+ public AddNumbersFault createAddNumbersFault()
+ {
+ return new AddNumbersFault();
+ }
+
+ /**
+ * Create an instance of {@link AddNumbersResponse }
+ *
+ */
+ public AddNumbersResponse createAddNumbersResponse()
+ {
+ return new AddNumbersResponse();
+ }
+
+ /**
+ * Create an instance of {@link TooBigNumbersFault }
+ *
+ */
+ public TooBigNumbersFault createTooBigNumbersFault()
+ {
+ return new TooBigNumbersFault();
+ }
+
+ /**
+ * Create an instance of {@link AddNumbers }
+ *
+ */
+ public AddNumbers createAddNumbers()
+ {
+ return new AddNumbers();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse6")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse6(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse6_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers5Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers5Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers5Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse2")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse2(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse2_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse3")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse3(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse3_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse4")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse4(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse4_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers")
+ public JAXBElement<AddNumbers> createAddNumbers(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers_QNAME, AddNumbers.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse5")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse5(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse5_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbers4Fault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbers4Fault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbers4Fault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbersFault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbersFault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbersFault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbersFault")
+ public JAXBElement<AddNumbersFault> createAddNumbersFault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbersFault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbers3Fault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbers3Fault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbers3Fault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers6")
+ public JAXBElement<AddNumbers> createAddNumbers6(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers6_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers3Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers3Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers3Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers5")
+ public JAXBElement<AddNumbers> createAddNumbers5(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers5_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers4Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers4Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers4Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers4")
+ public JAXBElement<AddNumbers> createAddNumbers4(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers4_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers3")
+ public JAXBElement<AddNumbers> createAddNumbers3(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers3_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers2")
+ public JAXBElement<AddNumbers> createAddNumbers2(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers2_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers6Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers6Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers6Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbers2Fault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbers2Fault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbers2Fault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers2Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers2Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers2Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers2Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers2Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers2Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbers2Fault", targetNamespace =
"http://example.com/")
+public class TooBigNumbers2Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbers2Fault(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbers2Fault(String message, TooBigNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers3Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers3Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers3Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbers3Fault", targetNamespace =
"http://example.com/")
+public class TooBigNumbers3Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbers3Fault(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbers3Fault(String message, TooBigNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers4Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers4Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbers4Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbers4Fault", targetNamespace =
"http://example.com/")
+public class TooBigNumbers4Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbers4Fault(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbers4Fault(String message, TooBigNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for TooBigNumbersFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="TooBigNumbersFault">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="detail"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="message"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TooBigNumbersFault", propOrder =
+{"detail", "message"})
+public class TooBigNumbersFault
+{
+
+ @XmlElement(required = true)
+ protected String detail;
+
+ @XmlElement(required = true)
+ protected String message;
+
+ /**
+ * Gets the value of the detail property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDetail()
+ {
+ return detail;
+ }
+
+ /**
+ * Sets the value of the detail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDetail(String value)
+ {
+ this.detail = value;
+ }
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessage()
+ {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value)
+ {
+ this.message = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault_Exception.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault_Exception.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/TooBigNumbersFault_Exception.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbersFault", targetNamespace =
"http://example.com/")
+public class TooBigNumbersFault_Exception extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbersFault_Exception(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbersFault_Exception(String message, TooBigNumbersFault faultInfo,
Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/common/TestConstants.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/common/TestConstants.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/common/TestConstants.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.common;
+
+public final class TestConstants
+{
+ public static final String ADD_NUMBERS_IN_ACTION =
"http://example.com/AddNumbersPortType/add";
+
+ public static final String ADD_NUMBERS_OUT_ACTION =
"http://example.com/AddNumbersPortType/addResponse";
+
+ public static final String ADD_NUMBERS2_IN_ACTION =
"http://example.com/AddNumbersPortType/add2";
+
+ public static final String ADD_NUMBERS2_OUT_ACTION =
"http://example.com/AddNumbersPortType/addResponse2";
+
+ public static final String ADD_NUMBERS3_IN_ACTION =
"http://example.com/AddNumbersPortType/addNumbers3Request";
+
+ public static final String ADD_NUMBERS3_OUT_ACTION =
"http://example.com/AddNumbersPortType/addNumbers3Response";
+
+ public static final String ADD_NUMBERS4_IN_ACTION =
"http://example.com/AddNumbersPortType/addNumbers4Request";
+
+ public static final String ADD_NUMBERS4_OUT_ACTION =
"http://example.com/AddNumbersPortType/addNumbers4Response";
+
+ public static final String ADD_NUMBERS5_IN_ACTION = "ExplicitInput5";
+
+ public static final String ADD_NUMBERS5_OUT_ACTION = "ExplicitOutput5";
+
+ public static final String ADD_NUMBERS6_IN_ACTION = "ExplicitInput6";
+
+ public static final String ADD_NUMBERS6_OUT_ACTION =
"http://example.com/AddNumbersPortType/addNumbers6Response";
+
+ public static final String ADD_NUMBERS_ADDNUMBERS_ACTION =
"http://example.com/AddNumbersPortType/addNumbers/Fault/addFault";
+
+ public static final String ADD_NUMBERS_TOOBIGNUMBERS_ACTION =
"http://example.com/AddNumbersPortType/addNumbers/Fault/tooBigFault";
+
+ public static final String ADD_NUMBERS2_ADDNUMBERS_ACTION = "add2fault";
+
+ public static final String ADD_NUMBERS2_TOOBIGNUMBERS_ACTION =
"toobig2fault";
+
+ public static final String ADD_NUMBERS3_ADDNUMBERS_ACTION = "add3fault";
+
+ public static final String ADD_NUMBERS3_TOOBIGNUMBERS_ACTION =
"http://example.com/AddNumbersPortType/addNumbers3/Fault/tooBig3Fault";
+
+ public static final String ADD_NUMBERS4_ADDNUMBERS_ACTION =
"http://example.com/AddNumbersPortType/addNumbers4/Fault/add4Fault";
+
+ public static final String ADD_NUMBERS4_TOOBIGNUMBERS_ACTION =
"toobig4fault";
+
+ public static final String ADD_NUMBERS5_ADDNUMBERS_ACTION = "fault5";
+
+ public static final String ADD_NUMBERS6_ADDNUMBERS_ACTION =
"http://example.com/AddNumbersPortType/addNumbers6/Fault/add6Fault";
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/package-info.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/package-info.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/package-info.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.
+ */
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://example.com/",
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.test.ws.jaxws.jbws3031;
+
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for addNumbers complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="addNumbers">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="number1"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="number2"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "addNumbers", propOrder =
+{"number1", "number2"})
+public class AddNumbers
+{
+
+ protected int number1;
+
+ protected int number2;
+
+ /**
+ * Gets the value of the number1 property.
+ *
+ */
+ public int getNumber1()
+ {
+ return number1;
+ }
+
+ /**
+ * Sets the value of the number1 property.
+ *
+ */
+ public void setNumber1(int value)
+ {
+ this.number1 = value;
+ }
+
+ /**
+ * Gets the value of the number2 property.
+ *
+ */
+ public int getNumber2()
+ {
+ return number2;
+ }
+
+ /**
+ * Sets the value of the number2 property.
+ *
+ */
+ public void setNumber2(int value)
+ {
+ this.number2 = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers2Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers2Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers2Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers2Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers2Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers2Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers2Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers3Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers3Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers3Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers3Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers3Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers3Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers3Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers4Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers4Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers4Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers4Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers4Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers4Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers4Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers5Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers5Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers5Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers5Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers5Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers5Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers5Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers6Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers6Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbers6Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbers6Fault", targetNamespace =
"http://example.com/")
+public class AddNumbers6Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbers6Fault(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbers6Fault(String message, AddNumbersFault faultInfo, Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for AddNumbersFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="AddNumbersFault">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="detail"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="message"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AddNumbersFault", propOrder =
+{"detail", "message"})
+public class AddNumbersFault
+{
+
+ @XmlElement(required = true)
+ protected String detail;
+
+ @XmlElement(required = true)
+ protected String message;
+
+ /**
+ * Gets the value of the detail property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDetail()
+ {
+ return detail;
+ }
+
+ /**
+ * Sets the value of the detail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDetail(String value)
+ {
+ this.detail = value;
+ }
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessage()
+ {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value)
+ {
+ this.message = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault_Exception.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault_Exception.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersFault_Exception.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "AddNumbersFault", targetNamespace =
"http://example.com/")
+public class AddNumbersFault_Exception extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private AddNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public AddNumbersFault_Exception(String message, AddNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public AddNumbersFault_Exception(String message, AddNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersFault
+ */
+ public AddNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersImpl.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersImpl.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersImpl.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.jws.WebService;
+
+@WebService(portName = "AddNumbersPort", serviceName =
"AddNumbersService", targetNamespace = "http://example.com/",
wsdlLocation = "WEB-INF/wsdl/WSAW2JDLActionTest.wsdl", endpointInterface =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersPortType")
+public class AddNumbersImpl implements AddNumbersPortType
+{
+ public int addNumbers(int number1, int number2) throws AddNumbersFault_Exception,
TooBigNumbersFault_Exception
+ {
+ if (number1 < 0 || number2 < 0)
+ {
+ AddNumbersFault faultInfo = createAddNumbersFault(number1, number2);
+ throw new AddNumbersFault_Exception(faultInfo.getMessage(), faultInfo);
+ }
+
+ if (number1 > 10 || number2 > 10)
+ {
+ TooBigNumbersFault faultInfo = createTooBigNumbersFaultInfo(number1, number2);
+ throw new TooBigNumbersFault_Exception(faultInfo.getMessage(), faultInfo);
+ }
+
+ return number1 + number2;
+ }
+
+ public int addNumbers2(int number1, int number2) throws AddNumbers2Fault,
TooBigNumbers2Fault
+ {
+ if (number1 < 0 || number2 < 0)
+ {
+ AddNumbersFault faultInfo = createAddNumbersFault(number1, number2);
+ throw new AddNumbers2Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ if (number1 > 10 || number2 > 10)
+ {
+ TooBigNumbersFault faultInfo = createTooBigNumbersFaultInfo(number1, number2);
+ throw new TooBigNumbers2Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ return number1 + number2;
+ }
+
+ public int addNumbers3(int number1, int number2) throws AddNumbers3Fault,
TooBigNumbers3Fault
+ {
+ if (number1 < 0 || number2 < 0)
+ {
+ AddNumbersFault faultInfo = createAddNumbersFault(number1, number2);
+ throw new AddNumbers3Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ if (number1 > 10 || number2 > 10)
+ {
+ TooBigNumbersFault faultInfo = createTooBigNumbersFaultInfo(number1, number2);
+ throw new TooBigNumbers3Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ return number1 + number2;
+ }
+
+ public int addNumbers4(int number1, int number2) throws AddNumbers4Fault,
TooBigNumbers4Fault
+ {
+ if (number1 < 0 || number2 < 0)
+ {
+ AddNumbersFault faultInfo = createAddNumbersFault(number1, number2);
+ throw new AddNumbers4Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ if (number1 > 10 || number2 > 10)
+ {
+ TooBigNumbersFault faultInfo = createTooBigNumbersFaultInfo(number1, number2);
+ throw new TooBigNumbers4Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ return number1 + number2;
+ }
+
+ public int addNumbers5(int number1, int number2) throws AddNumbers5Fault
+ {
+ if (number1 < 0 || number2 < 0)
+ {
+ AddNumbersFault faultInfo = createAddNumbersFault(number1, number2);
+ throw new AddNumbers5Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ return number1 + number2;
+ }
+
+ public int addNumbers6(int number1, int number2) throws AddNumbers6Fault
+ {
+ if (number1 < 0 || number2 < 0)
+ {
+ AddNumbersFault faultInfo = createAddNumbersFault(number1, number2);
+ throw new AddNumbers6Fault(faultInfo.getMessage(), faultInfo);
+ }
+
+ return number1 + number2;
+ }
+
+ AddNumbersFault createAddNumbersFault(int number1, int number2)
+ {
+ ObjectFactory of = new ObjectFactory();
+ AddNumbersFault faultInfo = of.createAddNumbersFault();
+ faultInfo.setDetail("Negative numbers cant be added!");
+ faultInfo.setMessage("Numbers: " + number1 + ", " + number2);
+
+ return faultInfo;
+ }
+
+ TooBigNumbersFault createTooBigNumbersFaultInfo(int number1, int number2)
+ {
+ ObjectFactory of = new ObjectFactory();
+ TooBigNumbersFault faultInfo = of.createTooBigNumbersFault();
+ faultInfo.setDetail("Too Big numbers cant be added!");
+ faultInfo.setMessage("Numbers: " + number1 + ", " + number2);
+
+ return faultInfo;
+ }
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,156 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.jws.HandlerChain;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.Action;
+import javax.xml.ws.FaultAction;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebService(name = "AddNumbersPortType", targetNamespace =
"http://example.com/")
+@HandlerChain(file = "AddNumbersPortType_handler.xml")
+@XmlSeeAlso(
+{ObjectFactory.class})
+public interface AddNumbersPortType
+{
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws TooBigNumbersFault_Exception
+ * @throws AddNumbersFault_Exception
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersResponse")
+ public int addNumbers(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2)
+ throws AddNumbersFault_Exception, TooBigNumbersFault_Exception;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws TooBigNumbers2Fault
+ * @throws AddNumbers2Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers2", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse2", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersResponse")
+ @Action(fault =
+ {@FaultAction(className = AddNumbers2Fault.class, value = "add2fault"),
+ @FaultAction(className = TooBigNumbers2Fault.class, value =
"toobig2fault")})
+ public int addNumbers2(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers2Fault,
+ TooBigNumbers2Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws TooBigNumbers3Fault
+ * @throws AddNumbers3Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers3", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse3", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersResponse")
+ @Action(fault =
+ {@FaultAction(className = AddNumbers3Fault.class, value = "add3fault")})
+ public int addNumbers3(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers3Fault,
+ TooBigNumbers3Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbers4Fault
+ * @throws TooBigNumbers4Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers4", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse4", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersResponse")
+ @Action(fault =
+ {@FaultAction(className = TooBigNumbers4Fault.class, value =
"toobig4fault")})
+ public int addNumbers4(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers4Fault,
+ TooBigNumbers4Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbers5Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers5", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse5", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersResponse")
+ @Action(input = "ExplicitInput5", output = "ExplicitOutput5",
fault =
+ {@FaultAction(className = AddNumbers5Fault.class, value = "fault5")})
+ public int addNumbers5(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers5Fault;
+
+ /**
+ *
+ * @param number2
+ * @param number1
+ * @return
+ * returns int
+ * @throws AddNumbers6Fault
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://example.com/")
+ @RequestWrapper(localName = "addNumbers6", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbers")
+ @ResponseWrapper(localName = "addNumbersResponse6", targetNamespace =
"http://example.com/", className =
"org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersResponse")
+ @Action(input = "ExplicitInput6")
+ public int addNumbers6(@WebParam(name = "number1", targetNamespace =
"http://example.com/") int number1,
+ @WebParam(name = "number2", targetNamespace =
"http://example.com/") int number2) throws AddNumbers6Fault;
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType_handler.xml
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType_handler.xml
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersPortType_handler.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?><handler-chains
xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <port-name-pattern
xmlns:ns2="http://example.com/">ns2:AddNumbersPort</port-...
+ <handler>
+ <handler-name>ServerSOAPHandler</handler-name>
+
<handler-class>org.jboss.test.ws.jaxws.jbws3031.service.ServerSOAPHandler</handler-class>
+ </handler>
+ </handler-chain>
+</handler-chains>
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersResponse.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersResponse.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersResponse.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for addNumbersResponse complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="addNumbersResponse">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="return"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "addNumbersResponse", propOrder =
+{"_return"})
+public class AddNumbersResponse
+{
+
+ @XmlElement(name = "return")
+ protected int _return;
+
+ /**
+ * Gets the value of the return property.
+ *
+ */
+ public int getReturn()
+ {
+ return _return;
+ }
+
+ /**
+ * Sets the value of the return property.
+ *
+ */
+ public void setReturn(int value)
+ {
+ this._return = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import javax.jws.HandlerChain;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceFeature;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebServiceClient(name = "AddNumbersService", targetNamespace =
"http://example.com/", wsdlLocation =
"file:/opt/svn/jbossas/tags/6.0.0.20100429-M3/build/target/jboss-6.0.0.20100429-M3/bin/WSAW2JDLActionTest.wsdl")
+@HandlerChain(file = "AddNumbersService_handler.xml")
+public class AddNumbersService extends Service
+{
+
+ private final static URL ADDNUMBERSSERVICE_WSDL_LOCATION;
+
+ private final static WebServiceException ADDNUMBERSSERVICE_EXCEPTION;
+
+ private final static QName ADDNUMBERSSERVICE_QNAME = new
QName("http://example.com/", "AddNumbersService");
+
+ static
+ {
+ URL url = null;
+ WebServiceException e = null;
+ try
+ {
+ url = new URL(
+
"file:/opt/svn/jbossas/tags/6.0.0.20100429-M3/build/target/jboss-6.0.0.20100429-M3/bin/WSAW2JDLActionTest.wsdl");
+ }
+ catch (MalformedURLException ex)
+ {
+ e = new WebServiceException(ex);
+ }
+ ADDNUMBERSSERVICE_WSDL_LOCATION = url;
+ ADDNUMBERSSERVICE_EXCEPTION = e;
+ }
+
+ public AddNumbersService()
+ {
+ super(__getWsdlLocation(), ADDNUMBERSSERVICE_QNAME);
+ }
+
+ public AddNumbersService(WebServiceFeature... features)
+ {
+ super(__getWsdlLocation(), ADDNUMBERSSERVICE_QNAME, features);
+ }
+
+ public AddNumbersService(URL wsdlLocation)
+ {
+ super(wsdlLocation, ADDNUMBERSSERVICE_QNAME);
+ }
+
+ public AddNumbersService(URL wsdlLocation, WebServiceFeature... features)
+ {
+ super(wsdlLocation, ADDNUMBERSSERVICE_QNAME, features);
+ }
+
+ public AddNumbersService(URL wsdlLocation, QName serviceName)
+ {
+ super(wsdlLocation, serviceName);
+ }
+
+ public AddNumbersService(URL wsdlLocation, QName serviceName, WebServiceFeature...
features)
+ {
+ super(wsdlLocation, serviceName, features);
+ }
+
+ /**
+ *
+ * @return
+ * returns AddNumbersPortType
+ */
+ @WebEndpoint(name = "AddNumbersPort")
+ public AddNumbersPortType getAddNumbersPort()
+ {
+ return super.getPort(new
QName("http://example.com/",
"AddNumbersPort"), AddNumbersPortType.class);
+ }
+
+ /**
+ *
+ * @param features
+ * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.
Supported features not in the <code>features</code> parameter will have their
default values.
+ * @return
+ * returns AddNumbersPortType
+ */
+ @WebEndpoint(name = "AddNumbersPort")
+ public AddNumbersPortType getAddNumbersPort(WebServiceFeature... features)
+ {
+ return super.getPort(new
QName("http://example.com/",
"AddNumbersPort"), AddNumbersPortType.class, features);
+ }
+
+ private static URL __getWsdlLocation()
+ {
+ if (ADDNUMBERSSERVICE_EXCEPTION != null)
+ {
+ throw ADDNUMBERSSERVICE_EXCEPTION;
+ }
+ return ADDNUMBERSSERVICE_WSDL_LOCATION;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService_handler.xml
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService_handler.xml
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/AddNumbersService_handler.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?><handler-chains
xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <port-name-pattern
xmlns:ns2="http://example.com/">ns2:AddNumbersPort</port-...
+ <handler>
+ <handler-name>ServerSOAPHandler</handler-name>
+
<handler-class>org.jboss.test.ws.jaxws.jbws3031.service.ServerSOAPHandler</handler-class>
+ </handler>
+ </handler-chain>
+</handler-chains>
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ObjectFactory.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ObjectFactory.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ObjectFactory.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,355 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.jaxws.jbws3031.service package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory
+{
+
+ private final static QName _AddNumbersResponse6_QNAME = new
QName("http://example.com/", "addNumbersResponse6");
+
+ private final static QName _AddNumbers5Fault_QNAME = new
QName("http://example.com/", "AddNumbers5Fault");
+
+ private final static QName _AddNumbersResponse2_QNAME = new
QName("http://example.com/", "addNumbersResponse2");
+
+ private final static QName _AddNumbersResponse3_QNAME = new
QName("http://example.com/", "addNumbersResponse3");
+
+ private final static QName _AddNumbersResponse4_QNAME = new
QName("http://example.com/", "addNumbersResponse4");
+
+ private final static QName _AddNumbers_QNAME = new
QName("http://example.com/", "addNumbers");
+
+ private final static QName _AddNumbersResponse5_QNAME = new
QName("http://example.com/", "addNumbersResponse5");
+
+ private final static QName _TooBigNumbers4Fault_QNAME = new
QName("http://example.com/", "TooBigNumbers4Fault");
+
+ private final static QName _TooBigNumbersFault_QNAME = new
QName("http://example.com/", "TooBigNumbersFault");
+
+ private final static QName _AddNumbersFault_QNAME = new
QName("http://example.com/", "AddNumbersFault");
+
+ private final static QName _TooBigNumbers3Fault_QNAME = new
QName("http://example.com/", "TooBigNumbers3Fault");
+
+ private final static QName _AddNumbers6_QNAME = new
QName("http://example.com/", "addNumbers6");
+
+ private final static QName _AddNumbers3Fault_QNAME = new
QName("http://example.com/", "AddNumbers3Fault");
+
+ private final static QName _AddNumbers5_QNAME = new
QName("http://example.com/", "addNumbers5");
+
+ private final static QName _AddNumbers4Fault_QNAME = new
QName("http://example.com/", "AddNumbers4Fault");
+
+ private final static QName _AddNumbers4_QNAME = new
QName("http://example.com/", "addNumbers4");
+
+ private final static QName _AddNumbers3_QNAME = new
QName("http://example.com/", "addNumbers3");
+
+ private final static QName _AddNumbers2_QNAME = new
QName("http://example.com/", "addNumbers2");
+
+ private final static QName _AddNumbers6Fault_QNAME = new
QName("http://example.com/", "AddNumbers6Fault");
+
+ private final static QName _TooBigNumbers2Fault_QNAME = new
QName("http://example.com/", "TooBigNumbers2Fault");
+
+ private final static QName _AddNumbers2Fault_QNAME = new
QName("http://example.com/", "AddNumbers2Fault");
+
+ private final static QName _AddNumbersResponse_QNAME = new
QName("http://example.com/", "addNumbersResponse");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.test.ws.jaxws.jbws3031.service
+ *
+ */
+ public ObjectFactory()
+ {
+ }
+
+ /**
+ * Create an instance of {@link AddNumbersFault }
+ *
+ */
+ public AddNumbersFault createAddNumbersFault()
+ {
+ return new AddNumbersFault();
+ }
+
+ /**
+ * Create an instance of {@link TooBigNumbersFault }
+ *
+ */
+ public TooBigNumbersFault createTooBigNumbersFault()
+ {
+ return new TooBigNumbersFault();
+ }
+
+ /**
+ * Create an instance of {@link AddNumbers }
+ *
+ */
+ public AddNumbers createAddNumbers()
+ {
+ return new AddNumbers();
+ }
+
+ /**
+ * Create an instance of {@link AddNumbersResponse }
+ *
+ */
+ public AddNumbersResponse createAddNumbersResponse()
+ {
+ return new AddNumbersResponse();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse6")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse6(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse6_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers5Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers5Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers5Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse2")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse2(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse2_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse3")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse3(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse3_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse4")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse4(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse4_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers")
+ public JAXBElement<AddNumbers> createAddNumbers(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers_QNAME, AddNumbers.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse5")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse5(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse5_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbers4Fault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbers4Fault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbers4Fault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbersFault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbersFault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbersFault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbersFault")
+ public JAXBElement<AddNumbersFault> createAddNumbersFault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbersFault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbers3Fault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbers3Fault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbers3Fault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers6")
+ public JAXBElement<AddNumbers> createAddNumbers6(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers6_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers3Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers3Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers3Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers5")
+ public JAXBElement<AddNumbers> createAddNumbers5(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers5_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers4Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers4Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers4Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers4")
+ public JAXBElement<AddNumbers> createAddNumbers4(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers4_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers3")
+ public JAXBElement<AddNumbers> createAddNumbers3(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers3_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbers }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbers2")
+ public JAXBElement<AddNumbers> createAddNumbers2(AddNumbers value)
+ {
+ return new JAXBElement<AddNumbers>(_AddNumbers2_QNAME, AddNumbers.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers6Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers6Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers6Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TooBigNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"TooBigNumbers2Fault")
+ public JAXBElement<TooBigNumbersFault>
createTooBigNumbers2Fault(TooBigNumbersFault value)
+ {
+ return new JAXBElement<TooBigNumbersFault>(_TooBigNumbers2Fault_QNAME,
TooBigNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"AddNumbers2Fault")
+ public JAXBElement<AddNumbersFault> createAddNumbers2Fault(AddNumbersFault
value)
+ {
+ return new JAXBElement<AddNumbersFault>(_AddNumbers2Fault_QNAME,
AddNumbersFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AddNumbersResponse
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.com/", name =
"addNumbersResponse")
+ public JAXBElement<AddNumbersResponse>
createAddNumbersResponse(AddNumbersResponse value)
+ {
+ return new JAXBElement<AddNumbersResponse>(_AddNumbersResponse_QNAME,
AddNumbersResponse.class, null, value);
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ServerSOAPHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ServerSOAPHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/ServerSOAPHandler.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+
+import org.jboss.test.ws.jaxws.common.WsaBaseSOAPHandler;
+import org.jboss.test.ws.jaxws.jbws3031.common.TestConstants;
+
+public class ServerSOAPHandler extends WsaBaseSOAPHandler
+{
+ protected void checkInboundAction(final SOAPMessageContext context, final String
currentOperation, final String currentAction)
+ {
+ this.assertAction(currentOperation, currentAction, "addNumbers",
TestConstants.ADD_NUMBERS_IN_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbers2",
TestConstants.ADD_NUMBERS2_IN_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbers3",
TestConstants.ADD_NUMBERS3_IN_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbers4",
TestConstants.ADD_NUMBERS4_IN_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbers5",
TestConstants.ADD_NUMBERS5_IN_ACTION);
+ this.assertAction(currentOperation, currentAction, "addNumbers6",
TestConstants.ADD_NUMBERS6_IN_ACTION);
+ }
+
+ protected String whichHandler()
+ {
+ return "ServerSOAPHandler";
+ }
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers2Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers2Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers2Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbers2Fault", targetNamespace =
"http://example.com/")
+public class TooBigNumbers2Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbers2Fault(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbers2Fault(String message, TooBigNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean:
org.jboss.test.ws.jaxws.jbws3031.service.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers3Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers3Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers3Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbers3Fault", targetNamespace =
"http://example.com/")
+public class TooBigNumbers3Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbers3Fault(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbers3Fault(String message, TooBigNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean:
org.jboss.test.ws.jaxws.jbws3031.service.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers4Fault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers4Fault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbers4Fault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbers4Fault", targetNamespace =
"http://example.com/")
+public class TooBigNumbers4Fault extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbers4Fault(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbers4Fault(String message, TooBigNumbersFault faultInfo, Throwable
cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean:
org.jboss.test.ws.jaxws.jbws3031.service.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>Java class for TooBigNumbersFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="TooBigNumbersFault">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="detail"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="message"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TooBigNumbersFault", propOrder =
+{"detail", "message"})
+public class TooBigNumbersFault
+{
+
+ @XmlElement(required = true)
+ protected String detail;
+
+ @XmlElement(required = true)
+ protected String message;
+
+ /**
+ * Gets the value of the detail property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDetail()
+ {
+ return detail;
+ }
+
+ /**
+ * Sets the value of the detail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDetail(String value)
+ {
+ this.detail = value;
+ }
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessage()
+ {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value)
+ {
+ this.message = value;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault_Exception.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault_Exception.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/TooBigNumbersFault_Exception.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
+import javax.xml.ws.WebFault;
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2-12/14/2009 02:16 PM(ramkris)-
+ * Generated source version: 2.2
+ *
+ */
+@WebFault(name = "TooBigNumbersFault", targetNamespace =
"http://example.com/")
+public class TooBigNumbersFault_Exception extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private TooBigNumbersFault faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public TooBigNumbersFault_Exception(String message, TooBigNumbersFault faultInfo)
+ {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public TooBigNumbersFault_Exception(String message, TooBigNumbersFault faultInfo,
Throwable cause)
+ {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean:
org.jboss.test.ws.jaxws.jbws3031.service.TooBigNumbersFault
+ */
+ public TooBigNumbersFault getFaultInfo()
+ {
+ return faultInfo;
+ }
+
+}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/package-info.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/package-info.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws3031/service/package-info.java 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.
+ */
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://example.com/",
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.test.ws.jaxws.jbws3031.service;
+
Added: framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/jboss-web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/jboss-web.xml
(rev 0)
+++
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/jboss-web.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/jaxws-jbws3031</context-root>
+</jboss-web>
\ No newline at end of file
Added: framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/web.xml
(rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/web.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <servlet>
+ <servlet-name>Endpoint</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.jbws3031.service.AddNumbersImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Endpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Added:
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/wsdl/WSAW2JDLActionTest.wsdl
===================================================================
---
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/wsdl/WSAW2JDLActionTest.wsdl
(rev 0)
+++
framework/trunk/testsuite/test/resources/jaxws/jbws3031/WEB-INF/wsdl/WSAW2JDLActionTest.wsdl 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,261 @@
+<definitions name="AddNumbers"
targetNamespace="http://example.com/" xmlns:tns="http://example.com/"
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:wsa="http://www.w3.org/2005/08/addressing"
+
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
+ <types>
+ <xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
+
targetNamespace="http://example.com/">
+
+ <complexType name="addNumbersResponse">
+ <sequence>
+ <element name="return" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ <element name="addNumbersResponse"
type="tns:addNumbersResponse"/>
+ <element name="addNumbersResponse2"
type="tns:addNumbersResponse"/>
+ <element name="addNumbersResponse3"
type="tns:addNumbersResponse"/>
+ <element name="addNumbersResponse4"
type="tns:addNumbersResponse"/>
+ <element name="addNumbersResponse5"
type="tns:addNumbersResponse"/>
+ <element name="addNumbersResponse6"
type="tns:addNumbersResponse"/>
+
+ <complexType name="addNumbers">
+ <sequence>
+ <element name="number1" type="xsd:int"/>
+ <element name="number2" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ <element name="addNumbers" type="tns:addNumbers"/>
+ <element name="addNumbers2"
type="tns:addNumbers"/>
+ <element name="addNumbers3"
type="tns:addNumbers"/>
+ <element name="addNumbers4"
type="tns:addNumbers"/>
+ <element name="addNumbers5"
type="tns:addNumbers"/>
+ <element name="addNumbers6"
type="tns:addNumbers"/>
+
+ <complexType name="AddNumbersFault">
+ <sequence>
+ <element name="detail" type="xsd:string"/>
+ <element name="message"
type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <element name="AddNumbersFault"
type="tns:AddNumbersFault"/>
+ <element name="AddNumbers2Fault"
type="tns:AddNumbersFault"/>
+ <element name="AddNumbers3Fault"
type="tns:AddNumbersFault"/>
+ <element name="AddNumbers4Fault"
type="tns:AddNumbersFault"/>
+ <element name="AddNumbers5Fault"
type="tns:AddNumbersFault"/>
+ <element name="AddNumbers6Fault"
type="tns:AddNumbersFault"/>
+
+ <complexType name="TooBigNumbersFault">
+ <sequence>
+ <element name="detail" type="xsd:string"/>
+ <element name="message"
type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <element name="TooBigNumbersFault"
type="tns:TooBigNumbersFault"/>
+ <element name="TooBigNumbers2Fault"
type="tns:TooBigNumbersFault"/>
+ <element name="TooBigNumbers3Fault"
type="tns:TooBigNumbersFault"/>
+ <element name="TooBigNumbers4Fault"
type="tns:TooBigNumbersFault"/>
+ </xsd:schema>
+ </types>
+ <message name="addNumbers">
+ <part name="parameters" element="tns:addNumbers"/>
+ </message>
+ <message name="addNumbersResponse">
+ <part name="result" element="tns:addNumbersResponse"/>
+ </message>
+ <message name="addNumbers2">
+ <part name="parameters" element="tns:addNumbers2"/>
+ </message>
+ <message name="addNumbersResponse2">
+ <part name="result"
element="tns:addNumbersResponse2"/>
+ </message>
+ <message name="addNumbers3">
+ <part name="parameters" element="tns:addNumbers3"/>
+ </message>
+ <message name="addNumbersResponse3">
+ <part name="result"
element="tns:addNumbersResponse3"/>
+ </message>
+ <message name="addNumbers4">
+ <part name="parameters" element="tns:addNumbers4"/>
+ </message>
+ <message name="addNumbersResponse4">
+ <part name="result"
element="tns:addNumbersResponse4"/>
+ </message>
+ <message name="addNumbers5">
+ <part name="parameters" element="tns:addNumbers5"/>
+ </message>
+ <message name="addNumbersResponse5">
+ <part name="result"
element="tns:addNumbersResponse5"/>
+ </message>
+ <message name="addNumbers6">
+ <part name="parameters" element="tns:addNumbers6"/>
+ </message>
+ <message name="addNumbersResponse6">
+ <part name="result"
element="tns:addNumbersResponse6"/>
+ </message>
+ <message name="addNumbersFault">
+ <part name="AddNumbersFault"
element="tns:AddNumbersFault"/>
+ </message>
+ <message name="tooBigNumbersFault">
+ <part name="TooBigNumbersFault"
element="tns:TooBigNumbersFault"/>
+ </message>
+ <message name="addNumbers2Fault">
+ <part name="AddNumbersFault"
element="tns:AddNumbers2Fault"/>
+ </message>
+ <message name="tooBigNumbers2Fault">
+ <part name="TooBigNumbersFault"
element="tns:TooBigNumbers2Fault"/>
+ </message>
+ <message name="addNumbers3Fault">
+ <part name="AddNumbersFault"
element="tns:AddNumbers3Fault"/>
+ </message>
+ <message name="tooBigNumbers3Fault">
+ <part name="TooBigNumbersFault"
element="tns:TooBigNumbers3Fault"/>
+ </message>
+ <message name="addNumbers4Fault">
+ <part name="AddNumbersFault"
element="tns:AddNumbers4Fault"/>
+ </message>
+ <message name="tooBigNumbers4Fault">
+ <part name="TooBigNumbersFault"
element="tns:TooBigNumbers4Fault"/>
+ </message>
+ <message name="addNumbers5Fault">
+ <part name="AddNumbersFault"
element="tns:AddNumbers5Fault"/>
+ </message>
+ <message name="addNumbers6Fault">
+ <part name="AddNumbersFault"
element="tns:AddNumbers6Fault"/>
+ </message>
+ <portType name="AddNumbersPortType">
+ <operation name="addNumbers">
+ <input message="tns:addNumbers" name="add"/>
+ <output message="tns:addNumbersResponse"
name="addResponse"/>
+ <fault name="addFault"
message="tns:addNumbersFault"/>
+ <fault name="tooBigFault"
message="tns:tooBigNumbersFault"/>
+ </operation>
+ <operation name="addNumbers2">
+ <input message="tns:addNumbers2" name="add2"/>
+ <output message="tns:addNumbersResponse2"
name="addResponse2"/>
+ <fault name="add2Fault" message="tns:addNumbers2Fault"
wsam:Action="add2fault"/>
+ <fault name="tooBig2Fault"
message="tns:tooBigNumbers2Fault" wsam:Action="toobig2fault"/>
+ </operation>
+ <operation name="addNumbers3">
+ <input message="tns:addNumbers3"/>
+ <output message="tns:addNumbersResponse3"/>
+ <fault name="add3Fault" message="tns:addNumbers3Fault"
wsam:Action="add3fault"/>
+ <fault name="tooBig3Fault"
message="tns:tooBigNumbers3Fault"/>
+ </operation>
+ <operation name="addNumbers4">
+ <input message="tns:addNumbers4" wsam:Action=""/>
+ <output message="tns:addNumbersResponse4"
wsam:Action=""/>
+ <fault name="add4Fault"
message="tns:addNumbers4Fault"/>
+ <fault name="tooBig4Fault"
message="tns:tooBigNumbers4Fault" wsam:Action="toobig4fault"/>
+ </operation>
+ <operation name="addNumbers5">
+ <input message="tns:addNumbers5"
wsam:Action="ExplicitInput5"/>
+ <output message="tns:addNumbersResponse5"
wsam:Action="ExplicitOutput5"/>
+ <fault name="add5Fault" message="tns:addNumbers5Fault"
wsam:Action="fault5"/>
+ </operation>
+ <operation name="addNumbers6">
+ <input message="tns:addNumbers6"
wsam:Action="ExplicitInput6"/>
+ <output message="tns:addNumbersResponse6"/>
+ <fault name="add6Fault" message="tns:addNumbers6Fault"
wsam:Action=""/>
+ </operation>
+ </portType>
+ <binding name="AddNumbersBinding"
type="tns:AddNumbersPortType">
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
+ <wsp:Policy>
+ <wsam:Addressing wsp:Optional="true">
+ <wsp:Policy/>
+ </wsam:Addressing>
+ </wsp:Policy>
+ <operation name="addNumbers">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="addFault">
+ <soap:fault name="addFault" use="literal"/>
+ </fault>
+ <fault name="tooBigFault">
+ <soap:fault name="tooBigFault" use="literal"/>
+ </fault>
+ </operation>
+ <operation name="addNumbers2">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="add2Fault">
+ <soap:fault name="add2Fault" use="literal"/>
+ </fault>
+ <fault name="tooBig2Fault">
+ <soap:fault name="tooBig2Fault"
use="literal"/>
+ </fault>
+ </operation>
+ <operation name="addNumbers3">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="add3Fault">
+ <soap:fault name="add3Fault" use="literal"/>
+ </fault>
+ <fault name="tooBig3Fault">
+ <soap:fault name="tooBig3Fault"
use="literal"/>
+ </fault>
+ </operation>
+ <operation name="addNumbers4">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="add4Fault">
+ <soap:fault name="add4Fault" use="literal"/>
+ </fault>
+ <fault name="tooBig4Fault">
+ <soap:fault name="tooBig4Fault"
use="literal"/>
+ </fault>
+ </operation>
+ <operation name="addNumbers5">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="add5Fault">
+ <soap:fault name="add5Fault" use="literal"/>
+ </fault>
+ </operation>
+ <operation name="addNumbers6">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="add6Fault">
+ <soap:fault name="add6Fault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+ <service name="AddNumbersService">
+ <port name="AddNumbersPort"
binding="tns:AddNumbersBinding">
+ <soap:address location="http://foo:9999/bar"/>
+ </port>
+ </service>
+</definitions>
Added: framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-client.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-client.xml
(rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-client.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bindings wsdlLocation="WSAW2JDLActionTest.wsdl"
xmlns="http://java.sun.com/xml/ns/jaxws">
+
+ <bindings node="wsdl:definitions"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <package name="org.jboss.test.ws.jaxws.jbws3031"/>
+ </bindings>
+
+ <bindings
node="wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='http://example.com/']"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <jxb:schemaBindings
xmlns:jxb="http://java.sun.com/xml/ns/jaxb">
+ <jxb:package name="org.jboss.test.ws.jaxws.jbws3031"/>
+ </jxb:schemaBindings>
+ </bindings>
+
+ <bindings>
+ <handler-chains
xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <port-name-pattern
xmlns:ns2="http://example.com/">ns2:AddNumbersPort</port-...
+ <handler>
+ <handler-name>ClientSOAPHandler</handler-name>
+
<handler-class>org.jboss.test.ws.jaxws.jbws3031.ClientSOAPHandler</handler-class>
+ </handler>
+ </handler-chain>
+ </handler-chains>
+ </bindings>
+
+</bindings>
Added: framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-server.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-server.xml
(rev 0)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws3031/custom-server.xml 2010-05-21
06:38:10 UTC (rev 12296)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bindings wsdlLocation="WSAW2JDLActionTest.wsdl"
xmlns="http://java.sun.com/xml/ns/jaxws">
+
+ <bindings node="wsdl:definitions"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <package name="org.jboss.test.ws.jaxws.jbws3031.service"/>
+ </bindings>
+
+ <bindings
node="wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='http://example.com/']"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <jxb:schemaBindings
xmlns:jxb="http://java.sun.com/xml/ns/jaxb">
+ <jxb:package
name="org.jboss.test.ws.jaxws.jbws3031.service"/>
+ </jxb:schemaBindings>
+ </bindings>
+
+ <bindings>
+ <handler-chains
xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <port-name-pattern
xmlns:ns2="http://example.com/">ns2:AddNumbersPort</port-...
+ <handler>
+ <handler-name>ServerSOAPHandler</handler-name>
+
<handler-class>org.jboss.test.ws.jaxws.jbws3031.service.ServerSOAPHandler</handler-class>
+ </handler>
+ </handler-chain>
+ </handler-chains>
+ </bindings>
+
+</bindings>