The ISE ERS endpoint java demo downloaded from Cisco does not deregister the endpoint. The output is:
###############################################################
# De register endpoint: #
# This demo sends PUT request to deregister an existing #
# endpoint mac: aa:bb:11:22:33:44 #
# The expected response would be status 201. #
###############################################################
*** about to deregister endpoint id: e254f250-289a-11e4-8fe1-005056862eb7
Request URI: /ers/config/endpoint
REQUEST HEADERS:
content-type: application/vnd.com.cisco.ise.identity.endpoint.1.0+xml; charset=utf-8
RESPONSE HEADERS:
Pragma: No-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 19:00:00 EST
Allow: POST,GET,DELETE,PUT,OPTIONS,HEAD
Date: Wed, 20 Aug 2014 18:50:42 GMT
Content-Type: text/xml
Content-Length: 0
Server:
RESPONSE STATUS:
HTTP/1.1 404 Not Found
In the included ERSClient deregister method deregister is misspelled when creating the HttpPut object. I corrected that but the endpoint still is not deregistered.
Any help would be appreciated