title: SOAPUI - missing message part with name - schema compliance error
body: <p>Here is the wsdl file with the schema inline. I have the actual wsdl file being called locally aka localhost/wsdl/.</p>
  
  <pre><code>&lt;wsdl:definitions xmlns="http://soap.company.com/fetch_n_pay"
                    xmlns:tns="http://soap.company.com/fetch_n_pay"
                    xmlns:s="http://www.w3.org/2001/XMLSchema"
                    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                    targetNamespace="http://soap.company.com/fetch_n_pay"&gt;
    &lt;wsdl:types&gt;
      &lt;s:schema elementFormDefault="qualified" targetNamespace="http://soap.company.com/fetch_n_pay"&gt;
        &lt;s:complexType name="fetchBookingDetailsRequType"&gt;
          &lt;s:all&gt;
            &lt;s:element name="version" type="s:string"/&gt;
            &lt;s:element name="timestamp" type="s:dateTime"/&gt;
            &lt;s:element name="siteUrl" type="s:string"/&gt;
            &lt;s:element name="confirmationCode" type="s:string"/&gt;
            &lt;s:element name="vendorCode" type="s:string"/&gt;
          &lt;/s:all&gt;
        &lt;/s:complexType&gt;
        &lt;s:complexType name="fetchBookingDetailsRespType"&gt;
          &lt;s:all&gt;
            &lt;s:element name="version" type="s:string"/&gt;
            &lt;s:element name="timestamp" type="s:dateTime"/&gt;
            &lt;s:element name="isSuccess" type="s:boolean"/&gt;
            &lt;s:element name="responseCode" type="s:int"/&gt;
            &lt;s:element name="errorMessage" type="s:string"/&gt;
            &lt;s:element name="sailingDate" type="s:date"/&gt;
            &lt;s:element name="sailingName" type="s:string"/&gt;
            &lt;s:element name="cruiselineName" type="s:string"/&gt;
            &lt;s:element name="cruiselineId" type="s:string"/&gt;
            &lt;s:element name="cabinNumber" type="s:string"/&gt;
            &lt;s:element name="roomType" type="s:string"/&gt;
            &lt;s:element name="shipName" type="s:string"/&gt;
            &lt;s:element name="departingFrom" type="s:string"/&gt;
            &lt;s:element name="returnDate" type="s:date"/&gt;
            &lt;s:element name="numberOfAdults" type="s:int"/&gt;
            &lt;s:element name="numberOfChildren" type="s:int"/&gt;
            &lt;s:element name="numberOfSeniors" type="s:int"/&gt;
            &lt;s:element name="numberOfInfants" type="s:int"/&gt;
            &lt;s:element name="confirmationNumber" type="s:string"/&gt;
            &lt;s:element name="balanceDueDate" type="s:dateTime"/&gt;
            &lt;s:element name="depositDueDate" type="s:dateTime"/&gt;
            &lt;s:element name="depositCollectedByCruiseline" type="s:boolean"/&gt;
            &lt;s:element name="wasBookedSuccess" type="s:boolean"/&gt;
            &lt;s:element name="shipImageUrl" type="s:string"/&gt;
            &lt;s:element name="isCancelled" type="s:boolean"/&gt;
            &lt;s:element name="insuranceAmount" type="s:double"/&gt;
            &lt;s:element name="customerTitle" type="s:string"/&gt;
            &lt;s:element name="customerFirstName" type="s:string"/&gt;
            &lt;s:element name="customerLastName" type="s:string"/&gt;
            &lt;s:element name="customerPhone" type="s:string"/&gt;
            &lt;s:element name="customerEmail" type="s:string"/&gt;
          &lt;/s:all&gt;
        &lt;/s:complexType&gt;
        &lt;s:element name="fetchBookingDetailsRequElement" type="tns:fetchBookingDetailsRequType" /&gt;
        &lt;s:element name="fetchBookingDetailsRespElement" type="tns:fetchBookingDetailsRespType" /&gt;
      &lt;/s:schema&gt;
    &lt;/wsdl:types&gt;
  
    &lt;wsdl:message name="fetchBookingDetailsSoapIn"&gt;
      &lt;wsdl:part name="banana1" element="tns:fetchBookingDetailsRequElement"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="fetchBookingDetailsSoapOut"&gt;
      &lt;wsdl:part name="banana2" element="tns:fetchBookingDetailsRespElement"/&gt;
    &lt;/wsdl:message&gt;
  
  
    &lt;wsdl:portType name="FetchAndPaySoap"&gt;
      &lt;wsdl:operation name="fetchBookingDetails"&gt;
        &lt;wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
          Gets Information for booking.
        &lt;/wsdl:documentation&gt;
        &lt;wsdl:input message="tns:fetchBookingDetailsSoapIn"/&gt;
        &lt;wsdl:output message="tns:fetchBookingDetailsSoapOut"/&gt;
      &lt;/wsdl:operation&gt;
    &lt;/wsdl:portType&gt;
  
    &lt;wsdl:binding name="FetchAndPaySoap" type="tns:FetchAndPaySoap"&gt;
      &lt;soap:binding transport="http://schemas.xmlsoap.org/soap/http"/&gt;
      &lt;wsdl:operation name="fetchBookingDetails"&gt;
        &lt;soap:operation soapAction="http://soap.company.com/fetchBookingDetails" style="document"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
    &lt;/wsdl:binding&gt;
  
    &lt;wsdl:service name="FetchAndPay"&gt;
      &lt;wsdl:port name="FetchAndPaySoap" binding="tns:FetchAndPaySoap"&gt;
        &lt;soap:address location="localhost/wsdl/"/&gt;
      &lt;/wsdl:port&gt;
    &lt;/wsdl:service&gt;
  &lt;/wsdl:definitions&gt;
  </code></pre>
  
  <p>1) For some reason the request soap is adding in "fet:" namespace</p>
  
  <pre><code>&lt;soapenv:Envelope 
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:fet="http://soap.company.com/fetch_n_pay"&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
    &lt;fet:fetchBookingDetailsRequElement&gt;
       &lt;!--You may enter the following 5 items in any order--&gt;
       &lt;fet:version&gt;?&lt;/fet:version&gt;
       &lt;fet:timestamp&gt;?&lt;/fet:timestamp&gt;
       &lt;fet:siteUrl&gt;?&lt;/fet:siteUrl&gt;
       &lt;fet:confirmationCode&gt;?&lt;/fet:confirmationCode&gt;
       &lt;fet:vendorCode&gt;?&lt;/fet:vendorCode&gt;
    &lt;/fet:fetchBookingDetailsRequElement&gt;
  &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>2) The SOAP Response is valid but the schema Compliance failed. This is the error: </p>
  
  <ul>
  <li>SOAP Response - VALID</li>
  <li><strong>Schema Compliance - FAILED</strong>
  -> line -1: <strong>Missing message part with name</strong> [{<a href="http://soap.company.com/fetch_n_pay" rel="nofollow">http://soap.company.com/fetch_n_pay</a>}fetchBookingDetailsRespElement]</li>
  </ul>
  
  <p>Here is the response:</p>
  
  <pre><code>&lt;SOAP-ENV:Envelope 
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
  &lt;SOAP-ENV:Body&gt;
    &lt;fetchBookingDetailsResponse
    xmlns="http://soap.company.com/fetch_n_pay"&gt;
       &lt;version&gt;0.1.0&lt;/version&gt;
       &lt;timestamp&gt;2015-06-18T13:37:08-04:00&lt;/timestamp&gt;
       &lt;isSuccess&gt;false&lt;/isSuccess&gt;
       &lt;responseCode&gt;47&lt;/responseCode&gt;
       &lt;errorMessage&gt;No results were found.&lt;/errorMessage&gt;
    &lt;/fetchBookingDetailsResponse&gt;
  &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p><strong>Im trying to be Schema Compliant so that this can be parsed.</strong></p>
  
  <p>Anything would be greatly appreciated. Thank you!</p>