About Question enthuware.ocejws.v6.2.324 :

Moderators: Site Manager, fjwalraven

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

About Question enthuware.ocejws.v6.2.324 :

Post by ramy6_1 » Mon Nov 09, 2015 9:21 am

Hello ,

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

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

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

Post by fjwalraven » Mon Nov 09, 2015 9:26 am

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

Just try and see what happens.

Regards,
Frits

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

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

Post by javabean68 » Sat Jun 09, 2018 10:52 am

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: 423
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven » Sat Jun 09, 2018 12:43 pm

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 2 guests