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
Java Technical Lead
Intego Group
43/2 Gagarina prospect,
Kharkov, 61001, Ukraine
phone: 1-407-641-4260
[EMAIL PROTECTED]
www.intego-group.com
--------
This data is for general information only and shall not be used to produce documents of any kind without same being submitted to, reviewed by, and approved by Intego in writing. All data is subject to change. User assumes all liability relating to the use of this data and agrees to release, indemnify, and hold harmless Intego from any and all claims relating said use. User is responsible to check for any viruses before use.