[ 
https://issues.apache.org/jira/browse/AXIS2-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688778#action_12688778
 ] 

Sagara Gunathunga  commented on AXIS2-4272:
-------------------------------------------

I just replied to you on Woden-dev list with a sample codes how you can do this 
using Woden, not sure whether you missed it , .BTW I like to mention following 
points .

1. AFAIK In Axis2 side you don't need to write any custom-serializer for this , 
you can use [1] method on PolicyUtil for this .You can get WS-Policy content as 
a DOM elements from Woden.

2. Woden already implemented some of the  WSDL extension define in [2] , for 
other WSDL extensions you need to implement some Woden interfaces according to  
your requirements. please refer [3] sample  to see how could do this for 
WS-Policy.



[1] 
-http://ws.apache.org/axis2/1_4_1/api/org/apache/axis2/util/PolicyUtil.html#getPolicyComponent(org.w3c.dom.Element)

[2] -http://www.w3.org/TR/wsdl20-adjuncts/

[3] - http://www.mediafire.com/?jndroymzcuw



> Service stub missing WS-Policy information when codegen with WSDL20.
> --------------------------------------------------------------------
>
>                 Key: AXIS2-4272
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4272
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>         Environment: jdk1.5 / ubuntu hardy
>            Reporter: Pradeep Fernando
>            Priority: Minor
>
> When codegen the service stub using WSDL20 the stub excludes any ws-policy 
> Information given in the WSDL.
> This is because the support is not yet implemented for WSDL20.(In the TODO 
> list).
> It works fine given a WSDL11.

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