Posts

Showing posts from March, 2015

Interoperability : WCF Secured Service, .NET Client, SoapUI, Java Client

Image
Hi Guys, I had a requirement to make a secured WCF service to be hosted in HTTPS and the credentials must be passed with the soap header within the username token tags. So this post is about that. 1) WCF Service  public class MyService : IMyService     {             public ReturnMsg SaveTransaction(Transaction objTransaction, Patient objPatient)          {              System.Data.OracleClient.OracleConnection con = new System.Data.OracleClient.OracleConnection();              System.Data.OracleClient.OracleCommand cmd = new System.Data.OracleClient.OracleCommand();              ReturnMsg objReturnMsg = new ReturnMsg() { QaidNo = -1 };                           //The Logics have been removed          ...

Employee Time Log : Reporting using SSRS and Generic Handler

Image
Hi Guys, I added new page to the Employee Time Log to generate a simple report which I made using SQL Server Reporting Services (SSRS) and a ASP.NET Generic Handler (.ashx) File. Hope you like it. Solution 1) Add a Generic Handler File, Report File and Report.html file as shown in the image. 2 ) Add the following html in Report.html <form name="ReportForm" ng-submit="ReportForm.$valid && GenerateReport(CurrentLog)" novalidate>     <div>         <div class="panel panel-primary">             <div class="panel-body">                 <div class="form-group">                     <label>Start Time</label>                 ...