[TYRUS-42] Method not invoked if String and byte[] payloads are used as parameters Created: 18/Oct/12  Updated: 03/Feb/13  Resolved: 03/Feb/13

Status: Resolved
Project: tyrus
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0-b11, 1.0

Type: Bug Priority: Major
Reporter: arungupta Assignee: Pavel Bucek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Endpoint implementation looks like:

public class HelloBean {

public String sayHello(String name)

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

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.

Comment by Pavel Bucek [ 01/Feb/13 ]

String/test messages are working as expected

binary messages work when ByteBuffer is used; byte[] needs to be fixed.

Generated at Thu Oct 27 13:36:09 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.