Author: darran.lofthouse(a)jboss.com
Date: 2010-02-09 12:37:31 -0500 (Tue, 09 Feb 2010)
New Revision: 11557
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Nickname.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/ObjectFactory.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Person.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBookImpl.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook_Service.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/TelephoneNumber.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/package-info.java
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/jboss-web.xml
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/web.xml
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/Name.xsd
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/PhoneBook.wsdl
Modified:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
Initial testsuite deployment.
Modified:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-02-09
15:32:05 UTC (rev 11556)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-02-09
17:37:31 UTC (rev 11557)
@@ -596,6 +596,18 @@
<include name="jboss-web.xml"/>
</webinf>
</war>
+
+ <!-- jaxws-jbws2930 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2930.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2930/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2930/*.class"/>
+ <exclude
name="org/jboss/test/ws/jaxws/jbws2930/JBWS2930TestCase.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2930/WEB-INF">
+ <include name="jboss-web.xml"/>
+ <include name="wsdl/*" />
+ </webinf>
+ </war>
<!-- jaxws-webserviceref -->
<war warfile="${tests.output.dir}/test-libs/jaxws-webserviceref.war"
webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF/web.xml">
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Nickname.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Nickname.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Nickname.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,62 @@
+
+package org.jboss.test.ws.jaxws.jbws2930;
+
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "name"
+})
+public class Nickname {
+
+ @XmlElement(required = true, nillable = true)
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Nickname.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/ObjectFactory.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/ObjectFactory.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/ObjectFactory.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,89 @@
+
+package org.jboss.test.ws.jaxws.jbws2930;
+
+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.jbws2930 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 _LookupResponse_QNAME = new
QName("http://test.jboss.org/ws/jbws2930/types", "lookupResponse");
+ private final static QName _Nickname_QNAME = new QName("",
"Nickname");
+ private final static QName _Lookup_QNAME = new
QName("http://test.jboss.org/ws/jbws2930/types", "lookup");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.test.ws.jaxws.jbws2930
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Person }
+ *
+ */
+ public Person createPerson() {
+ return new Person();
+ }
+
+ /**
+ * Create an instance of {@link Nickname }
+ *
+ */
+ public Nickname createNickname() {
+ return new Nickname();
+ }
+
+ /**
+ * Create an instance of {@link TelephoneNumber }
+ *
+ */
+ public TelephoneNumber createTelephoneNumber() {
+ return new TelephoneNumber();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TelephoneNumber
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://test.jboss.org/ws/jbws2930/types", name
= "lookupResponse")
+ public JAXBElement<TelephoneNumber> createLookupResponse(TelephoneNumber value)
{
+ return new JAXBElement<TelephoneNumber>(_LookupResponse_QNAME,
TelephoneNumber.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Nickname }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "Nickname")
+ public JAXBElement<Nickname> createNickname(Nickname value) {
+ return new JAXBElement<Nickname>(_Nickname_QNAME, Nickname.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Person }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://test.jboss.org/ws/jbws2930/types", name
= "lookup")
+ public JAXBElement<Person> createLookup(Person value) {
+ return new JAXBElement<Person>(_Lookup_QNAME, Person.class, null, value);
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Person.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Person.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Person.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,90 @@
+
+package org.jboss.test.ws.jaxws.jbws2930;
+
+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 Person complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="Person">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="firstName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="surname"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Person", propOrder = {
+ "firstName",
+ "surname"
+})
+public class Person {
+
+ @XmlElement(required = true, nillable = true)
+ protected String firstName;
+ @XmlElement(required = true, nillable = true)
+ protected String surname;
+
+ /**
+ * Gets the value of the firstName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFirstName() {
+ return firstName;
+ }
+
+ /**
+ * Sets the value of the firstName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFirstName(String value) {
+ this.firstName = value;
+ }
+
+ /**
+ * Gets the value of the surname property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSurname() {
+ return surname;
+ }
+
+ /**
+ * Sets the value of the surname property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSurname(String value) {
+ this.surname = value;
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/Person.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,45 @@
+
+package org.jboss.test.ws.jaxws.jbws2930;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.xml.ws.Holder;
+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.0
+ *
+ */
+@WebService(name = "PhoneBook", targetNamespace =
"http://test.jboss.org/ws/jbws2930")
+public interface PhoneBook {
+
+
+ /**
+ *
+ * @param nickname
+ * @param areaCode
+ * @param surname
+ * @param number
+ * @param firstName
+ */
+ @WebMethod
+ @RequestWrapper(localName = "lookup", targetNamespace =
"http://test.jboss.org/ws/jbws2930/types", className =
"org.jboss.test.ws.jaxws.jbws2930.Person")
+ @ResponseWrapper(localName = "lookupResponse", targetNamespace =
"http://test.jboss.org/ws/jbws2930/types", className =
"org.jboss.test.ws.jaxws.jbws2930.TelephoneNumber")
+ public void lookup(
+ @WebParam(name = "firstName", targetNamespace = "")
+ String firstName,
+ @WebParam(name = "surname", targetNamespace = "")
+ String surname,
+ @WebParam(name = "areaCode", targetNamespace = "", mode =
WebParam.Mode.OUT)
+ Holder<String> areaCode,
+ @WebParam(name = "number", targetNamespace = "", mode =
WebParam.Mode.OUT)
+ Holder<String> number,
+ @WebParam(name = "Nickname", targetNamespace = "", mode =
WebParam.Mode.OUT)
+ Holder<Nickname> nickname);
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBookImpl.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBookImpl.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBookImpl.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -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.jbws2930;
+
+import javax.jws.WebService;
+import javax.xml.ws.Holder;
+
+/**
+ * Test Endpoint implementation.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 9th February 2010
+ */
+@WebService(name = "PhoneBook", targetNamespace =
"http://test.jboss.org/ws/jbws2930", endpointInterface =
"org.jboss.test.ws.jaxws.jbws2930.PhoneBook", wsdlLocation =
"WEB-INF/wsdl/PhoneBook.wsdl")
+public class PhoneBookImpl implements PhoneBook
+{
+
+ public void lookup(String firstName, String surname, Holder<String> areaCode,
Holder<String> number, Holder<Nickname> nickname)
+ {
+ areaCode.value = "01234";
+ number.value = "567890";
+ nickname.value = new Nickname();
+ nickname.value.name = "Bob";
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBookImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook_Service.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook_Service.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook_Service.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,65 @@
+
+package org.jboss.test.ws.jaxws.jbws2930;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+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;
+
+
+/**
+ * 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.0
+ *
+ */
+@WebServiceClient(name = "PhoneBook", targetNamespace =
"http://test.jboss.org/ws/jbws2930", wsdlLocation =
"file:/home/darranl/src/jbossws/jbossws-native/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/PhoneBook.wsdl")
+public class PhoneBook_Service
+ extends Service
+{
+
+ private final static URL PHONEBOOK_WSDL_LOCATION;
+ private final static WebServiceException PHONEBOOK_EXCEPTION;
+ private final static QName PHONEBOOK_QNAME = new
QName("http://test.jboss.org/ws/jbws2930", "PhoneBook");
+
+ static {
+ URL url = null;
+ WebServiceException e = null;
+ try {
+ url = new
URL("file:/home/darranl/src/jbossws/jbossws-native/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/PhoneBook.wsdl");
+ } catch (MalformedURLException ex) {
+ e = new WebServiceException(ex);
+ }
+ PHONEBOOK_WSDL_LOCATION = url;
+ PHONEBOOK_EXCEPTION = e;
+ }
+
+ public PhoneBook_Service() {
+ super(__getWsdlLocation(), PHONEBOOK_QNAME);
+ }
+
+ public PhoneBook_Service(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ /**
+ *
+ * @return
+ * returns PhoneBook
+ */
+ @WebEndpoint(name = "PhoneBookPort")
+ public PhoneBook getPhoneBookPort() {
+ return super.getPort(new
QName("http://test.jboss.org/ws/jbws2930",
"PhoneBookPort"), PhoneBook.class);
+ }
+
+ private static URL __getWsdlLocation() {
+ if (PHONEBOOK_EXCEPTION!= null) {
+ throw PHONEBOOK_EXCEPTION;
+ }
+ return PHONEBOOK_WSDL_LOCATION;
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/PhoneBook_Service.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/TelephoneNumber.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/TelephoneNumber.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/TelephoneNumber.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,118 @@
+
+package org.jboss.test.ws.jaxws.jbws2930;
+
+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 TelephoneNumber complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="TelephoneNumber">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="areaCode"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="number"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element ref="{}Nickname"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TelephoneNumber", propOrder = {
+ "areaCode",
+ "number",
+ "nickname"
+})
+public class TelephoneNumber {
+
+ @XmlElement(required = true, nillable = true)
+ protected String areaCode;
+ @XmlElement(required = true, nillable = true)
+ protected String number;
+ @XmlElement(name = "Nickname", required = true, nillable = true)
+ protected Nickname nickname;
+
+ /**
+ * Gets the value of the areaCode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAreaCode() {
+ return areaCode;
+ }
+
+ /**
+ * Sets the value of the areaCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAreaCode(String value) {
+ this.areaCode = value;
+ }
+
+ /**
+ * Gets the value of the number property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNumber() {
+ return number;
+ }
+
+ /**
+ * Sets the value of the number property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNumber(String value) {
+ this.number = value;
+ }
+
+ /**
+ * Gets the value of the nickname property.
+ *
+ * @return
+ * possible object is
+ * {@link Nickname }
+ *
+ */
+ public Nickname getNickname() {
+ return nickname;
+ }
+
+ /**
+ * Sets the value of the nickname property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Nickname }
+ *
+ */
+ public void setNickname(Nickname value) {
+ this.nickname = value;
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/TelephoneNumber.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/package-info.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/package-info.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/package-info.java 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace =
"http://test.jboss.org/ws/jbws2930/types")
+package org.jboss.test.ws.jaxws.jbws2930;
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2930/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/jboss-web.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/jboss-web.xml
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/jboss-web.xml 2010-02-09
17:37:31 UTC (rev 11557)
@@ -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-jbws2930</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/web.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/web.xml
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/web.xml 2010-02-09
17:37:31 UTC (rev 11557)
@@ -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.jbws2930.PhoneBookImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Endpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/Name.xsd
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/Name.xsd
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/Name.xsd 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="Nickname" nillable="true">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name='name' nillable='true'
type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/Name.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/PhoneBook.wsdl
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/PhoneBook.wsdl
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/PhoneBook.wsdl 2010-02-09
17:37:31 UTC (rev 11557)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook'
targetNamespace='http://test.jboss.org/ws/jbws2930'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:ns1='http://test.jboss.org/ws/jbws2930/types'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://test.jboss.org/ws/jbws2930'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <xs:schema
targetNamespace='http://test.jboss.org/ws/jbws2930/types'
xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns:tns='http://test.jboss.org/ws/jbws2930/types'>
+
+ <xs:import schemaLocation="./Name.xsd"/>
+
+ <xs:complexType name='Person'>
+ <xs:sequence>
+ <xs:element name='firstName' nillable='true'
type='xs:string'/>
+ <xs:element name='surname' nillable='true'
type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name='TelephoneNumber'>
+ <xs:sequence>
+ <xs:element name='areaCode' nillable='true'
type='xs:string'/>
+ <xs:element name='number' nillable='true'
type='xs:string'/>
+ <xs:element ref='Nickname'/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name='lookup' type='tns:Person'/>
+ <xs:element name='lookupResponse' type='tns:TelephoneNumber'/>
+
+ </xs:schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
stack/native/branches/dlofthouse/JBWS-2930/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2930/WEB-INF/wsdl/PhoneBook.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF