cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: configurability of published soap:address location on jaxws endpoints
Date Tue, 04 Dec 2007 06:34:51 GMT
Hi Chirstian,

I don't think you can do that , since CXFServletControl will use the 
endpoint address which get from the endpoint information to find the 
right destination, and this endpoint information will be used as the 
service address when CXF generate the WSDL for you.

I think if we can delegate the WSDL query to a static WSDL resovler 
handler , you can define the WSDL service address as what you want.

Christian Vest Hansen wrote:
> Hi,
> I'm trying to make it possible to configure the published soap:address
> location in the jaxws generated WSDLs.
> >From a spring point of view, I'm trying to make this:
> (beans.xml....)
>   <jaxws:endpoint id="publishedEndpointUrl"
>     implementor="#greeter"
>     address="http://localhost:8080/publishedEndpointUrl"
>     publishedEndpointUrl=""/>
> (....)
> Do this:
> (http://localhost:8080/publishedEndpointUrl?wsdl....)
>   <wsdl:service name="GreeterService">
>     <wsdl:port binding="tns:GreeterServiceSoapBinding" name="GreeterPort">
>       <soap:address location=""/>
>     </wsdl:port>
>   </wsdl:service>
> (....)
> Right now, I'm trying to wrap my head around how the WSDL is generated
> and how that is connected to the values in the EndpointImpl objects
> that the jaxws:endpoint xml generates.
> If you have any hints to that end, or other relevant information then
> it would be greatly appreciated - I haven't worked with the CXF source
> before and the docs on the wiki are still a bit sparse in this regard.
> Thanks!

View raw message