I am sure all my code is correct I am just unsure about what parameter needs to go somewhere. I am using simplexml for serialization.
So I have this:
followed by the necessary code for the put.
I have a Device class with
plus the setters and getters. So I tried replacing "newDevice88" with Device.deviceId, but that was going to involve changing my deviceId to public statiic, which is not what I need. So basically I am trying to figure out what should go in between the ( ) instead of "newDevice88" and "New Device 88" for ID and name.
In the end I am going to have a jsf page where users will input this info, so I know it will involve managed beans and such, but I just want to test it out first, and get this put method to actually put a new entry to my web service. Can anyone help me with this? Do you need any other info? What do I need to put in between those ( ) that will allow me to put a new device entry to my web service?
I tried this instead:
which seems more likely to be correct. Then I did this in the Device class:
but I still get the same problem as before.
True wisdom is in knowing you know nothing - Socrates