[
https://issues.apache.org/jira/browse/CXF-5792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026726#comment-14026726
]
Daniel Kulp commented on CXF-5792:
----------------------------------
Can you take a look at what I just committed to master?
I pretty much grabbed most of the changes to WSDLGetUtils. That was more or
less fine. However, instead of providing a way to inject a WSDLGetUtils into
the interceptor, I just had the interceptor grab it via a contextual property
using the classname as the key. Thus, you should be able to provide a
completely custom subclass or similar as a property configured on the endpoint,
bus, etc....
Can you please take a look and see if that would work for you? Thanks!
> 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
> Assignee: Daniel Kulp
> Attachments: jbossws.patch
>
>
> 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)