Hi there,

I'm trying to add support for WS-Policy and I'm getting a rather
strange behavior. I added the following to one of my two services :

@Policy(uri = "policies/modalitiesSearch.xml", placement =
Policy.Placement.BINDING, includeInWSDL = true)

When I check the generate WSDL, I see *two* wsp:Policy elements with
the same id (ModalitiesSearchImplServiceSoapBindingBindingPolicy) and
*two* <wsp:PolicyReference elements within the binding element again
refering to the same URI.

I strange thing is that when I comment out the other webservice (which
has no associated policies), the generated wsdl is normal (only one
policy declaration).

Any ideas?

Thanks

Anthony

Reply via email to