[ https://issues.apache.org/jira/browse/AXIS2-3930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618331#action_12618331 ]
Nandana Mihindukulasooriya commented on AXIS2-3930: --------------------------------------------------- If we map to Axis2 policy subjects to WS-Policy Attachment policy subjects , I think the mapping would be like AxisService -> Endpoint Policy Subject AxisOperation -> Operation Policy Subject AxisMessage -> Message Policy Subject AxisBinding -> Endpoint Policy Subject AxisBindingOperation -> Operation Policy Subject AxisBindingMessage -> Message Policy Subject So IMHO, there is no policy subject in the Axis2 description heirachy that maps to Service Policy Subject. It won't be much of a problem anyway because most of the time policies are most meaning full in the binding and both security and RM suggests to have policies at the binding. And I think not serializing at the HTTP Binding was intentional, as it doesn't make much sense to have policies which most of the time deals with QoS stuff in the HTTP Binding. But it seems serializing policies if HTTP Binding has policies also has no harm. But I don't think this is something critical which should be fixed in 1.4.1. > Missing policy reference serialization in AxisService2WSDL11 > ------------------------------------------------------------ > > Key: AXIS2-3930 > URL: https://issues.apache.org/jira/browse/AXIS2-3930 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.4 > Reporter: Detelin Yordanov > Assignee: Sanka Samaranayake > Fix For: 1.4.1 > > > Hi, > I noticed that the generateService(..) method does not add any policy > components present at the service policy subject. > The problem seems to be that it still uses the deprecated PolicyInclude > (which is not populated), instead of the PolicySubject. > There is another missing policy serialization in generateHttpBinding(..) - > the method lacks a call to addPolicyAsExtElement(..) as in the > generateSoap11Binding(..) and generateSoap12Binding(..) methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]