-
RESTful Web Services
Hi !
Here is my problem :
I'm creating a JavaFX application which communicate with a glassfish server with web services.
I dont really use the "default" RESTful webservice generated by netbeans (Create WS from database.) but even if I do that, I can't make PUT request (with the default template here), even with only one table (no-FK and two columns, id and name).
I've tried a lot of possibilities with the XML syntax like :
<blackbox>
<name> blabla </name>
</blackbox>
or surround with the "main" tag <blackboxes> </blackboxes>
add the id, the uri to the blackbox etc...
but I always got >> java.lang.Error: Error: could not match input
Has someone an idea how to fix that ?
Thanks for the time !
(Sorry for my english ;d)