Alessio Soldano created CXF-4674:
------------------------------------

             Summary: Early consume publishedEndpointUrl property
                 Key: CXF-4674
                 URL: https://issues.apache.org/jira/browse/CXF-4674
             Project: CXF
          Issue Type: Improvement
          Components: JAX-WS Runtime, Simple Frontend
            Reporter: Alessio Soldano
            Assignee: Alessio Soldano
             Fix For: 2.7.1


The 'publishedEndpointUrl' property currently allows controlling the 
soap:address value to used in the published wsdl for each endpoint.
However, when deploying multiple contract-first endpoints in the same web app 
and sharing the same wsdl (e.g. multiple services, each having a single port 
corresponding to a different endpoint), the wsdl definition used for serving 
wsdl queries is rewritten multiple times before it's fully updated with the 
provided 'publishedEndpointUrl' properties.
The WSDL Definition object is properly shared among endpoints (thanks to the 
WSDLManager cache), however when serving a given endpoint wsdl query, the 
soap:address for that endpoint only is rewritten.
Please note, this is not about automatic address rewrite using the 
'autoRewriteSoapAddress' property, but about early consuming the info provided 
through 'publishedEndpointUrl' before ports depending on that are shown in a 
wsdl.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to