How to create .NET SOA Web service ?
-
I would like to create a .net SOA web service through Visual studio IDE 2005. Is there any sample available on the web. I don't want SOA concepts. I need practical sample or How to type answer based on PEACE. Thanks in advance
-
I would like to create a .net SOA web service through Visual studio IDE 2005. Is there any sample available on the web. I don't want SOA concepts. I need practical sample or How to type answer based on PEACE. Thanks in advance
Hi, There is no difference between SOA webservice and normal webservice, Webservice is a specialized implementation of SOA, its is framework that allows you to intercommunicate with the variant objects of different technology or platform. The procedure to create a webservice is: 1) Open VS 2005 IDE and create a new Project of Webservice type 2) You will gain access to the projectName.asmx file 3) Under that u can add your own custom webmethods like, [WebMethod] pubic void GetFirstOutput() { // Executable C# or VB.net code } 4) Build the code. 5) Implement this service from other webapplicaion or Windows application, by adding the webreference from the implementing project, solution explorer->Project->Right click->Add Web reference, provide the URL like http://localhost/Alias Name/ProjectName.asmx (Which you have created) 6) Add the namespace for the webreference made and to the implementation project and access that GetFirstOutput() method
Mohan