Hi,

I have to implement a WebService-Endpoint which uses a SecurityPolicy for
signing the Message.

I have enabled the PolicyEgine with Spring like this:

    <cxf:bus>
        <cxf:features>
            <cxf:logging/>
            <p:policies ignoreUnknownAssertions="true"/>
        </cxf:features>
    </cxf:bus>

But I don't know how to tell CXF how to use the Policy. The Policy is not in
the WSDL-File but in in extra policy.xml -File.

One other thing is, that there is no reference in any form to the Policy in
the WSDl-File. Is this correct? I don't create the WSDL.

My questions are:
 - How can I tell CXF to use the Policy?
 - Has the Policy from the policy.xml -File  to be referenced in the
WSDL-File?

Thanks for any help!

--Benjamin

Reply via email to