Blogs

Showing 3 results.

Forums

« Back to Discussion

MP8.5 soap example

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi,
 
I am totally new to mpsa
1/ if I have directory service importing users from CUCM, should I update the user instead of creating?
2/ does anyone have a soap message as example to update or add a user?
    (I don't use wsdl/axis)
 
cheers!
Sascha

I am trying this in the soap body to update the email of the user, but getting an unexpected exception;
<mpsa:updateUserProfile xmlns:mpsa="http://mpe.cisco.com/webservices/services/UserService">
<CsUser><uniqueId>100</uniqueId><emailAdd>test@test.org</emailAdd><emailAddStr>test@test.org</emailAddStr></CsUser></mpsa:updateUserProfile>

Hi,
 
I am totally new to mpsa
1/ if I have directory service importing users from CUCM, should I update the user instead of creating?

AFAIK, Directory service should add new users in the course of synchronization, you don¿t need to add them separately.
 

2/ does anyone have a soap message as example to update or add a user?
    (I don't use wsdl/axis)
 

Please refer the following link to get the samples of adding and deleting users:-
http://developer.cisco.com/web/mpsa/wikidocs?p_p_id=54_INSTANCE_bl4U&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_54_INSTANCE_bl4U_struts_action=%2fwiki_display%2fview&_54_INSTANCE_bl4U_nodeName=Main&_54_INSTANCE_bl4U_title=FAQ#section-FAQ-HowToAddAndDeleteUsersUsingSOAPRequestsI
 
Update user from template should be fairly similar to add user from template, except that you would be using real user id instead of guest. 
 
Hope this answers your questions. 
 
Thanks. 

Collateral


No files available