That is what I already tried. I end up with something like this. Some of the
namespaces are superfluous.


<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:a="http://www.w3.org/2005/08/addressing";
xmlns:epoll="http://schemas.microsoft.com/windows/pki/2009/01/enrollment/RSTRC";
xmlns:wsauth="http://schemas.xmlsoap.org/ws/2006/12/authorization";
xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512";
xmlns:wst14="http://docs.oasis-open.org/ws-sx/ws-trust/200802";
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";
xmlns:enroll="http://schemas.microsoft.com/windows/pki/2009/01/enrollment/RSTRC";
xmlns:mde="http://schemas.microsoft.com/windows/management/2012/01/enrollment";>
  <soap11:Header>
    <a:Action xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
soap11:mustUnderstand="1"
xsi:type="xs:string">http://schemas.microsoft.com/windows/pki/2009/01/enrollment/RSTRC/wstep</a:Action>
    <a:MessageID>...</a:MessageID>
    <a:To>http://www.w3.org/2005/08/addressing/anonymous</a:To>
    <a:RelatesTo>...</a:RelatesTo>
  </soap11:Header>
  <soap11:Body>
    <RequestSecurityTokenResponseCollection
xmlns="http://docs.oasis-open.org/ws-sx/ws-trust/200512";
xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
xmlns:ns3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:ns4="http://www.w3.org/2005/08/addressing";
xmlns:ns5="http://docs.oasis-open.org/ws-sx/ws-trust/200802";>
      <RequestSecurityTokenResponse>
       
<TokenType>http://schemas.microsoft.com/5.0.0.0/ConfigurationManager/Enrollment/DeviceEnrollmentToken</TokenType>
        <RequestedSecurityToken>
          <ns3:BinarySecurityToken ValueType="..."
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd#base64binary";..</ns3:BinarySecurityToken>
        </RequestedSecurityToken>
      </RequestSecurityTokenResponse>
    </RequestSecurityTokenResponseCollection>
  </soap11:Body>
</soap11:Envelope>

What I was hoping to get was that the internal namespaces are properly
prefixed, and the ns3 namespace should be wsse.





--
View this message in context: 
http://cxf.547215.n5.nabble.com/Namespace-prefixes-tp5782462p5782679.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to