[Resteasy-users] resteasy.document.expand.entity.references=false gives javax.xml.bind.UnmarshalException: unexpected element for POSTs

2013-10-21 Thread Mark Jenkins
I am using WildFly 8.0.0.Beta (which includes RestEasy 3.0.4). I am getting an exception (below) for every POST request to JAX-RS web services. I've done some digging, and found out that the exception occurs if in web.xml, I set resteasy.document.expand.entity.references to false (the

Re: [Resteasy-users] Resteasy Client does not properly handle Server exception, rendering Client inoperable

2013-10-21 Thread Anthony Whitford
I created a fix for this issue by modifying the error handling of the ClientInvocation.extractResult method. See Pull Request: https://github.com/resteasy/Resteasy/pull/397 My primary concern about catching WebApplicationException all over the place is that it seems to violate Separation of

Re: [Resteasy-users] Resteasy Client does not properly handle Server exception, rendering Client inoperable

2013-10-21 Thread Bill Burke
I cannot accept this pull request as it will break JAX-RS TCK tests. If you want to add a configuration switch to automatically close the connection, thats fine, but the default needs to keep it open as this is required by the specification. On 10/21/2013 4:52 PM, Anthony Whitford wrote: I