I just did a search over the entire codebase for the "Fault occured" string below and didn't find it. What version of CXF are you using? If you aren't using 2.1.3, I highly suggest upgrading to that.
Dan On Friday 05 December 2008 5:08:10 am manish_goyal wrote: > we have a requirement to create a custome exception message in > Envelope/Body/Fault/detail node.We are able to get the correct custom > message in "detail node". But we want to get the message description, for > eg:"Invalid date" in Envelope/Body/Fault/faultstring in soap message. > Example: > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>Fault occured</faultstring> > <detail> > <Custom message:"Invalid data", code:......../> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > > Required SOAP mesage should be: > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>Invalid data</faultstring> > <detail> > <Custom message:"Invalid data", code:......../> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > > we are throwing the exception "CustomException" using the CustomException > (String message, CustomExceptionType customException) . > Could anyone please provide a pointer to get this resolve? -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog
