UsrSrch
API Reference
>
UsrSrch
| SoapAction | n/a |
| Input Name | UsrSrch |
| Output Name | UsrSrchResponse |
| Input Namespace | n/a |
| Group Name | Xperience |
| Container | XP_MsgBus.xsd |
Did this page help you?
Last updated Mon Dec 9 2024
| SoapAction | n/a |
| Input Name | UsrSrch |
| Output Name | UsrSrchResponse |
| Input Namespace | n/a |
| Group Name | Xperience |
| Container | XP_MsgBus.xsd |
private void ButtonUsrSrchClick(object sender, RoutedEventArgs e)
{
try
{
var first = "Harry";
var last = "Rabbit";
int max = 3;
var messageType = new UsrSrchRq_MType()
{
FirstName = first,
IMSOrgId = string.Empty,
JESSrchMsgRqHdr = Helper.JesSrchMsgRqHeader(max),
LastName = last
};
var callback = this.messageBus.Send(messageType);
var errors = Helper.CallbackErrors(callback, "ButtonUsrSrchClick");
if (!string.IsNullOrWhiteSpace(errors))
{
this.UpdateListbox(errors);
}
else
{
try
{
this.OnUsrSrch(callback.WaitForResponse(TimeSpan.FromSeconds(10)));
}
catch (Exception ex)
{
this.UpdateListbox("ButtonUsrSecTokenRetrvClick exception: " + ex.Message, true);
}
}
}
catch (Exception ex)
{
this.UpdateListbox("UsrSrch failed: " + ex, false, true);
}
}