Wrong SoapFault code accessing a Secure endpoint without security 
------------------------------------------------------------------

                 Key: RAMPART-166
                 URL: https://issues.apache.org/jira/browse/RAMPART-166
             Project: Rampart
          Issue Type: Bug
          Components: rampart-core
    Affects Versions: 1.4
         Environment: Axis2 1.4. Rampart branch_1_4.

            Reporter: Hans G Knudsen
            Assignee: Ruchith Udayanga Fernando


Hi!

If I send a request without Security to an Axis2/Rampart endpoint requiring 
Security the Fault Code is set to 'Receiver' :

                <soapenv:Fault>
                        <soapenv:Code>
                                <soapenv:Value>soapenv:Receiver</soapenv:Value>
                                <soapenv:Subcode>
                                        <soapenv:Value 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>wsse:InvalidSecurity</soapenv:Value>
                                </soapenv:Subcode>
                        </soapenv:Code>
                        <soapenv:Reason>
                                <soapenv:Text xml:lang="en-US">Missing 
wsse:Security header in request</soapenv:Text>
                        </soapenv:Reason>
                </soapenv:Fault>



Is Rampart not expected to return 'Sender'  - to indicate that the client is 
not configured correctly ?

/hans


-- 
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