You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Allard Buijze (JIRA)" <ji...@apache.org> on 2007/09/21 15:46:50 UTC

[jira] Commented: (CXF-793) endpoint address rewriting for user supplied wsdl

    [ https://issues.apache.org/jira/browse/CXF-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529422 ] 

Allard Buijze commented on CXF-793:
-----------------------------------

Hi,

I've bumped into this issue too, but I have a single jaxws:endpoint. The wsdl is located on my classpath.

For some reason, the endpoint address is not rewritten. Does the endpoint address of the WSDL have to have a specific value to be rewritten?

Any direction or maybe resolution of this issue would greatly help!

Regards,

Allard Buijze

> endpoint address rewriting for user supplied wsdl
> -------------------------------------------------
>
>                 Key: CXF-793
>                 URL: https://issues.apache.org/jira/browse/CXF-793
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0
>            Reporter: Matthias Germann
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.