cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <daniel.k...@iona.com>
Subject Re: Migration from Celtix
Date Tue, 19 Sep 2006 17:29:09 GMT

Dan,

On Tuesday September 19 2006 12:18 pm, Dan Diephouse wrote:
> 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

Our Message class has keys for the endpoint URL and I think the HTTP transport 
will use it.  

However, the current JAX-WS frontend doesn't map any of the JAX-WS properties 
to our own properties.    That may be all that's needed.

Likewise, the JAX-WS frontend should map the Name/Password things to an 
AuthorizationPolicy object and set that in the message.  That should get 
basic-auth working.

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: richard.shaw@atkinsglobal.com
> >
> >www.atkinsglobal.com/its
> >
> >-----Original Message-----
> >From: Freeman Fang [mailto:freeman.fang@iona.com]
> >Sent: 19 September 2006 05:29
> >To: cxf-dev@incubator.apache.org
> >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: 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.
> >
> >--
> >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
> >freeman.fang@iona.com
> >-------------------------------------------------
> >Making Software Work Together TM
> >
> >
> >
> >
> >This message has been scanned for viruses by MailControl - (see
> > http://bluepages.wsatkins.co.uk/?4318150)

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194   F:781-902-8001
daniel.kulp@iona.com

Mime
View raw message