Tuesday, June 9, 2009

Webservice return the Image of the Customer in ASP.NET 2.0

Webservice returning image of the customer in ASP.NET 2.0

Now I will explain how to get the images from Oracle database and how to display it on the ASP.NET 2.0 web page.

In oracle images are saved as blob data type.

In my application I have written one webservice, it will send the signature image of the customer to the other application which is saved in my application database Oracle database.

Webservice will provide security for database when one application requires the data from other application. The application which requires the data will send a request to the webservice so the webservice will give the response depending on the customer input. In this way it will provide the security to out database.

The webservice code is looking like this:

The below webservice will take the Customer ID and return the signature of the customer to the other application which send the request to webservice.

This is the working code.

See full detail: http://www.c-sharpcorner.com/UploadFile/gnsrinivas1511/Webservice05112009034709AM/Webservice.aspx