cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ext2" <x...@tongtech.com>
Subject Re: Does Cxf support oneway confirm feature?
Date Fri, 27 May 2011 11:06:38 GMT
Thanks Daniel.

Your previously mail has answered my following question;


> -----original -----
>Sender: ext2 [mailto:xuhb@tongtech.com]
> Time: 2011/5/27 18:44
> Receiver: users@cxf.apache.org
> Subject: Re: Does Cxf support oneway confirm feature?
> 
> That's to say:
> 
> CXF doesn't in-optional-out MEP; Is it right?
> I am sure in-optional-out is not a valid MEP for wsdl11.But I am not sure
if
> it's valid for wsdl2.0 ? A doest CXF support it?
> 
> And the sample wsdl is treated as in-only MEP, and it's fault message is
> ignored. Is it right?
> 
> Thanks a lot
> 
> > -----original -----
> >Sender: Freeman Fang [mailto:freeman.fang@gmail.com]
> >Time: 2011/5/27 17:15
> >Receiver: users@cxf.apache.org
> >Subject: Re: Does Cxf support oneway confirm feature?
> >
> > Hi,
> >
> > I don't think there's any oneway confirmation.
> >
> > If operation have fault message, then this operation couldn't be
> > oneway, oneway means no output, no fault,  and your client doesn't
> > care what will happen after send out the request, that's the expected
> > oneway behavior.
> >
> > As you already know, if your operation have fault but no output, then
> > your client still get chance to have some fault back.
> >
> >
> > Freeman
> > On 2011-5-27, at 下午4:34, ext2 wrote:
> >
> > > Hi:
> > >
> > > Recently I encounter a web-service which operation contains only input
> > > message and fault message;
> > > It may looks like:
> > > <operation>
> > > 	<input message....>
> > > 	<fault message ../>
> > > </operation>
> > > If the service execute successful, a http ok response will returned;
> > > And if
> > > it failed, a soap-fault will be returned;
> > >
> > > And now we need know if server's result is successful or failure at
> > > client
> > > side.
> > >
> > > But cxf  will never receive the failure response from service, as
> > > cxf   use
> > > fire-forget mechanism to deal with one-way operation by default.
> > >
> > > So I am wondering if cxf support some one-way confirm feature? If so
> > > client
> > > could confirm whether server successful or failed.
> > >
> > > Thanks any suggestion;
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------
> > Freeman Fang
> >
> > FuseSource
> > Email:ffang@fusesource.com
> > Web: fusesource.com
> > Twitter: freemanfang
> > Blog: http://freemanfang.blogspot.com
> > Connect at CamelOne May 24-26
> > The Open Source Integration Conference
> >
> >
> >
> >
> >
> >
> >
> 
> 




Mime
View raw message