Hi Richard,
First, you shouldn't need to extend Service. Second, we probably haven't supported that use case yet. Just to make sure I understand, are you just trying to override the url used to access your server from your client? I will be poking around this code later today. If I find a way I'll let you know. Otherwise I'll make one :-)
Cheers,
- Dan

Shaw, Richard A wrote:

The issue is that I don't have the ServiceImpl. My service is derived from 
Service (not ServiceImpl) -

public class ExecuteService extends Service {
So how do I get at the ServiceImpl ?

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

-----Original Message-----
From: Freeman Fang [mailto:[EMAIL PROTECTED] Sent: 19 September 2006 05:29
To: [email protected]
Subject: Re: Migration from Celtix

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




This message has been scanned for viruses by MailControl - (see 
http://bluepages.wsatkins.co.uk/?4318150)


--
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com

Reply via email to