I answered this last week: http://www.nabble.com/Re:-Exception-while-marshalling-p20843833.html
Dan On Tuesday 09 December 2008 10:53:33 am [EMAIL PROTECTED] wrote: > I have some hibernate objects what should be marshaled, and if i get > error during this process - for example in lazy loading - i get very > strange output: > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <ns1:findByCriteriaResponse xmlns:ns1="http://ws.pc2.takecharge.com/"> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>Marshalling Error: No row with the given > identifier exists: [com.data.alert.AlertType#10]</faultstring> > </soap:Fault> > </ns1:findByCriteriaResponse> > </soap:Body> > </soap:Envelope> > > Is there any ability to create normal response - Fault element inside > Body - not in sub tags: > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>Marshalling Error: No row with the given > identifier exists: [com.data.alert.AlertType#10]</faultstring> > </soap:Fault> > </soap:Body> > </soap:Envelope> -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog
