thanks for your response andrew,
so i must put my 500 code in a SAUP Fault with my message? Is that right? Do
you know the easiest way
to add SAUP faults to a webservice wsdl-first?


Andrew Clegg-2 wrote:
> 
> I don't think so -- this is well outside normal SOAP behaviour. Errors
> should be reported as SOAP Faults sent back in a normal SOAP envelope,
> otherwise clients won't handle them correctly.
> 
> There may be a way to hack this behaviour (someone from the CXF team
> might know) but I'd highly recommend against doing so.
> 
> Remember as well that SOAP is transport-independent -- SOAP services
> can't assume they're running on HTTP, it might be JMS or direct TCP or
> even an email :-)
> 
> Andrew.
> 
> 2009/6/24 tutu <[email protected]>:
>>
>> SOAP web services
>>
>> tutu wrote:
>>>
>>> Hi all,
>>>
>>> Does anybody know if cxf web service can return HTTP exceptions with
>>> configurable messages?
>>> In other words, does a web service can return HTTP 500: application
>>> error/
>>> database problem?
>>>
>>> thanks in advance,
>>>
>>> tugdual
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Does-CXF-web-service-can-return-HTTP-exceptions--tp24180699p24181305.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> :: http://biotext.org.uk/ ::
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Does-CXF-web-service-can-return-HTTP-exceptions--tp24180699p24181508.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to