Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-126

1.0beta6: @POST method dies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • Beta 7
    • Beta 6
    • None
    • None

    Description

      When I invoke a @POST method I receive an internal server error. There was no problem when using 1.0beta5.

      This is the class definition:
      @Path("/kundenverwaltung")
      @Produces(APPLICATION_XML)
      @Consumes(APPLICATION_XML)
      public class KundenverwaltungResource {
      @Context
      private UriInfo uriInfo;

      @Path("/kunden")
      @POST
      @Produces
      public Response createKunde(Kunde kunde) throws KundeException, KundeDuplikatException

      { System.out.println("!!!"); // no output happens ...}

      ...
      }

      This is the contents of server.log (nothing more at the end):
      ...
      2008-09-10 16:50:57,125 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 21s:953ms
      2008-09-10 16:51:06,927 DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] PathInfo: /kundenverwaltung/kunden

      The server response will be provided as a screenshot of the Eclipse plugin http4e.

      Attachments

        Issue Links

          Activity

            People

              patriot1burke@gmail.com Bill Burke (Inactive)
              juergen.zimmermann Juergen Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: