Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1878

refactor client.html used in cxf-wsdl-first

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.4, 3.3.2
    • samples
    • None

    Description

      currently the client.html used in cxf-wsdl-first will send out soap request like
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:tns="http://servicemix.apache.org/samples/wsdl-first/types">
      <env:Body>
      <tns:GetPerson>
      <tns:personId>world</tns:personId>
      </tns:GetPerson>
      </env:Body>
      </env:Envelope>

      this will cause tns namespace on Mac OSX, although SMXCOMP-600 already fix it, but I believe define the namespace in the element which use it should be a good practice, that's also the way cxf soap marshaller goes.
      So I'd like to change the soap request in client.html as
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
      >
      <env:Body>
      <tns:GetPerson xmlns:tns="http://servicemix.apache.org/samples/wsdl-first/types">
      <tns:personId>world</tns:personId>
      </tns:GetPerson>
      </env:Body>
      </env:Envelope>

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: