cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1214024 [1/2] - in /cxf/trunk: rt/bindings/soap/ rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/ rt/bindings/soap/src/test/resources/wsdl_soap/ rt/databinding/jaxb/ rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/ rt/data...
Date Wed, 14 Dec 2011 01:40:50 GMT
Author: dkulp
Date: Wed Dec 14 01:40:49 2011
New Revision: 1214024

URL: http://svn.apache.org/viewvc?rev=1214024&view=rev
Log:
Remove dependencies on testutils for jaxb and soap.

Added:
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/MyComplexStruct.java   (with props)
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/XopType.java   (with props)
    cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/
    cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl   (with props)
    cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl   (with props)
    cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl   (with props)
    cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl   (with props)
    cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl   (with props)
    cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd   (with props)
    cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/hello_world.wsdl   (with props)
    cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/hello_world.xsd   (with props)
    cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/rpc_lit.xsd   (with props)
Modified:
    cxf/trunk/rt/bindings/soap/pom.xml
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCInInterceptorTest.java
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCOutInterceptorTest.java
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/TestUtil.java
    cxf/trunk/rt/databinding/jaxb/pom.xml
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/BareInInterceptorTest.java
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/DocLiteralInInterceptorTest.java
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java
    cxf/trunk/tools/javato/ws/pom.xml

Modified: cxf/trunk/rt/bindings/soap/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/pom.xml?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/pom.xml (original)
+++ cxf/trunk/rt/bindings/soap/pom.xml Wed Dec 14 01:40:49 2011
@@ -88,12 +88,6 @@
                 </exclusion>
             </exclusions>
         </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-testutils</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
 
         <dependency>
             <groupId>junit</groupId>
@@ -114,6 +108,34 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.cxf</groupId>
+                <artifactId>cxf-xjc-plugin</artifactId>
+                <version>${cxf.xjc-utils.version}</version>
+                <executions>
+                    <execution>
+                        <id>generate-sources</id>
+                        <phase>generate-test-sources</phase>
+                        <configuration>
+                            <testSourceRoot>${basedir}/target/generated/src/test/java</testSourceRoot>
+                            <xsdOptions>
+                                <xsdOption>
+                                    <xsd>${basedir}/src/test/resources/wsdl_soap/rpc_lit.xsd</xsd>
+                                </xsdOption>
+                            </xsdOptions>
+                        </configuration>
+                        <goals>
+                            <goal>xsdtojava-tests</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+
 
     <profiles>
         <profile>

Added: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/MyComplexStruct.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/MyComplexStruct.java?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/MyComplexStruct.java (added)
+++ cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/MyComplexStruct.java Wed Dec 14 01:40:49 2011
@@ -0,0 +1,124 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.binding.soap;
+
+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 myComplexStruct complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="myComplexStruct">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="elem1" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="elem2" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="elem3" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "myComplexStruct", propOrder = {"elem1", "elem2", "elem3" })
+public class MyComplexStruct {
+
+    @XmlElement(required = true, namespace = "http://apache.org/hello_world_rpclit/types")
+    protected String elem1;
+    @XmlElement(required = true, namespace = "http://apache.org/hello_world_rpclit/types")
+    protected String elem2;
+    @XmlElement(namespace = "http://apache.org/hello_world_rpclit/types")
+    protected int elem3;
+
+    /**
+     * Gets the value of the elem1 property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getElem1() {
+        return elem1;
+    }
+
+    /**
+     * Sets the value of the elem1 property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setElem1(String value) {
+        this.elem1 = value;
+    }
+
+    /**
+     * Gets the value of the elem2 property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getElem2() {
+        return elem2;
+    }
+
+    /**
+     * Sets the value of the elem2 property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setElem2(String value) {
+        this.elem2 = value;
+    }
+
+    /**
+     * Gets the value of the elem3 property.
+     * 
+     */
+    public int getElem3() {
+        return elem3;
+    }
+
+    /**
+     * Sets the value of the elem3 property.
+     * 
+     */
+    public void setElem3(int value) {
+        this.elem3 = value;
+    }
+
+}

Propchange: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/MyComplexStruct.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/MyComplexStruct.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCInInterceptorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCInInterceptorTest.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCInInterceptorTest.java (original)
+++ cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCInInterceptorTest.java Wed Dec 14 01:40:49 2011
@@ -33,7 +33,6 @@ import org.apache.cxf.service.Service;
 import org.apache.cxf.service.model.BindingInfo;
 import org.apache.cxf.service.model.BindingOperationInfo;
 import org.apache.cxf.service.model.ServiceInfo;
-import org.apache.hello_world_rpclit.types.MyComplexStruct;
 import org.easymock.classextension.EasyMock;
 import org.easymock.classextension.IMocksControl;
 import org.junit.Before;
@@ -50,7 +49,8 @@ public class RPCInInterceptorTest extend
     @Before
     public void setUp() throws Exception {
         super.setUp();
-        ServiceInfo si = getMockedServiceModel(this.getClass().getResource("/wsdl/hello_world_rpc_lit.wsdl")
+        ServiceInfo si = getMockedServiceModel(this.getClass()
+                                               .getResource("/wsdl_soap/hello_world_rpc_lit.wsdl")
                 .toString());
         BindingInfo bi = si.getBinding(new QName(TNS, "Greeter_SOAPBinding_RPCLit"));
         BindingOperationInfo boi = bi.getOperation(new QName(TNS, OPNAME));

Modified: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCOutInterceptorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCOutInterceptorTest.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCOutInterceptorTest.java (original)
+++ cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCOutInterceptorTest.java Wed Dec 14 01:40:49 2011
@@ -39,7 +39,6 @@ import org.apache.cxf.service.model.Bind
 import org.apache.cxf.service.model.ServiceInfo;
 import org.apache.cxf.staxutils.DepthXMLStreamReader;
 import org.apache.cxf.staxutils.StaxUtils;
-import org.apache.hello_world_rpclit.types.MyComplexStruct;
 import org.easymock.classextension.EasyMock;
 import org.easymock.classextension.IMocksControl;
 import org.junit.After;
@@ -59,7 +58,8 @@ public class RPCOutInterceptorTest exten
     @Before
     public void setUp() throws Exception {
         super.setUp();
-        ServiceInfo si = getMockedServiceModel(this.getClass().getResource("/wsdl/hello_world_rpc_lit.wsdl")
+        ServiceInfo si = getMockedServiceModel(this.getClass()
+                                               .getResource("/wsdl_soap/hello_world_rpc_lit.wsdl")
                 .toString());
         BindingInfo bi = si.getBinding(new QName(TNS, "Greeter_SOAPBinding_RPCLit"));
         BindingOperationInfo boi = bi.getOperation(new QName(TNS, OPNAME));

Modified: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java (original)
+++ cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java Wed Dec 14 01:40:49 2011
@@ -75,7 +75,7 @@ public class SoapBindingFactoryTest exte
     
     @Test
     public void testNoBodyParts() throws Exception {
-        Definition d = createDefinition("/wsdl/no_body_parts.wsdl");
+        Definition d = createDefinition("/wsdl_soap/no_body_parts.wsdl");
         Bus bus = getMockBus();
 
         BindingFactoryManager bfm = getBindingFactoryManager(WSDLConstants.NS_SOAP11, bus);
@@ -123,7 +123,7 @@ public class SoapBindingFactoryTest exte
 
     @Test
     public void testFactory() throws Exception {        
-        Definition d = createDefinition("/wsdl/hello_world.wsdl");
+        Definition d = createDefinition("/wsdl_soap/hello_world.wsdl");
 
         Bus bus = getMockBus();
 
@@ -170,7 +170,7 @@ public class SoapBindingFactoryTest exte
     
     @Test
     public void testSoap12Factory() throws Exception {        
-        Definition d = createDefinition("/wsdl/hello_world_soap12.wsdl");
+        Definition d = createDefinition("/wsdl_soap/hello_world_soap12.wsdl");
 
         Bus bus = getMockBus();
 

Modified: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/TestUtil.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/TestUtil.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/TestUtil.java (original)
+++ cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/TestUtil.java Wed Dec 14 01:40:49 2011
@@ -35,7 +35,6 @@ import org.apache.cxf.message.Attachment
 import org.apache.cxf.message.Exchange;
 import org.apache.cxf.message.ExchangeImpl;
 import org.apache.cxf.message.MessageImpl;
-import org.apache.cxf.mime.types.XopType;
 
 public final class TestUtil {
 

Added: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/XopType.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/XopType.java?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/XopType.java (added)
+++ cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/XopType.java Wed Dec 14 01:40:49 2011
@@ -0,0 +1,107 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.binding.soap;
+
+import javax.activation.DataHandler;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlMimeType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for XopType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="XopType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="attachinfo" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "XopType", propOrder = {"name", "attachinfo" })
+public class XopType {
+
+    @XmlElement(required = true)
+    protected String name;
+    @XmlElement(required = true)
+    @XmlMimeType("application/octet-stream")
+    protected DataHandler attachinfo;
+
+    /**
+     * 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;
+    }
+
+    /**
+     * Gets the value of the attachinfo property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link DataHandler }
+     *     
+     */
+    public DataHandler getAttachinfo() {
+        return attachinfo;
+    }
+
+    /**
+     * Sets the value of the attachinfo property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link DataHandler }
+     *     
+     */
+    public void setAttachinfo(DataHandler value) {
+        this.attachinfo = value;
+    }
+
+}

Propchange: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/XopType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/XopType.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl (added)
+++ cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl Wed Dec 14 01:40:49 2011
@@ -0,0 +1,407 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://apache.org/hello_world_soap_http"
+    xmlns:x1="http://apache.org/hello_world_soap_http/types"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://apache.org/hello_world_soap_http" name="HelloWorld">
+    <wsdl:types>
+        <schema targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://apache.org/hello_world_soap_http/types" elementFormDefault="qualified">
+            <element name="sayHi">
+                <complexType/>
+            </element>
+            <element name="sayHiResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMe">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+
+            <element name="testNillable">
+                <complexType>
+                    <sequence>
+                        <element name="NillElem" nillable="true" type="string"/>
+                        <element name="intElem" type="int"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="testNillableResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" nillable="true" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+
+            <element name="greetMeLater">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="long"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeLaterResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeSometime">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeSometimeResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeOneWay">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="testDocLitFault">
+                <complexType>
+                    <sequence>
+                        <element name="faultType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="testDocLitFaultResponse">
+                <complexType>
+                    <sequence/>
+                </complexType>
+            </element>
+            <complexType name="ErrorCode">
+                <sequence>
+                    <element name="minor" type="short"/>
+                    <element name="major" type="short"/>
+                </sequence>
+            </complexType>
+            <element name="NoSuchCodeLit">
+                <complexType>
+                    <sequence>
+                        <element name="code" type="x1:ErrorCode"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="BadRecordLit" type="string"/>
+            <complexType name="BadRecord">
+                <sequence>
+                    <element name="reason" type="string"/>
+                    <element name="code" type="short"/>
+                </sequence>
+            </complexType>
+            <complexType name="addNumbers">
+                <sequence>
+                    <element name="arg0" type="int"/>
+                    <element name="arg1" type="int"/>
+                </sequence>
+            </complexType>
+            <element name="addNumbers" type="x1:addNumbers"/>
+            <complexType name="addNumbersResponse">
+                <sequence>
+                    <element name="return" type="int"/>
+                </sequence>
+            </complexType>
+            <element name="addNumbersResponse" type="x1:addNumbersResponse"/>
+            <complexType name="stringStruct">
+                <sequence>
+                    <element name="arg0" type="string"/>
+                    <element name="arg1" type="string"/>
+                </sequence>
+            </complexType>
+            <element name="BareDocument" type="string"/>
+            <element name="BareDocumentResponse">
+                <complexType>
+                    <sequence>
+                        <element name="company" type="string"/>
+                    </sequence>
+                    <attribute name="id" type="int"/>
+                </complexType>
+            </element>
+        </schema>
+    </wsdl:types>
+    <wsdl:message name="sayHiRequest">
+        <wsdl:part name="in" element="x1:sayHi"/>
+    </wsdl:message>
+    <wsdl:message name="sayHiResponse">
+        <wsdl:part name="out" element="x1:sayHiResponse"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeRequest">
+        <wsdl:part name="in" element="x1:greetMe"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeResponse">
+        <wsdl:part name="out" element="x1:greetMeResponse"/>
+    </wsdl:message>
+    <wsdl:message name="testNillableRequest">
+        <wsdl:part name="in" element="x1:testNillable"/>
+    </wsdl:message>
+    <wsdl:message name="testNillableResponse">
+        <wsdl:part name="out" element="x1:testNillableResponse"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeLaterRequest">
+        <wsdl:part name="in" element="x1:greetMeLater"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeLaterResponse">
+        <wsdl:part name="out" element="x1:greetMeLaterResponse"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeSometimeRequest">
+        <wsdl:part name="in" element="x1:greetMeSometime"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeSometimeResponse">
+        <wsdl:part name="out" element="x1:greetMeSometimeResponse"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeOneWayRequest">
+        <wsdl:part name="in" element="x1:greetMeOneWay"/>
+    </wsdl:message>
+    <wsdl:message name="testDocLitFaultRequest">
+        <wsdl:part name="in" element="x1:testDocLitFault"/>
+    </wsdl:message>
+    <wsdl:message name="testDocLitFaultResponse">
+        <wsdl:part name="out" element="x1:testDocLitFaultResponse"/>
+    </wsdl:message>
+    <wsdl:message name="NoSuchCodeLitFault">
+        <wsdl:part name="NoSuchCodeLit" element="x1:NoSuchCodeLit"/>
+    </wsdl:message>
+    <wsdl:message name="BadRecordLitFault">
+        <wsdl:part name="BadRecordLit" element="x1:BadRecordLit"/>
+    </wsdl:message>
+    <wsdl:message name="testDocLitBareRequest">
+        <wsdl:part name="in" element="x1:BareDocument"/>
+    </wsdl:message>
+    <wsdl:message name="testDocLitBareResponse">
+        <wsdl:part name="out" element="x1:BareDocumentResponse"/>
+    </wsdl:message>
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="sayHi">
+            <wsdl:input message="tns:sayHiRequest"/>
+            <wsdl:output message="tns:sayHiResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="greetMe">
+            <wsdl:input message="tns:greetMeRequest"/>
+            <wsdl:output message="tns:greetMeResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="testNillable">
+            <wsdl:input  message="tns:testNillableRequest"/>
+            <wsdl:output  message="tns:testNillableResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="greetMeLater">
+            <wsdl:input  message="tns:greetMeLaterRequest"/>
+            <wsdl:output  message="tns:greetMeLaterResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="greetMeSometime">
+            <wsdl:input  message="tns:greetMeSometimeRequest"/>
+            <wsdl:output  message="tns:greetMeSometimeResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="greetMeOneWay">
+            <wsdl:input  message="tns:greetMeOneWayRequest"/>
+        </wsdl:operation>
+        <wsdl:operation name="testDocLitFault">
+            <wsdl:input  message="tns:testDocLitFaultRequest"/>
+            <wsdl:output  message="tns:testDocLitFaultResponse"/>
+            <wsdl:fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
+            <wsdl:fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
+        </wsdl:operation>
+
+    </wsdl:portType>
+
+    <wsdl:portType name="DocLitBare">
+        <wsdl:operation name="testDocLitBare">
+            <wsdl:input name="testDocLitBareRequest" message="tns:testDocLitBareRequest"/>
+            <wsdl:output name="testDocLitBareResponse" message="tns:testDocLitBareResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="sayHi">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="greetMe">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="testNillable">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="greetMeLater">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="greetMeSometime">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="greetMeOneWay">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+        <wsdl:operation name="testDocLitFault">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="NoSuchCodeLitFault">
+                <soap:fault name="NoSuchCodeLitFault" use="literal"/>
+            </wsdl:fault>
+            <wsdl:fault name="BadRecordLitFault">
+                <soap:fault name="BadRecordLitFault" use="literal"/>
+            </wsdl:fault>
+        </wsdl:operation>
+
+    </wsdl:binding>
+    <wsdl:binding name="Doc_Lit_Bare_SOAPBinding" type="tns:DocLitBare">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="testDocLitBare">
+            <soap:operation style="document" soapAction="http://apache.org/hello_world_soap_http/testDocLitBare"/>
+            <wsdl:input name="testDocLitBareRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="testDocLitBareResponse">
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+
+
+    <wsdl:service name="SOAPService">
+        <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+        </wsdl:port>
+
+        <wsdl:port name="SoapPort1" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:7000/SoapContext/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+
+    <wsdl:service name="SOAPProviderService">
+        <wsdl:port name="SoapProviderPort" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9003/SoapContext/SoapProviderPort"/>
+        </wsdl:port>
+    </wsdl:service>
+
+    <wsdl:service name="SOAPDispatchService">
+        <wsdl:port name="SoapDispatchPort" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9006/SOAPDispatchService/SoapDispatchPort"/>
+        </wsdl:port>
+    </wsdl:service>
+
+    <wsdl:service name="SOAPService_DocLitBare">
+        <wsdl:port name="SoapPort2" binding="tns:Doc_Lit_Bare_SOAPBinding">
+            <soap:address location="http://localhost:7600/SoapContext/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+    <wsdl:service name="SOAPServiceAddressingDocLitBare">
+        <wsdl:port name="SoapPort" binding="tns:Doc_Lit_Bare_SOAPBinding">
+            <soap:address location="http://localhost:7600/SoapContext/SoapPort"/>
+            <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
+        </wsdl:port>
+    </wsdl:service>
+    <wsdl:service name="SOAPService_Test1">
+        <wsdl:port name="SoapPort_Test1" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9100"/>
+        </wsdl:port>
+        <wsdl:port name="SoapPort_Test2" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9101"/>
+        </wsdl:port>
+    </wsdl:service>
+    <wsdl:service name="SOAPServiceAddressing">
+        <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9008/SoapContext/SoapPort"/>
+            <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
+        </wsdl:port>
+    </wsdl:service>
+    <wsdl:service name="SOAPServiceConcurrencyTest">
+        <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9009/SoapContext/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+    <wsdl:service name="SOAPServiceBogusAddressTest">
+        <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="FOO"/>
+        </wsdl:port>
+    </wsdl:service>
+    <wsdl:service name="SOAPServiceMultiPortTypeTest">
+        <wsdl:port name="GreeterPort" binding="tns:Greeter_SOAPBinding">
+            <soap:address location="http://localhost:9020/MultiPort/GreeterPort"/>
+        </wsdl:port>
+        <wsdl:port name="DocLitBarePort" binding="tns:Doc_Lit_Bare_SOAPBinding">
+            <soap:address location="http://localhost:9021/MultiPort/DocBarePort"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
+

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl (added)
+++ cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl Wed Dec 14 01:40:49 2011
@@ -0,0 +1,272 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements. See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership. The ASF licenses this file
+	to you under the Apache License, Version 2.0 (the
+	"License"); you may not use this file except in compliance
+	with the License. You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing,
+	software distributed under the License is distributed on an
+	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+	KIND, either express or implied. See the License for the
+	specific language governing permissions and limitations
+	under the License.
+-->
+<wsdl:definitions name="HelloWorld"
+	targetNamespace="http://apache.org/hello_world_rpclit"
+	xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	xmlns:tns="http://apache.org/hello_world_rpclit"
+	xmlns:x1="http://apache.org/hello_world_rpclit/types"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+	<wsdl:types>
+		<schema
+			targetNamespace="http://apache.org/hello_world_rpclit/types"
+			xmlns="http://www.w3.org/2001/XMLSchema"
+			elementFormDefault="qualified">
+			<complexType name="myComplexStruct">
+				<sequence>
+					<element name="elem1" type="xsd:string" />
+					<element name="elem2" type="xsd:string" />
+					<element name="elem3" type="xsd:int" />
+				</sequence>
+			</complexType>
+		</schema>
+	</wsdl:types>
+
+	<wsdl:message name="sayHiRequest" />
+
+	<wsdl:message name="sayHiResponse">
+		<wsdl:part type="xsd:string" name="out" />
+	</wsdl:message>
+
+	<wsdl:message name="greetMeRequest">
+		<wsdl:part type="xsd:string" name="in" />
+	</wsdl:message>
+
+	<wsdl:message name="greetMeResponse">
+		<wsdl:part type="xsd:string" name="out" />
+	</wsdl:message>
+	
+	<wsdl:message name="greetUsRequest">
+		<wsdl:part type="xsd:string" name="you" />
+		<wsdl:part type="xsd:string" name="me" />
+	</wsdl:message>
+
+	<wsdl:message name="greetUsResponse">
+		<wsdl:part type="xsd:string" name="out" />
+	</wsdl:message>	
+
+	<wsdl:message name="sendReceiveDataRequest">
+		<wsdl:part type="x1:myComplexStruct" name="in" />
+	</wsdl:message>
+
+	<wsdl:message name="sendReceiveDataResponse">
+		<wsdl:part type="x1:myComplexStruct" name="out" />
+	</wsdl:message>
+
+	<wsdl:portType name="GreeterRPCLit">
+		<wsdl:operation name="sayHi">
+			<wsdl:input message="tns:sayHiRequest" name="sayHiRequest" />
+			<wsdl:output message="tns:sayHiResponse"
+				name="sayHiResponse" />
+		</wsdl:operation>
+		<wsdl:operation name="greetMe">
+			<wsdl:input message="tns:greetMeRequest"
+				name="greetMeRequest" />
+			<wsdl:output message="tns:greetMeResponse"
+				name="greetMeResponse" />
+		</wsdl:operation>
+		<wsdl:operation name="sendReceiveData">
+			<wsdl:input message="tns:sendReceiveDataRequest"
+				name="SendReceiveDataRequest" />
+			<wsdl:output message="tns:sendReceiveDataResponse"
+				name="SendReceiveDataResponse" />
+		</wsdl:operation>
+		<wsdl:operation name="greetUs">
+			<wsdl:input message="tns:greetUsRequest"
+				name="greetUsRequest" />
+			<wsdl:output message="tns:greetUsResponse"
+				name="greetUsResponse" />
+		</wsdl:operation>
+	</wsdl:portType>
+
+	<wsdl:binding name="Greeter_SOAPBinding_RPCLit"
+		type="tns:GreeterRPCLit">
+
+		<soap:binding style="rpc"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+
+		<wsdl:operation name="sayHi">
+			<soap:operation soapAction="" style="rpc" />
+			<wsdl:input>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:output>
+		</wsdl:operation>
+
+		<wsdl:operation name="greetMe">
+			<soap:operation soapAction="" style="rpc" />
+			<wsdl:input>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:output>
+		</wsdl:operation>
+		
+		<wsdl:operation name="greetUs">
+			<soap:operation soapAction="" style="rpc" />
+			<wsdl:input>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:output>
+		</wsdl:operation>
+
+		<wsdl:operation name="sendReceiveData">
+			<soap:operation soapAction="" style="rpc" />
+			<wsdl:input>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body
+					namespace="http://apache.org/hello_world_rpclit" use="literal" />
+			</wsdl:output>
+		</wsdl:operation>
+
+	</wsdl:binding>
+
+	<wsdl:service name="SOAPServiceRPCLit">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort" />
+		</wsdl:port>
+
+		<!-- Bug in CXF runtime the below port is not recognised-->
+		<!--
+			<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit" name="SoapPortRPCLit1">
+			<soap:address location="http://localhost:9002/SOAPServiceRPCLit/SoapPort1"/>
+			</wsdl:port>        
+		-->
+	</wsdl:service>
+
+	<wsdl:service name="SOAPServiceProviderRPCLit">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit1">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit1" />
+		</wsdl:port>
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit2">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit2" />
+		</wsdl:port>
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit3">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit3" />
+		</wsdl:port>
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit4">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit4" />
+		</wsdl:port>
+
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit5">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit5" />
+		</wsdl:port>
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit6">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit6" />
+		</wsdl:port>
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit7">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit7" />
+		</wsdl:port>
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortProviderRPCLit8">
+			<soap:address
+				location="http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit8" />
+		</wsdl:port>
+        </wsdl:service>
+
+	<wsdl:service name="SOAPServiceRPCLit1">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit1">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort1" />
+		</wsdl:port>
+	</wsdl:service>
+
+	<wsdl:service name="SOAPServiceRPCLit2">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit2">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort2" />
+		</wsdl:port>
+	</wsdl:service>
+
+	<wsdl:service name="SOAPServiceRPCLit3">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit3">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort3" />
+		</wsdl:port>
+	</wsdl:service>
+
+	<wsdl:service name="SOAPServiceRPCLit4">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit4">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort4" />
+		</wsdl:port>
+	</wsdl:service>
+
+	<wsdl:service name="SOAPServiceRPCLit5">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit5">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort5" />
+		</wsdl:port>
+	</wsdl:service>
+
+	<wsdl:service name="SOAPServiceRPCLit6">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit6">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort6" />
+		</wsdl:port>
+	</wsdl:service>
+	
+	<wsdl:service name="SOAPServiceRPCLit8">
+		<wsdl:port binding="tns:Greeter_SOAPBinding_RPCLit"
+			name="SoapPortRPCLit8">
+			<soap:address
+				location="http://localhost:9002/SOAPServiceRPCLit/SoapPort8" />
+		</wsdl:port>
+	</wsdl:service>
+	
+</wsdl:definitions>

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_rpc_lit.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl (added)
+++ cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl Wed Dec 14 01:40:49 2011
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<definitions name="HelloWorld"
+	     xmlns="http://schemas.xmlsoap.org/wsdl/"
+	     xmlns:tns="http://apache.org/hello_world_soap12_http"
+	     xmlns:x1="http://apache.org/hello_world_soap12_http/types"
+	     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	     targetNamespace="http://apache.org/hello_world_soap12_http"
+	     xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
+    <wsdl:types>
+	<schema targetNamespace="http://apache.org/hello_world_soap12_http/types" 
+		xmlns="http://www.w3.org/2001/XMLSchema" 
+		xmlns:x1="http://apache.org/hello_world_soap12_http/types" 
+		elementFormDefault="qualified">
+	    <element name="sayHi">
+		<complexType/>
+	    </element>
+	    <element name="sayHiResponse">
+		<complexType>
+		    <sequence>
+			<element name="responseType" type="string"/>
+		    </sequence>
+		</complexType>
+	    </element>
+	    <element name="pingMe">
+		<complexType/>
+	    </element>
+	    <element name="pingMeResponse">
+		<complexType/>
+	    </element>
+	    <element name="faultDetail">
+		<complexType>
+		    <sequence>
+			<element name="minor" type="short"/>
+			<element name="major" type="short"/>
+		    </sequence>
+                </complexType>
+	    </element>
+        </schema>
+    </wsdl:types>
+
+    <wsdl:message name="sayHiRequest">
+        <wsdl:part name="in" element="x1:sayHi"/>
+    </wsdl:message>
+    <wsdl:message name="sayHiResponse">
+        <wsdl:part name="out" element="x1:sayHiResponse"/>
+    </wsdl:message>
+
+    <wsdl:message name="pingMeRequest">
+	<wsdl:part name="in" element="x1:pingMe"/>
+    </wsdl:message>
+    <wsdl:message name="pingMeResponse">
+        <wsdl:part name="out" element="x1:pingMeResponse"/>
+    </wsdl:message>		
+    <wsdl:message name="pingMeFault">
+	<wsdl:part name="faultDetail" element="x1:faultDetail"/>
+    </wsdl:message>
+
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="sayHi">
+            <wsdl:input message="tns:sayHiRequest"/>
+            <wsdl:output message="tns:sayHiResponse"/>
+        </wsdl:operation>
+	<wsdl:operation name="pingMe">
+	    <wsdl:input message="tns:pingMeRequest"/>
+	    <wsdl:output message="tns:pingMeResponse"/>
+	    <wsdl:fault name="pingMeFault" message="tns:pingMeFault"/>
+        </wsdl:operation> 
+    </wsdl:portType>
+
+    <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+	<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+	<operation name="sayHi">
+	    <soap12:operation style="document" soapAction="sayHiAction"/>
+	    <input>
+		<soap12:body use="literal" />
+	    </input>
+	    <output>
+		<soap12:body use="literal" />
+	    </output>
+	</operation>
+	<operation name="pingMe">
+	    <soap12:operation style="document"/>
+	    <input>
+                <soap12:body use="literal"/>
+            </input>
+            <output>
+                <soap12:body use="literal"/>
+            </output>
+            <fault name="pingMeFault">
+                <soap12:fault name="pingMeFault" use="literal"/>
+            </fault>
+        </operation>
+    </wsdl:binding>
+
+    <wsdl:service name="SOAPService">
+        <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+            <soap12:address location="http://localhost:9012/SoapContext/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+</definitions>

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/hello_world_soap12.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl (added)
+++ cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl Wed Dec 14 01:40:49 2011
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" 
+             xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+             xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
+             xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
+             xmlns:tns="urn:org:apache:cxf:no_body_parts/wsdl"
+             xmlns:types="urn:org:apache:cxf:no_body_parts/types"
+             targetNamespace="urn:org:apache:cxf:no_body_parts/wsdl"
+             name="no_body_parts">
+<types>
+<xsd:schema xmlns:tns="http://ws-i.org/profiles/basic/1.1/xsd" 
+            elementFormDefault="qualified" 
+            targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd"> 
+	<xsd:simpleType name="swaRef"> 
+		<xsd:restriction base="xsd:anyURI"/> 
+	</xsd:simpleType> 
+</xsd:schema>
+
+<xsd:schema xmlns:tns="urn:org:apache:cxf:no_body_parts/types" 
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+            xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" 
+            elementFormDefault="qualified" 
+            targetNamespace="urn:org:apache:cxf:no_body_parts/types">
+
+    <xsd:element name="operation1">
+        <xsd:complexType>
+            <xsd:sequence>
+                <xsd:element name="targetType" type="xsd:string" nillable="true"/>
+                <xsd:element name="optionString" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            </xsd:sequence>
+        </xsd:complexType>            
+    </xsd:element>
+    <xsd:element name="operation1Response"> 
+        <xsd:complexType>
+            <xsd:sequence>    
+                <xsd:element name="status" type="xsd:string" nillable="true"/>
+            </xsd:sequence>
+        </xsd:complexType>
+    </xsd:element>
+
+
+</xsd:schema>
+</types>
+
+<message name="operation1Request">
+    <part name="parameters" element="types:operation1"/>
+    <part name="mimeAttachment" type="xsd:base64Binary"/>
+</message>
+<message name="operation1Response">
+    <part name="result" element="types:operation1Response"/>
+    <part name="mimeAttachment" type="xsd:base64Binary"/>
+</message>
+
+<portType name="NoBodyPartsSEI">
+    <operation name="operation1">
+        <input message="tns:operation1Request"/>
+        <output message="tns:operation1Response"/>
+    </operation>    
+</portType>
+
+<binding name="NoBodyPartsSEIBinding" type="tns:NoBodyPartsSEI">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" 
+                  style="document"/>
+    <operation name="operation1">
+        <soap:operation soapAction=""/>
+        <input>
+            <mime:multipartRelated>
+                <mime:part>
+                    <soap:body use="literal"/>
+                </mime:part>
+                <mime:part>
+                    <mime:content part="mimeAttachment" type="application/octet-stream"/>
+                </mime:part>
+            </mime:multipartRelated>
+        </input>
+        <output>
+            <mime:multipartRelated> 
+                <mime:part>
+                    <soap:body use="literal"/>
+                </mime:part>
+                <mime:part>
+                    <mime:content part="mimeAttachment" type="application/octet-stream"/>
+                </mime:part>
+            </mime:multipartRelated>        
+        </output>        
+    </operation>
+</binding>
+
+<service name="NoBodyParts">
+    <port name="NoBodyPartsPort" binding="tns:NoBodyPartsSEIBinding">
+      <soap:address location="http://localhost/NoBodyParts" />
+    </port>
+</service>
+
+</definitions>
+

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/rt/bindings/soap/src/test/resources/wsdl_soap/no_body_parts.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/rt/databinding/jaxb/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/pom.xml?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/pom.xml (original)
+++ cxf/trunk/rt/databinding/jaxb/pom.xml Wed Dec 14 01:40:49 2011
@@ -50,6 +50,15 @@
                                 <xsdOption>
                                     <xsd>${basedir}/src/test/resources/wsdl/jaxb/form_test.xsd</xsd>
                                 </xsdOption>
+                                <xsdOption>
+                                    <xsd>${basedir}/src/test/resources/wsdl/jaxb/hello_world.xsd</xsd>
+                                </xsdOption>
+                                <xsdOption>
+                                    <xsd>${basedir}/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd</xsd>
+                                </xsdOption>
+                                <xsdOption>
+                                    <xsd>${basedir}/src/test/resources/wsdl/jaxb/rpc_lit.xsd</xsd>
+                                </xsdOption>
                             </xsdOptions>
                         </configuration>
                         <goals>
@@ -89,12 +98,6 @@
         </dependency>
 
         <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-testutils</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>com.sun.xml.bind</groupId>
             <artifactId>jaxb-impl</artifactId>
         </dependency>

Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/BareInInterceptorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/BareInInterceptorTest.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/BareInInterceptorTest.java (original)
+++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/BareInInterceptorTest.java Wed Dec 14 01:40:49 2011
@@ -191,7 +191,7 @@ public class BareInInterceptorTest exten
     private void setUpUsingHelloWorld() throws Exception {
         String ns = "http://apache.org/hello_world_soap_http";
         WSDLServiceFactory factory = new WSDLServiceFactory(bus, getClass()
-            .getResource("/wsdl/hello_world.wsdl"),
+            .getResource("/wsdl/jaxb/hello_world.wsdl"),
                                                             new QName(ns, "SOAPService"));
 
         service = factory.create();
@@ -221,7 +221,7 @@ public class BareInInterceptorTest exten
     private void setUpUsingDocLit() throws Exception {
         String ns = "http://apache.org/hello_world_doc_lit_bare";
         WSDLServiceFactory factory = new WSDLServiceFactory(bus, getClass()
-            .getResource("/wsdl/doc_lit_bare.wsdl"),
+            .getResource("/wsdl/jaxb/doc_lit_bare.wsdl"),
                                                             new QName(ns, "SOAPService"));
 
         service = factory.create();

Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/DocLiteralInInterceptorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/DocLiteralInInterceptorTest.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/DocLiteralInInterceptorTest.java (original)
+++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/DocLiteralInInterceptorTest.java Wed Dec 14 01:40:49 2011
@@ -173,7 +173,7 @@ public class DocLiteralInInterceptorTest
     private void setUpUsingHelloWorld() throws Exception {
         String ns = "http://apache.org/hello_world_soap_http";
         WSDLServiceFactory factory = new WSDLServiceFactory(bus, getClass()
-            .getResource("/wsdl/hello_world.wsdl"), new QName(ns, "SOAPService"));
+            .getResource("/wsdl/jaxb/hello_world.wsdl"), new QName(ns, "SOAPService"));
 
         service = factory.create();
         endpointInfo = service.getEndpointInfo(new QName(ns, "SoapPort"));
@@ -198,7 +198,7 @@ public class DocLiteralInInterceptorTest
     private void setUpUsingDocLit() throws Exception {
         String ns = "http://apache.org/hello_world_doc_lit_bare";
         WSDLServiceFactory factory = new WSDLServiceFactory(bus, getClass()
-            .getResource("/wsdl/doc_lit_bare.wsdl"), new QName(ns, "SOAPService"));
+            .getResource("/wsdl/jaxb/doc_lit_bare.wsdl"), new QName(ns, "SOAPService"));
 
         service = factory.create();
         endpointInfo = service.getEndpointInfo(new QName(ns, "SoapPort"));

Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java (original)
+++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java Wed Dec 14 01:40:49 2011
@@ -58,7 +58,7 @@ import org.apache.cxf.jaxb_misc.ObjectFa
 import org.apache.cxf.jaxb_misc.TestJAXBClass;
 import org.apache.cxf.transport.DestinationFactoryManager;
 import org.apache.cxf.wsdl11.WSDLServiceBuilder;
-import org.apache.hello_world.types.GreetMe;
+import org.apache.hello_world_soap_http.types.GreetMe;
 import org.apache.hello_world_soap_http.types.GreetMeOneWay;
 import org.easymock.classextension.EasyMock;
 import org.easymock.classextension.IMocksControl;
@@ -70,7 +70,7 @@ import org.junit.Test;
 public class JAXBDataBindingTest extends Assert {
 
     private static final Logger LOG = LogUtils.getLogger(JAXBDataBindingTest.class);
-    private static final String WSDL_PATH = "/wsdl/hello_world.wsdl";
+    private static final String WSDL_PATH = "/wsdl/jaxb/hello_world.wsdl";
     private Definition def;
     private Service service;
 

Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java?rev=1214024&r1=1214023&r2=1214024&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java (original)
+++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java Wed Dec 14 01:40:49 2011
@@ -44,6 +44,7 @@ import javax.xml.transform.stream.Stream
 import javax.xml.validation.Schema;
 import javax.xml.validation.SchemaFactory;
 import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
 
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
@@ -56,12 +57,9 @@ import org.apache.cxf.jaxb_misc.Base64Wi
 import org.apache.cxf.jaxb_misc.ObjectFactory;
 import org.apache.cxf.service.model.MessagePartInfo;
 import org.apache.cxf.staxutils.StaxStreamFilter;
-import org.apache.cxf.testutil.common.TestUtil;
-import org.apache.hello_world_soap_http.Greeter;
 import org.apache.hello_world_soap_http.types.GreetMe;
 import org.apache.hello_world_soap_http.types.GreetMeResponse;
 import org.apache.hello_world_soap_http.types.StringStruct;
-import org.apache.type_test.doc.TypeTestPortType;
 
 import org.junit.Assert;
 import org.junit.Before;
@@ -93,7 +91,7 @@ public class JAXBEncoderDecoderTest exte
             StringStruct.class,
             ObjectWithQualifiedElementElement.class
         });
-        Method method = TestUtil.getMethod(Greeter.class, "greetMe");
+        Method method = getMethod("greetMe");
         wrapperAnnotation = method.getAnnotation(RequestWrapper.class);
         
         InputStream is =  getClass().getResourceAsStream("resources/StringStruct.xsd");
@@ -103,6 +101,27 @@ public class JAXBEncoderDecoderTest exte
         schema = factory.newSchema(schemaSource);
         assertNotNull(schema);
     }
+    private Method getMethod(String methodName) {
+        Method[] declMethods = this.getClass().getDeclaredMethods();
+        for (Method method : declMethods) {
+            if (method.getName().equals(methodName)) {
+                return method;
+            }
+        }
+        return null;
+    }
+    
+    @RequestWrapper(localName = "greetMe", 
+        targetNamespace = "http://apache.org/hello_world_soap_http/types", 
+        className = "org.apache.hello_world_soap_http.types.GreetMe")
+    @ResponseWrapper(localName = "greetMeResponse", 
+        targetNamespace = "http://apache.org/hello_world_soap_http/types", 
+        className = "org.apache.hello_world_soap_http.types.GreetMeResponse")
+    public java.lang.String greetMe(
+        java.lang.String requestType
+    ) {
+        return "Hello " + requestType;
+    }
 
     
     private Type getFieldType(String name) throws Exception {
@@ -444,7 +463,7 @@ public class JAXBEncoderDecoderTest exte
     
     @Test
     public void testGetClassFromType() throws Exception {
-        Method testByte = TestUtil.getMethod(TypeTestPortType.class, "testByte");
+        Method testByte = getMethod("testByte");
         Type[] genericParameterTypes = testByte.getGenericParameterTypes();
         Class<?>[] paramTypes = testByte.getParameterTypes();
  
@@ -455,7 +474,7 @@ public class JAXBEncoderDecoderTest exte
             idx++;
         }
         
-        Method testBase64Binary = TestUtil.getMethod(TypeTestPortType.class, "testBase64Binary");
+        Method testBase64Binary = getMethod("testBase64Binary");
         genericParameterTypes = testBase64Binary.getGenericParameterTypes();
         paramTypes = testBase64Binary.getParameterTypes();
  
@@ -473,5 +492,34 @@ public class JAXBEncoderDecoderTest exte
         byte[] checkValue = testData.getAttributeWithDefaultValue();
         assertNotNull(checkValue);
     }
+    
+    
+    @RequestWrapper(localName = "testByte",
+        targetNamespace = "http://apache.org/type_test/doc", 
+        className = "org.apache.type_test.doc.TestByte")
+    @ResponseWrapper(localName = "testByteResponse", 
+        targetNamespace = "http://apache.org/type_test/doc", 
+        className = "org.apache.type_test.doc.TestByteResponse")
+    public byte testByte(
+        byte x,
+        javax.xml.ws.Holder<java.lang.Byte> y,
+        javax.xml.ws.Holder<java.lang.Byte> z) {
+        return 24;
+    }
+    
+    @RequestWrapper(localName = "testBase64Binary", 
+        targetNamespace = "http://apache.org/type_test/doc", 
+        className = "org.apache.type_test.doc.TestBase64Binary")
+    @ResponseWrapper(localName = "testBase64BinaryResponse", 
+        targetNamespace = "http://apache.org/type_test/doc", 
+        className = "org.apache.type_test.doc.TestBase64BinaryResponse")
+    public byte[] testBase64Binary(
+        byte[] x,
+        javax.xml.ws.Holder<byte[]> y,
+        javax.xml.ws.Holder<byte[]> z) {
+        return null;
+    }
+
+
 }
 

Added: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl (added)
+++ cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl Wed Dec 14 01:40:49 2011
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://apache.org/hello_world_doc_lit_bare" xmlns:x1="http://apache.org/hello_world_doc_lit_bare/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://apache.org/hello_world_doc_lit_bare" name="DocLitBare">
+    <wsdl:types>
+        <schema targetNamespace="http://apache.org/hello_world_doc_lit_bare/types" xmlns:tns="http://apache.org/hello_world_doc_lit_bare/types" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+            <complexType name="TradePriceData">
+                <sequence>
+                    <element name="tickerSymbol" type="xsd:string"/>
+                    <element name="tickerPrice" type="xsd:float"/>
+                </sequence>
+            </complexType>
+            <element name="in" type="tns:TradePriceData"/>
+            <element name="inout" type="tns:TradePriceData"/>
+            <element name="stringRespType" type="xsd:string"/>
+            <element name="inDecimal" nillable="true" type="xsd:decimal" />
+            <element name="outString" nillable="true" type="xsd:string" />
+        </schema>
+    </wsdl:types>
+    <message name="PutLastTradedPriceInput">
+        <part name="body" element="x1:in"/>
+    </message>
+    <message name="PutLastTradedPriceOutput"/>
+
+    <message name="SayHiInput">
+        <part name="body" element="x1:inout"/>
+    </message>
+    <message name="SayHiOutput">
+        <part name="body" element="x1:inout"/>
+    </message>
+    
+    <message name="bareNoParamRequest"/>
+    
+    <message name="bareNoParamResponse">
+        <part element="x1:stringRespType" name="theResponse"/>
+    </message>
+    
+    <message name="nillableRequest">
+    	<part name="theRequest" element="x1:inDecimal" />
+    </message>
+    
+    <message name="nillableResponse">
+    	<part name="theResponse" element="x1:outString" />
+    </message>
+
+    <portType name="PutLastTradedPricePortType">
+
+        <operation name="SayHi">
+            <input message="tns:SayHiInput"/>
+            <output message="tns:SayHiOutput"/>
+        </operation>
+    
+        <operation name="PutLastTradedPrice">
+            <input message="tns:PutLastTradedPriceInput"/>
+            <output message="tns:PutLastTradedPriceOutput"/>
+        </operation>
+    
+        <operation name="bareNoParam">
+            <input message="tns:bareNoParamRequest"/>
+            <output message="tns:bareNoParamResponse"/>
+        </operation>
+        
+        <operation name="nillableParameter">
+        	<input message="tns:nillableRequest" />
+        	<output message="tns:nillableResponse" />
+        </operation>
+        
+    </portType>
+    
+    <binding name="PutLastTradedPriceSoapBinding" type="tns:PutLastTradedPricePortType">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+        <operation name="SayHi">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        
+        <operation name="PutLastTradedPrice">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        
+        <operation name="bareNoParam">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        
+        <operation name="nillableParameter">
+        	<input>
+        		<soap:body use="literal" />
+        	</input>
+        	<output>
+        		<soap:body use="literal" />
+        	</output>        
+        </operation>
+                
+    </binding>
+    <wsdl:service name="SOAPService">
+        <wsdl:port name="SoapPort" binding="tns:PutLastTradedPriceSoapBinding">
+            <soap:address location="http://localhost:9107/SOAPDocLitBareService/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>

Propchange: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd?rev=1214024&view=auto
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd (added)
+++ cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd Wed Dec 14 01:40:49 2011
@@ -0,0 +1,15 @@
+<schema targetNamespace="http://apache.org/hello_world_doc_lit_bare/types" 
+    xmlns:tns="http://apache.org/hello_world_doc_lit_bare/types" 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <complexType name="TradePriceData">
+        <sequence>
+            <element name="tickerSymbol" type="xsd:string"/>
+            <element name="tickerPrice" type="xsd:float"/>
+        </sequence>
+    </complexType>
+    <element name="in" type="tns:TradePriceData"/>
+    <element name="inout" type="tns:TradePriceData"/>
+    <element name="stringRespType" type="xsd:string"/>
+    <element name="inDecimal" nillable="true" type="xsd:decimal" />
+    <element name="outString" nillable="true" type="xsd:string" />
+</schema>

Propchange: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/rt/databinding/jaxb/src/test/resources/wsdl/jaxb/doc_lit_bare.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message