On Thu, Jul 17, 2008 at 1:23 PM, Detelin Yordanov <[EMAIL PROTECTED]> wrote:
> Hi, > I posted this on the users mailing list, but since I got no reply I > decided to post it here too. > > 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 the > generateHttpBinding(..) - the method lacks a call to > addPolicyAsExtElement(..) as in the generateSoap11Binding(..) > and generateSoap12Binding(..) methods. > > Is this behaviour intentional or a bug? > I think it is bug which we need to fix. Please log a JIRA. Thanks, Sanka > > As a result from this, if users deploy a service with a WSDL containing > policy references only at wsdl:service and/or wsdl:binding (http), when they > request the wsdl (using ?wsdl) > the returned WSDL does not contain any policy references. > -- Sanka Samaranayake WSO2 Inc. http://sankas.blogspot.com/ http://www.wso2.org/
