Hello ,
So the second option will working if we defined the string as String num = "2";
About Question enthuware.ocejws.v6.2.324 :
Moderators: Site Manager, fjwalraven
-
- Posts: 124
- Joined: Wed Feb 12, 2014 2:44 am
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.324 :
No, the second option has defined String num = "2"...
Just try and see what happens.
Regards,
Frits
Just try and see what happens.
Regards,
Frits
-
- Posts: 31
- Joined: Wed Mar 16, 2016 8:38 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.324 :
Hallo Frits,
how should be then the request formulated to give an Integer and get an integer back?
Thank you so much!
Regards
Fabio
how should be then the request formulated to give an Integer and get an integer back?
Thank you so much!
Regards
Fabio
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.324 :
Hi Fabio,
You need to write your own MessageBodyReader and MessageBodyWriter implementation for an Integer.
Kind regards,
Frits
You need to write your own MessageBodyReader and MessageBodyWriter implementation for an Integer.
Kind regards,
Frits
Who is online
Users browsing this forum: No registered users and 8 guests