cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse" <...@envoisolutions.com>
Subject Re: Overriding WSDL endpoint in code
Date Tue, 20 Feb 2007 18:02:30 GMT
I looked at the code, and I think this is being mapped properly now
internally, so it *should* work. :-)

- Dan

On 2/20/07, Shaw, Richard A <richard.shaw@atkinsglobal.com> wrote:
>
> I want to migrate from Celtix to CXF but when I last looked I couldn't
> work out how to override the WSDL endpoint address in my code.
>
> Is it possible to do this now ?
>
> My Celtix code looks like this -
>
>         // override the endpoint address in the wsdl file
>         // with the address from the configuration
>         Map<String, Object> requestContext = ((BindingProvider)
> messageHandlerService)
>                 .getRequestContext();
>         requestContext.put(
>                 BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
>                 config.getProperty(MESSAGE_HANDLER_ENDPOINT));
>
> Thanks
>
> Richard Shaw
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
> Richard Shaw
> Technical Design Authority - Information Solutions Consultancy
> Intelligent Transport Systems
>
> Atkins Highways and Transportation
> Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW
>
> Tel: +44 (0) 1372 756407
> Fax: +44 (0) 1372 740055
> Mob: 07740 817586
> E-mail: richard.shaw@atkinsglobal.com
>
> www.atkinsglobal.com/its
>
>
>
> This email and any attached files are confidential and copyright
> protected. If you are not the addressee, any dissemination of this
> communication is strictly prohibited. Unless otherwise expressly agreed in
> writing, nothing stated in this communication shall be legally binding.
>
> The ultimate parent company of the Atkins Group is WS Atkins
> plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove,
> Ashley Road, Epsom, Surrey KT18 5BW.
>
> Consider the environment. Please don't print this e-mail unless you really
> need to.
>



-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message