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 "Kent Tong (JIRA)" <ji...@apache.org> on 2007/12/15 05:04:44 UTC

[jira] Created: (RAMPART-124) /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified

/sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified
----------------------------------------------------------------------------------

                 Key: RAMPART-124
                 URL: https://issues.apache.org/jira/browse/RAMPART-124
             Project: Rampart
          Issue Type: Bug
          Components: rampart-policy
    Affects Versions: 1.3
            Reporter: Kent Tong
             Fix For: 1.3


For the assertion below:

<sp:SignedParts>
	<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
</sp:SignedParts>

It will sign no elements (even though <wsa:To> and etc are present). The cause may be that the generated code 
in the client stub sets the Name attribute to an empty string when it should have been left out:

....setPolicy(getPolicy("...<sp:Header Name=\"\" Namespace=\"http://www.w3.org/2005/08/addressing\" />..."));



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


[jira] Resolved: (RAMPART-124) /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified

Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAMPART-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nandana Mihindukulasooriya resolved RAMPART-124.
------------------------------------------------

    Resolution: Fixed

Fixed in the trunk.

> /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified
> ----------------------------------------------------------------------------------
>
>                 Key: RAMPART-124
>                 URL: https://issues.apache.org/jira/browse/RAMPART-124
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-policy
>    Affects Versions: 1.3
>            Reporter: Kent Tong
>            Assignee: Nandana Mihindukulasooriya
>             Fix For: 1.3
>
>
> For the assertion below:
> <sp:SignedParts>
> 	<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
> </sp:SignedParts>
> It will sign no elements (even though <wsa:To> and etc are present). The cause may be that the generated code 
> in the client stub sets the Name attribute to an empty string when it should have been left out:
> ....setPolicy(getPolicy("...<sp:Header Name=\"\" Namespace=\"http://www.w3.org/2005/08/addressing\" />..."));

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


[jira] Commented: (RAMPART-124) /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified

Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAMPART-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559831#action_12559831 ] 

Nandana Mihindukulasooriya commented on RAMPART-124:
----------------------------------------------------

I tried this scenario in revision 612732 and works fine for me. I generated client code using codegen tool and the policy was correctly serialized. Can you check with the latest revision ? 

> /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified
> ----------------------------------------------------------------------------------
>
>                 Key: RAMPART-124
>                 URL: https://issues.apache.org/jira/browse/RAMPART-124
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-policy
>    Affects Versions: 1.3
>            Reporter: Kent Tong
>            Assignee: Nandana Mihindukulasooriya
>             Fix For: 1.3
>
>
> For the assertion below:
> <sp:SignedParts>
> 	<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
> </sp:SignedParts>
> It will sign no elements (even though <wsa:To> and etc are present). The cause may be that the generated code 
> in the client stub sets the Name attribute to an empty string when it should have been left out:
> ....setPolicy(getPolicy("...<sp:Header Name=\"\" Namespace=\"http://www.w3.org/2005/08/addressing\" />..."));

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


[jira] Updated: (RAMPART-124) /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified

Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAMPART-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nandana Mihindukulasooriya updated RAMPART-124:
-----------------------------------------------

    Fix Version/s:     (was: 1.3)
                   1.4

Set Fix version to 1.4. 

> /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified
> ----------------------------------------------------------------------------------
>
>                 Key: RAMPART-124
>                 URL: https://issues.apache.org/jira/browse/RAMPART-124
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-policy
>    Affects Versions: 1.3
>            Reporter: Kent Tong
>            Assignee: Nandana Mihindukulasooriya
>             Fix For: 1.4
>
>
> For the assertion below:
> <sp:SignedParts>
> 	<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
> </sp:SignedParts>
> It will sign no elements (even though <wsa:To> and etc are present). The cause may be that the generated code 
> in the client stub sets the Name attribute to an empty string when it should have been left out:
> ....setPolicy(getPolicy("...<sp:Header Name=\"\" Namespace=\"http://www.w3.org/2005/08/addressing\" />..."));

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


[jira] Assigned: (RAMPART-124) /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified

Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAMPART-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nandana Mihindukulasooriya reassigned RAMPART-124:
--------------------------------------------------

    Assignee: Nandana Mihindukulasooriya

> /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified
> ----------------------------------------------------------------------------------
>
>                 Key: RAMPART-124
>                 URL: https://issues.apache.org/jira/browse/RAMPART-124
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-policy
>    Affects Versions: 1.3
>            Reporter: Kent Tong
>            Assignee: Nandana Mihindukulasooriya
>             Fix For: 1.3
>
>
> For the assertion below:
> <sp:SignedParts>
> 	<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
> </sp:SignedParts>
> It will sign no elements (even though <wsa:To> and etc are present). The cause may be that the generated code 
> in the client stub sets the Name attribute to an empty string when it should have been left out:
> ....setPolicy(getPolicy("...<sp:Header Name=\"\" Namespace=\"http://www.w3.org/2005/08/addressing\" />..."));

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