You are on page 1of 2

CREATION OF PAYROLL WEBSERVICE IN DOTNET, TO INVOKE IT IN

J2EE:

Create the Payroll web service in DOTNET. The web service having the following web
methods
Addition
o It accept four arguments such as basic,hra,da and splallowance
Deduction
o It accept three arguments such as it, advance and loan
Calculate
o It calculates the salary.

Then the above payroll web service is invoke in J2EE application

Procedure
1. Open ASP.NET web service web site in visual studio.
2. Write the three web methods such as addition, deduction and calculate.
3. Run and test web service.
4. Get the WSDL reference by clicking Service Description
5. Using the Netbeans API create a project of the type web application.
6. rght click on web application web service client
7. pop up window appear, choose wsdl ,paste the wsdl specification url
which is created in dotnet.
8. Click ok.
9. drag the methods of web service from web reference node in to jsp page.
10. run the jsp.

You might also like