cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaw, Richard A" <richard.s...@atkinsglobal.com>
Subject Overriding WSDL endpoint in code
Date Tue, 20 Feb 2007 16:43:07 GMT
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. 

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