Author Message
GariRaj
Joined: Nov 7, 2017
Messages: 28
Offline
Endpoint Password Change is not working when we invoke the SMGR API. can you please help to check. we are using the sample application provided as part of the SDK. we are using admin account details of SMGR to change the password for the extension.

the error says very limited information. please let us know anyway we can enable the logging.

com.sun.jersey.api.client.UniformInterfaceException: PUT https://myserver/NavigationManagerServlet?action=error403 returned a response status of 405
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:565)
at com.sun.jersey.api.client.WebResource.put(WebResource.java:198)
at com.avaya.mgmt.smgr.webservice.client.WebServiceClient.passwordChange(WebServiceClient.java:270)
at com.avaya.mgmt.smgr.webservice.client.WebServiceClient.passwordChange(WebServiceClient.java:241)
at com.avaya.mgmt.smgr.webservice.jaxb.impl.CMPasswordChangeProcess.processOepration(CMPasswordChangeProcess.java:16)
at com.avaya.mgmt.smgr.webservice.jaxb.impl.AbstractProcess.process(AbstractProcess.java:108)
at com.avaya.mgmt.smgr.webservice.jaxb.client.UserMgmtClient.process(UserMgmtClient.java:29)
at com.avaya.mgmt.smgr.webservice.jaxb.client.UserMgmtClient.main(UserMgmtClient.java:71)
JohnBiggs
Joined: Jun 20, 2005
Messages: 1139
Location: Rural, Virginia
Offline
per the programmer's guide (https://www.devconnectprogram.com/fileMedia/download/e768ef3a-150c-439b-abcd-ad0f58295206) Server-side logs [are] found [in System Manager] at: /var/log/Avaya/mgmt/mgmtwebservice/

Are you sure "myserver" shouldn't be replaced with an actual IP address or host name in some configuration information?

com.sun.jersey.api.client.UniformInterfaceException: PUT https://myserver/NavigationManagerServlet?action=error403 returned a response status of 405
GariRaj
Joined: Nov 7, 2017
Messages: 28
Offline
hi,

myserver is actually having valid IP which i masked it. regarding the 403 error am trying the simillar request using soap UI and it says 403 it means mostly access forbidden however am using the default admin account which is the highest in terms of access.

<body>
<font style="font-size:9pt; font-family:arial,sans-serifclass">
<font style="font-size:9pt; font-family:arial,sans-serif; font-weight:bold; color:#CC0000">
You have been denied access to the requested resource.
</font>
<br>
<br>
This may be because:

<br>
<ul>
<li>You do not have a valid Single Sign-On ID in your request, or</li>
<li>The account you used to log in is not granted the privileges to access the requested resource.</li>
</ul>
Click the following link to go back to the main navigation page. You may be asked to log in again.
<br>
<br>
PhamTuan
Joined: Mar 15, 2016
Messages: 21
Offline
Hi,

Can you please help to check if you can access and create user on your SMGR by API: SMGR UM WS using POSTMAN (Chrome extension) with the following URL?

*** Retrieve User <userID@domain.com> ***
https://<IPofSMGR>/web/mgmtwebservice/user/<userID@domain.com>

*** Create User <userID@domain.com> ***
1. Method
POST
2. URL
https://<IPofSMGR>/web/mgmtwebservice/
3. Authorization
Type = BasicAuth
Username = <user>
Password = <password>
4. Headers
Content-Type = application/x-www-form-urlencoded
5. Body
Select option "x-www-form-urlencoded:entityType"
entityType = user
entityXMLData =
<?xml version="1.0" encoding="UTF-8"?>
<!-- Root Element 'Users' represent collection of user (containing 1 or more users)-->
<tns:users xmlns:tns="http://xml.avaya.com/schema/import" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd" >
<tns:user>
<authenticationType>Basic</authenticationType>
<givenName>JuserID</givenName>
<loginName>userID@domain.com</loginName>
<surname>Test</surname>
<userPassword>mypassword</userPassword>
</tns:user>
</tns:users>
operationName = create

~~~~~~~~~~~~~~~
Thanks and Regards,
Tuan Pham
JohnBiggs
Joined: Jun 20, 2005
Messages: 1139
Location: Rural, Virginia
Offline
Dalton, It is best to create a new thread for 'new' questions. This allows everyone who is following the forum to see your post. Tagging onto an existing thread limits your exposure to those who are following that thread.

I encourage you to repost you question, and to include some additional context... are you interested in the password for a station, or for accessing AES or perhaps something else? Do you want to do it through the an API or simply get it done one time?
Go to:   
Mobile view