Hi there,

since I upgraded from Axis2 1.1.1 and Rampart 1.1 to Axis2 1.2 and Rampart 
1.2 my service is unable to build the response message.
We are doing some simple WS-Trust stuff without using Rahas, but this 
shouldn't affect Rampart... 

I debugged Axis2 and saw that happens when Axis builds the Outflow 
Elements for Rampart (Axis2Util:112).
Is this a Rampart bug? Should I open a JIRA entry for this?
To get more input, see the messages below or ask me for any details. 
Thanks in advance!

Michael Pollmeier

Request:
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:oas="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
 
xmlns:trus="http://schemas.xmlsoap.org/ws/2005/02/trust";> 
   <!-- SOAP 1.1 Call - see global namespace --> 
      <Header> 
         <oas:Security> 
            <oas:UsernameToken> 
               <oas:Username>Ophelos</oas:Username> 
               <oas:Password 
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>Secret</oas:Password>
 
 
            </oas:UsernameToken> 
         </oas:Security> 
      </Header> 
      <Body> 
         <trus:RequestSecurityToken> 
 
<trus:TokenType>http://schemas.xmlsoap.org/ws/2005/02/sc/sct</trus:TokenType> 
 
 
<trus:RequestType>http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</trus:RequestType>
 
 
         </trus:RequestSecurityToken> 
      </Body>
   </Envelope>


Response without Rampart:
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
      <soapenv:Body>
         <ns6:RequestSecurityTokenResponse 
xmlns:ns6="http://schemas.xmlsoap.org/ws/2005/02/trust"; 
Context="http://schemas.xmlsoap.org/ws/2005/02/trust/Issue";>
            <testLocalPart />
45

         </ns6:RequestSecurityTokenResponse>
      </soapenv:Body>
   </soapenv:Envelope>


Response with Rampart:
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
      <soapenv:Body>
         <soapenv:Fault>
            <faultcode>soapenv:Client</faultcode>
            <faultstring>Error in extracting message 
properties</faultstring>
            <detail />
         </soapenv:Fault>
      </soapenv:Body>
   </soapenv:Envelope>



Reply via email to