Audit Web services Call
Posted: Thu Jan 27, 2011 2:03 pm
Hi,
I would like to audit my web service call. Here is the way I am trying to accomplish this.
I have a WSDI datastage job and deployed it in Director. The user needs an assigned application acronym as a parameter to call the web service. The paralelle job receives the acronym and look up the oracle DB table. If the lookup stage returns 1 row count, meaning the validation is sucessful and the data can send to the requester, otherwise no data but the mesaage "Invalid application acromyn" will send to the requester.
I have problem to send the Invalid message. Here is my stage variables:
If IsNull(lkpoutMitreHoliday.holiday_date) Then "Invalid Message" Else lkpoutMitreHoliday.holiday_date
Can you please help me with this? Or Please let me know if you have any better way to accomplish this.
Thanks in advance!
Yijuan Liu
I would like to audit my web service call. Here is the way I am trying to accomplish this.
I have a WSDI datastage job and deployed it in Director. The user needs an assigned application acronym as a parameter to call the web service. The paralelle job receives the acronym and look up the oracle DB table. If the lookup stage returns 1 row count, meaning the validation is sucessful and the data can send to the requester, otherwise no data but the mesaage "Invalid application acromyn" will send to the requester.
I have problem to send the Invalid message. Here is my stage variables:
If IsNull(lkpoutMitreHoliday.holiday_date) Then "Invalid Message" Else lkpoutMitreHoliday.holiday_date
Can you please help me with this? Or Please let me know if you have any better way to accomplish this.
Thanks in advance!
Yijuan Liu