Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-793

endpoint address rewriting for user supplied wsdl

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.0.1
    • 2.0.4
    • JAX-WS Runtime
    • None

    Description

      If a user supplied WSDL is specified with the wsdlLocationAttribute, the SOAP endpoint address should be rewritten if the WSDL is queried with a "?wsdl"-request. The location attribute should be rewritten to the value of the current HTTP Request (the "?wsdl" request).

      Here is my spring configuration file:

      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:jaxws="http://cxf.apache.org/jaxws"
      xsi:schemaLocation="
      http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
      http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">

      <import resource="classpath:META-INF/cxf/cxf.xml"/>
      <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
      <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>

      <jaxws:endpoint id="myservice"
      implementor="test.MyServiceImpl"
      address="/MyService"
      wsdlLocation="META-INF/cxf/MyService.wsdl"/>

      </beans>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            germm Matthias Germann
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment