About Question enthuware.ocejws.v6.2.324 :

Moderators: Site Manager, fjwalraven

Post Reply
ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

About Question enthuware.ocejws.v6.2.324 :

Post by ramy6_1 »

Hello ,

So the second option will working if we defined the string as  String num = "2";

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.324 :

Post by fjwalraven »

No, the second option has defined String num = "2"...

Just try and see what happens.

Regards,
Frits

javabean68
Posts: 31
Joined: Wed Mar 16, 2016 8:38 am
Contact:

Re: About Question enthuware.ocejws.v6.2.324 :

Post by javabean68 »

Hallo Frits,
how should be then the request formulated to give an Integer and get an integer back?
Thank you so much!

Regards
Fabio

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.324 :

Post by fjwalraven »

Hi Fabio,

You need to write your own MessageBodyReader and MessageBodyWriter implementation for an Integer.

Kind regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests