You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Rebecca Searls (JIRA)" <ji...@apache.org> on 2014/06/09 17:22:01 UTC

[jira] [Created] (CXF-5792) WSDLGetUtils Customization

Rebecca Searls created CXF-5792:
-----------------------------------

             Summary: WSDLGetUtils Customization
                 Key: CXF-5792
                 URL: https://issues.apache.org/jira/browse/CXF-5792
             Project: CXF
          Issue Type: New Feature
          Components: Simple Frontend
            Reporter: Rebecca Searls


JbossWS requests the ability to customize the published URL of the soap:address
location written to the wsdl file.

We propose doing this by replacing the existing WSDLGetUtils in WSDLGetInterceptor
in the following manner.

    for (Endpoint ep : getService().getEndpoints().values()) {
      final List<Interceptor<? extends Message>> inList = ep.getInInterceptors();
        for (Interceptor<? extends Message> in : inList) {
          if (in instanceof WSDLGetInterceptor) {
            ((WSDLGetInterceptor)in).setWsdlGetUtil(new WSDLSoapAddressRewriteUtils());                  
          }
        }
    }




--
This message was sent by Atlassian JIRA
(v6.2#6252)