Results 1 to 1 of 1
- 07-21-2011, 09:56 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
how to return response from jaxb when validation fails
i am using jaxb 2X and i have extended ValidationEventCollector where i can collect the error details.
Now i want to send my client the error details. how can i send a http response from jaxb.
also for any exception that is thrown internally by jaxb client always gets 400-Bad request.
i want to send a customized error message. please help.
Similar Threads
-
SOAP|Java Response - IOException| Server response - a:System.Net.WebException
By bornster in forum XMLReplies: 0Last Post: 04-07-2011, 04:09 PM -
InputStream/Response from Servlet fails: why?
By gretty in forum Java AppletsReplies: 0Last Post: 02-20-2011, 02:31 AM -
Problem to return XML structured WebMethod response
By Olegus in forum Advanced JavaReplies: 1Last Post: 08-31-2010, 11:16 AM -
Jaxb
By Paul Richards in forum XMLReplies: 1Last Post: 08-03-2009, 10:56 PM -
JAXB Unmarshalling
By prateek in forum XMLReplies: 0Last Post: 07-10-2008, 07:53 PM
Bookmarks