On Friday, May 27, 2011 4:34:15 AM 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>
That is not valid in WSDL 1.1 which is what CXF supports. For one-ways, you cannot have a fault message. For in/out, you must have an output message. You can see the various MEPS supported by 1.1 at: http://www.w3.org/TR/wsdl#_porttypes WSDL2 has a "Robust In-Only" MEP, but that's not supported by WSDL1.1 (or CXF). Dan > 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; -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
