|
Hi, Sanka This does not work. My original wsdl is like this <wsdl:definitions > ... <wsdl:binding name="programport_binding" type="tns:programwsPortType"> ... </wsdl:definition> My service.xml is like this <serviceGroup> <service name="programws"> <module ref="rampart" /> ... <parameter name="useOriginalwsdl">false</parameter> <parameter name="modifyUserWSDLPortAddress">true</parameter> <wsp:PolicyAttachment xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:AppliesTo> <policy-subject identifier="binding:programport_binding" /> <!-- policy-subject identifier="binding:soap12" / --> </wsp:AppliesTo> <wsp:Policy wsu:Id="UToverHTTP" ...> </wsp:PolicyAttachment> ... </serviceGroup> The generated wsdl does not have policy element at all. thanks -jason Sanka Samaranayake wrote: If you want to attach a policy to a particular binding you should do that in the services.xml as follows. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
- axis2 1.4 incorrect wsdl with policy jason zhang
- Re: axis2 1.4 incorrect wsdl with policy Sanka Samaranayake
- Re: axis2 1.4 incorrect wsdl with policy jason zhang
- Re: axis2 1.4 incorrect wsdl with policy jason zhang
