public class PolicyWSDLGetInterceptor
extends org.apache.cxf.frontend.WSDLGetInterceptor
Constructor and Description |
---|
PolicyWSDLGetInterceptor(PolicyLoader loader) |
Modifier and Type | Method and Description |
---|---|
static Document |
addPolicyToWSDL(Document wsdlDoc,
Document policyDoc)
Adds the specified policy into the WSDL document.
|
void |
handleMessage(org.apache.cxf.message.Message message) |
public PolicyWSDLGetInterceptor(PolicyLoader loader)
public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
handleMessage
in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
handleMessage
in class org.apache.cxf.frontend.WSDLGetInterceptor
org.apache.cxf.interceptor.Fault
public static Document addPolicyToWSDL(Document wsdlDoc, Document policyDoc)
wsdlDoc
- WDSL file without the policy addedpolicyDoc
- Policy to add to the WSDL.This work is licensed under a Creative Commons Attribution 4.0 International License.