Hi Richard,

1. By means of ServiceImpl.getService().getServiceInfo() you can get serviceInfo

2. The handler demo should be added soon.


Thanks very much

Freeman

Shaw, Richard A wrote:

I've started to migrate my project from Celtix to CXF with some success. I have 
two outstanding issues -

1 - how do I override the endpoint address from code. In celtix I was doing the 
following -

               Map<String, Object> requestContext = ((BindingProvider) 
port).getRequestContext();
               requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, 
DataFetchURL);
               int result = port.execute();
I can see that the ServiceImpl class has a ServiceInfo class which contains the 
details, but I can't get at it from Service - the delegate is private.

2 - how do I add handlers. There isn't a sample for this yet.

After I fix these things I will then have to start thinking about how to 
migrate our custom transports (FTP) and bindings (CSV). But they are questions 
for later.

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: [EMAIL PROTECTED]

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.



--
Freeman Fang
Software Engineer

IONA Asia Pacific Software Development Center
No.2 Floor A Unit Information Center
Zhongguancun Software Park Haidian District,
Beijing, P.R.China

Tel.: +86-10-82825151 -  ex. 551
Fax: +86-10-8282-5210
[EMAIL PROTECTED]
-------------------------------------------------
Making Software Work Together TM


Reply via email to