Thanks for the reply James, maybe my understanding of this is incorrect, but
I had hoped that by defining policy assertions for my endpoint
(<jaxws:endpoint) that these would be inserted into the served out wsld.
The example seems to deal with a wsdl with the assertions already embedded,
and these are picked up by the endpoint definition as they reference the
service - i.e. from org.apache.hello_world_soap_http.SOAPService there is
url = new
URL("file:/C:/temp/apache-cxf-2.0.2-incubator/samples/ws_policy/wsdl/hello_world_addr_policy.wsdl");
Is my understanding of this correct?
What I would like is a more configuration way to add/remove policy
assertions, for my endpoint.
Thanks
James Mao wrote:
>
> I've not been an expert on ws-*, but i just look at the samples in the
> cxf distribution, we do have a sample of ws-policy
> And we have doc on http://cwiki.apache.org/CXF20DOC/ws-support.html
>
> Don't know if it's sufficient
>
> James
>
>> Is there a way to configure WSPolicy in the jaxws definition of a service
>> in
>> the same way as WS-Reliable Messaging?
>>
>> i.e. is it possible to have something like this:
>>
>> <jaxws:features>
>> <wsa:addressing />
>> <p:policies>
>> <wsp:Policy>
>> <wsam:Addressing
>> xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata">
>> <wsp:Policy />
>> </wsam:Addressing>
>> </wsp:Policy>
>> </p:policies>
>> </jaxws:features>
>>
>> Are there any examples of this?
>>
>> Thanks
>>
>
>
--
View this message in context:
http://www.nabble.com/JAXWS---WS-Policy-tf4773036.html#a13666396
Sent from the cxf-user mailing list archive at Nabble.com.