refactor client.html used in cxf-wsdl-first
-------------------------------------------

                 Key: SM-1878
                 URL: https://issues.apache.org/activemq/browse/SM-1878
             Project: ServiceMix
          Issue Type: Improvement
          Components: samples
            Reporter: Freeman Fang
            Assignee: Freeman Fang
             Fix For: 3.2.4, 3.3.2


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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to