You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by GitBox <gi...@apache.org> on 2020/11/27 13:18:45 UTC

[GitHub] [tomee] rzo1 opened a new pull request #722: TOMEE-2932 - Fixes javax.ws.rs.NotSupportedException: HTTP 415 Unsupported Media Type

rzo1 opened a new pull request #722:
URL: https://github.com/apache/tomee/pull/722


   # What does this PR do?
   
   As discussed on the mailing list [1], we found test errors in `MovieServiceTest`. 
   
   The root cause is, that the server only accepts `application/json` but the test was sending `text/xml` instead resulting in the exception in the PR's title.
   
   I adjusted the test-case similar to the corresponding one on the [master](https://github.com/apache/tomee/blob/142f035e454b43192c51db7a66b9395982502d47/examples/serverless-tomee-webprofile/src/test/java/org/superbiz/movie/wp/MovieServiceTest.java) branch.
   
   # References
   
   - [1] https://openejb.markmail.org/search/?q=type:development#query:type%3Adevelopment+page:1+mid:yagkenymmvojwqvh+state:results
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tomee] jeanouii merged pull request #722: TOMEE-2932 - Fixes javax.ws.rs.NotSupportedException: HTTP 415 Unsupported Media Type

Posted by GitBox <gi...@apache.org>.
jeanouii merged pull request #722:
URL: https://github.com/apache/tomee/pull/722


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org