You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Dimuthu Leelarathne (JIRA)" <ji...@apache.org> on 2008/05/16 09:58:55 UTC

[jira] Commented: (RAMPART-166) Wrong SoapFault code accessing a Secure endpoint without security

    [ https://issues.apache.org/jira/browse/RAMPART-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597375#action_12597375 ] 

Dimuthu Leelarathne commented on RAMPART-166:
---------------------------------------------

After fixing Axis2-3803 create the AxisFault at RampartReciever's setFaultCodeAndThrowAxisFault method.

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