PSSrch
API Reference
>
PSSrch
| SoapAction | n/a |
| Input Name | PSSrch |
| Output Name | PSSrchResponse |
| 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 | PSSrch |
| Output Name | PSSrchResponse |
| Input Namespace | n/a |
| Group Name | Xperience |
| Container | XP_MsgBus.xsd |
private void ButtonPSSrchClick(object sender, RoutedEventArgs e)
{
var record = new PSSrchRq_MType()
{
JESSrchMsgRqHdr = Helper.JesSrchMsgRqHeader(30),
PSApp = Application.ApplicationId,
PSFinInst = Constants.FinInst,
PSKey = Environment.UserName,
PSProd = Application.ApplicationId,
PSSecKey = string.Empty,
PSUsr = Environment.UserName,
PSConsumerEnv = “2013-TEST”
};
int max = 3;
Helper.FillHeader(record, max);
var callback = this.messageBus.Send(record);
var errors = Helper.CallbackErrors(callback, "ButtonPSSrchClick");
if (!string.IsNullOrWhiteSpace(errors))
{
this.UpdateListbox(errors);
}
else
{
try
{
this.OnPSSrchRs(callback.WaitForResponse(TimeSpan.FromSeconds(30)));
}
catch (Exception ex)
{
this.UpdateListbox("ButtonPSSrchClick exception: " + ex.Message);
}
}
}