Answered previously: http://www.nabble.com/Re:-Exception-while-marshalling-p20843833.html
Dan On Tuesday 16 December 2008 8:29:06 am Sergey Pulyaev wrote: > CXF cxf-api-2.0.6 > Server: Jetty 6.1.9 > > 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> > > -- > ---- > > Best regards, > > Sergey Pulyaev -- Daniel Kulp [email protected] http://dankulp.com/blog
