Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help figuring out why I am getting <Detail>Operation Not Implemented</Detail> when doing "put"  RSS feed

 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?


edit:

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.
 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this figured out, I needed to add /{deviceID} to the end of my url.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.

Your cross-post has been removed.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!