text: <!--
  
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  
      Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved.
  
      The contents of this file are subject to the terms of either the GNU
      General Public License Version 2 only ("GPL") or the Common Development
      and Distribution License("CDDL") (collectively, the "License").  You
      may not use this file except in compliance with the License.  You can
      obtain a copy of the License at
      https://oss.oracle.com/licenses/CDDL+GPL-1.1
      or LICENSE.txt.  See the License for the specific
      language governing permissions and limitations under the License.
  
      When distributing the software, include this License Header Notice in each
      file and include the License file at LICENSE.txt.
  
      GPL Classpath Exception:
      Oracle designates this particular file as subject to the "Classpath"
      exception as provided by Oracle in the GPL Version 2 section of the License
      file that accompanied this code.
  
      Modifications:
      If applicable, add the following below the License Header, with the fields
      enclosed by brackets [] replaced by your own identifying information:
      "Portions Copyright [year] [name of copyright owner]"
  
      Contributor(s):
      If you wish your version of this file to be governed by only the CDDL or
      only the GPL Version 2, indicate your decision by adding "[Contributor]
      elects to include this software in this distribution under the [CDDL or GPL
      Version 2] license."  If you don't indicate a single choice of license, a
      recipient has the option to distribute your version of this file under
      either the CDDL, the GPL Version 2 or to extend the choice of license to
      its licensees as provided above.  However, if you add GPL Version 2 code
      and therefore, elected the GPL Version 2 license, then the option applies
      only if the new code is made subject to such option by the copyright
      holder.
  
  -->
  
  <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
      <s:Header>
          <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse</a:Action>
          <ActivityId CorrelationId="0ac7d82f-a8b0-400c-8723-e345fd5a5929"
                      xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">
              1073067d-8fe9-485c-8aa0-0ae4a11dca7e</ActivityId>
          <a:RelatesTo>urn:uuid:ca574ca1-ca92-416d-bbb8-784d9a5b2521</a:RelatesTo>
      </s:Header>
      <s:Body>
          <Metadata xmlns="http://schemas.xmlsoap.org/ws/2004/09/mex"
                    xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
              <wsx:MetadataSection Dialect="http://schemas.xmlsoap.org/wsdl/"
                                   Identifier="urn:test" xmlns="">
                  <definitions
                          name="HelloTest"
                          targetNamespace="urn:test"
                          xmlns="http://schemas.xmlsoap.org/wsdl/"
                          xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                          xmlns:types="urn:test:types"
                          xmlns:tns="urn:test">
  
                      <types>
                          <xsd:schema
                                  targetNamespace="urn:test:types"
                                  attributeFormDefault="qualified"
                                  elementFormDefault="qualified">
  
                              <xsd:element name="Hello">
                                  <xsd:complexType>
                                      <xsd:sequence>
                                          <xsd:element name="argument" type="xsd:string"/>
                                          <xsd:element name="extra" type="xsd:string"/>
                                      </xsd:sequence>
                                  </xsd:complexType>
                              </xsd:element>
  
                              <xsd:complexType name="HelloType">
                                  <xsd:sequence>
                                      <xsd:element name="argument" type="xsd:string"/>
                                      <xsd:element name="extra" type="xsd:string"/>
                                  </xsd:sequence>
                              </xsd:complexType>
  
                              <xsd:element name="HelloResponse">
                                  <xsd:complexType>
                                      <xsd:sequence>
                                          <xsd:sequence>
                                              <xsd:element name="name" type="xsd:string"/>
                                          </xsd:sequence>
                                          <xsd:element name="argument" type="xsd:string"/>
                                          <xsd:element name="extra" type="xsd:string"/>
                                      </xsd:sequence>
                                  </xsd:complexType>
                              </xsd:element>
  
  
                              <xsd:element name="VoidTest" type="types:VoidType" nillable="true"/>
  
                              <xsd:complexType name="VoidType">
                                  <xsd:sequence>
                                  </xsd:sequence>
                              </xsd:complexType>
  
                              <xsd:element name="VoidTestResponse" type="types:VoidType" nillable="true"/>
  
                              <xsd:element name="echoArray" type="types:nameType"/>
                              <xsd:element name="echoArray1" type="types:nameType"/>
                              <xsd:element name="echoArray2" type="types:nameType"/>
                              <xsd:element name="echoArray3" type="types:nameType"/>
                              <xsd:element name="detail" type="xsd:string"/>
                              <xsd:element name="echoArray4Body" type="types:nameType1"/>
  
  
                              <xsd:element name="echoArrayResponse" type="types:nameType"/>
                              <xsd:complexType name="nameType">
                                  <xsd:sequence>
                                      <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
                                  </xsd:sequence>
                              </xsd:complexType>
  
                              <xsd:complexType name="nameType1">
                                  <xsd:sequence>
                                      <xsd:element name="name" type="types:HelloType" minOccurs="0"
                                                   maxOccurs="unbounded"/>
                                  </xsd:sequence>
                              </xsd:complexType>
                              <xsd:element name="oneway" type="xsd:string"/>
  
                          </xsd:schema>
                      </types>
  
                      <message name="HelloRequest">
                          <part name="parameters" element="types:Hello"/>
                          <part name="parameters1" element="types:Hello"/>
                      </message>
  
                      <message name="HelloResponse">
                          <part name="parameters" element="types:HelloResponse"/>
                          <part name="parameters2" element="types:Hello"/>
                      </message>
  
                      <message name="MarshallTest_voidTest">
                          <part name="parameters" element="types:VoidTest"/>
                      </message>
  
                      <message name="MarshallTest_voidTestResponse">
                          <part name="result" element="types:VoidTestResponse"/>
                      </message>
  
                      <message name="echoArrayRequest">
                          <part name="body" element="types:echoArray"/>
                      </message>
  
                      <message name="echoArrayResponse">
                          <part name="body" element="types:echoArray"/>
                      </message>
  
                      <message name="echoArrayRequest1">
                          <part name="body" element="types:echoArray1"/>
                      </message>
  
                      <message name="echoArrayResponse1">
                          <part name="body" element="types:echoArray1"/>
                      </message>
  
                      <message name="echoArrayRequest2">
                          <part name="body" element="types:echoArray2"/>
                      </message>
  
                      <message name="echoArrayResponse2">
                          <part name="body" element="types:echoArray2"/>
                      </message>
  
                      <message name="echoArrayRequest3">
                          <part name="body" element="types:echoArray3"/>
                      </message>
  
                      <message name="echoArrayResponse3">
                          <part name="body" element="types:echoArray3"/>
                      </message>
  
                      <message name="echoArrayRequest4">
                          <part name="request" element="types:echoArray4Body"/>
                      </message>
  
                      <message name="echoArrayResponse4">
                          <part name="response" element="types:echoArray4Body"/>
                      </message>
  
                      <message name="HelloException">
                          <part name="detail" element="types:detail"/>
                      </message>
  
                      <message name="onewayrequest">
                          <part name="rqequest" element="types:oneway"/>
                      </message>
  
                      <portType name="Hello">
                          <operation name="oneway">
                              <input message="tns:onewayrequest"/>
                          </operation>
  
                          <operation name="hello">
                              <input message="tns:HelloRequest"/>
                              <output message="tns:HelloResponse"/>
                              <fault name="helloFault" message="tns:HelloException"/>
                          </operation>
  
                          <!-- this is a regression test for bug 4823861 -->
                          <operation name="voidTest">
                              <input name="voidInput" message="tns:MarshallTest_voidTest"/>
                              <output name="voidOutput" message="tns:MarshallTest_voidTestResponse"/>
                          </operation>
  
  
                          <operation name="echoArray">
                              <input message="tns:echoArrayRequest"/>
                              <output message="tns:echoArrayResponse"/>
                          </operation>
                          <!--
                              <operation name="echoArray1">
                                <input message="tns:echoArrayRequest1"/>
                                <output message="tns:echoArrayResponse1"/>
                              </operation>
                          -->
                          <operation name="echoArray2">
                              <input message="tns:echoArrayRequest2"/>
                              <output message="tns:echoArrayResponse2"/>
                          </operation>
  
                          <operation name="echoArray3">
                              <input message="tns:echoArrayRequest3"/>
                              <output message="tns:echoArrayResponse3"/>
                          </operation>
  
                          <operation name="echoArray4">
                              <input message="tns:echoArrayRequest4"/>
                              <output message="tns:echoArrayResponse4"/>
                          </operation>
                      </portType>
  
                      <binding name="HelloBinding" type="tns:Hello">
                          <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
                          <operation name="oneway">
                              <soap:operation soapAction="urn:test:hello"/>
                              <input>
                                  <soap:body use="literal"/>
                              </input>
                          </operation>
  
                          <operation name="hello">
                              <soap:operation soapAction="urn:test:hello"/>
                              <input>
                                  <soap:body parts="parameters1" use="literal"/>
                              </input>
                              <output>
                                  <soap:body use="literal"/>
                              </output>
                              <fault name="helloFault">
                                  <soap:fault name="helloFault" use="literal"/>
                              </fault>
                          </operation>
                          <operation name="voidTest">
                              <input>
                                  <soap:body use="literal"/>
                              </input>
                              <output>
                                  <soap:body use="literal"/>
                              </output>
                              <soap:operation soapAction=""/>
                          </operation>
  
                          <operation name="echoArray">
                              <soap:operation soapAction="urn:test:hello"/>
                              <input>
                                  <soap:body use="literal"/>
                              </input>
                              <output>
                                  <soap:body parts="" use="literal"/>
                              </output>
                          </operation>
                          <operation name="echoArray2">
                              <soap:operation soapAction="urn:test:hello"/>
                              <input>
                                  <soap:body parts="" use="literal"/>
                                  <soap:header message="tns:echoArrayRequest2" part="body" use="literal"/>
                              </input>
                              <output>
                                  <soap:body parts="" use="literal"/>
                                  <soap:header message="tns:echoArrayResponse2" part="body" use="literal"/>
                              </output>
                          </operation>
  
                          <operation name="echoArray3">
                              <soap:operation soapAction="urn:test:hello"/>
                              <input>
                                  <soap:body/>
                              </input>
                              <output>
                                  <soap:body/>
                              </output>
                          </operation>
  
                          <operation name="echoArray4">
                              <soap:operation soapAction="urn:test:hello"/>
                              <input>
                                  <soap:body/>
                              </input>
                              <output>
                                  <soap:body/>
                              </output>
                          </operation>
  
                      </binding>
  
                      <service name="Hello">
                          <port name="HelloPort" binding="tns:HelloBinding">
                              <soap:address location="http://test.org/hello"/>
                          </port>
                      </service>
                  </definitions>
              </wsx:MetadataSection>
          </Metadata>
      </s:Body>
  </s:Envelope>
  
  