tyrus
  1. tyrus
  2. TYRUS-42

Method not invoked if String and byte[] payloads are used as parameters

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-b11, 1.0
    • Component/s: None
    • Labels:
      None

      Description

      Endpoint implementation looks like:

      @WebSocketEndpoint(path="/hello")
      public class HelloBean {

      @WebSocketMessage
      public String sayHello(String name)

      { return "Hello " + name + "!"; }

      @WebSocketMessage
      public byte[] sayHello2(byte[] data)

      { return data; }

      }

      The application is deployed in GlassFish 4 build 57. A JavaScript client invoking sayHello works fine for the first time. But subsequent invocations does not dispatch the request to any method in the endpoint. And, as expected, no response is returned back. If the "sayHello2" method is commented then everything works as expected.

        Activity

        arungupta created issue -
        Martin Matula made changes -
        Field Original Value New Value
        Fix Version/s 1.0 [ 16078 ]
        Fix Version/s 1.0-b08 [ 16095 ]
        Pavel Bucek made changes -
        Fix Version/s 1.0-b09 [ 16096 ]
        Fix Version/s 1.0-b08 [ 16095 ]
        Pavel Bucek made changes -
        Fix Version/s 1.0-b10 [ 16238 ]
        Fix Version/s 1.0-b09 [ 16096 ]
        Pavel Bucek made changes -
        Fix Version/s 1.0-b11 [ 16288 ]
        Fix Version/s 1.0-b10 [ 16238 ]
        Pavel Bucek made changes -
        Assignee Pavel Bucek [ pavel_bucek ]
        Pavel Bucek made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Pavel Bucek
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: