[
https://issues.apache.org/jira/browse/CXF-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
willem Jiang reassigned CXF-535:
--------------------------------
Assignee: willem Jiang
> Service Listing at root of CXF servlet contains usless '/' in the return urls
> -----------------------------------------------------------------------------
>
> Key: CXF-535
> URL: https://issues.apache.org/jira/browse/CXF-535
> Project: CXF
> Issue Type: Bug
> Components: Transports
> Affects Versions: 2.0-RC
> Reporter: willem Jiang
> Assigned To: willem Jiang
> Fix For: 2.0-RC
>
>
> If I go to the root mapping of my CXF servlet (in my case,
> http://localhost:8080/myapp/services/), it lists my deployed services.
> The links however, are broken. Instead of:
> http://localhost:8080/myapp/services/MyService?wsdl
> it is:
> http://localhost:8080/myapp/services//MyService?wsdl
> My web.xml file contains:
> <servlet>
> <servlet-name>CXFServlet</servlet-name>
> <servlet-class>
> org.apache.cxf.transport.servlet.CXFServlet
> </servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>CXFServlet</servlet-name>
> <url-pattern>/services/*</url-pattern>
> </servlet-mapping>
> And my spring-config file contains:
> <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="myWebServiceEndpoint"
> implementor="myWebService"
> address="/services/MyService"
> wsdlLocation="myservice.wsdl">
> <jaxws:inInterceptors>
> <bean class="org.apache.cxf.interceptor.LoggingInInterceptor" />
> </jaxws:inInterceptors>
> <jaxws:outInterceptors>
> <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor" />
> </jaxws:outInterceptors>
> </jaxws:endpoint>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.