cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

Error 405 in setting password

64
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Feng Ye on 16-08-2011 12:02:49 PM
Experts,
 
I am new in CUPI programming. Got an error 405 "Method not allowed" when attempt (as 'admin') to set password for a user. 'admin' has System Admin and Remote Admin roles. What might be wrong?
 
Contents type is set to 'application/xml'.
 
thanks,
feng

Subject: RE: Re: New Message from Feng Ye in Cisco Unity Connection Provisioning Int
Replied by: Feng Ye on 16-08-2011 05:06:31 PM
Thanks Sascha for looking into this.

I am programming via a .NET client. Using PUT, with URL https://<Unity Connection Server>/vmrest/users/<uid>/credential/password and Request <Credential><Credentials>newPassword</Credentials></Credential>.

Subject: Re: New Message from Feng Ye in Cisco Unity Connection Provisioning Interfa
Replied by: Sascha Monteiro on 16-08-2011 04:41:29 PM
can you please share the details like method, url and content

Subject: RE: Re: New Message from Feng Ye in Cisco Unity Connection Provisioning Int
Replied by: Sascha Monteiro on 22-08-2011 04:51:45 PM
it looks okay, have you set the header;
"Content-Type" to "application/xml;charset=utf-8" ?

Subject: RE: Re: New Message from Feng Ye in Cisco Unity Connection Provisioning Int
Replied by: Matthew Penning on 22-08-2011 12:27:20 PM
Hi Feng - can you verify you are doing a PUT request?  If you were doing a POST, you would get a 405 back like you are seeing.
 
BTW I use the "Poster" addon for Firefox to test requests, it's quite handy:
https://addons.mozilla.org/en-US/firefox/addon/poster/
 
 
Thanks Sascha for looking into this.

I am programming via a .NET client. Using PUT, with URL https://<Unity Connection Server>/vmrest/users/<uid>/credential/password and Request <Credential><Credentials>newPassword</Credentials></Credential>.

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here