C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






What is in Web service


Posted Date: 13 Aug 2008    Resource Type: Articles    Category: .NET Framework
Author: D.Jeya kumar(JK)Member Level: Diamond    
Rating: Points: 10



Defaults for the web service are
Namespaces
using System.Web.Services;
using System.Web.Services.Protocols;

Each XML Web Service needs a unique namespace in order for client applications to distinguish it from other services on the Web. By default, ASP.Net Web Services use http://tempuri.org/ for this purpose.
[WebService(Namespace = "http://tempuri.org/")]
It is an industry standard profile and if it is removed .some other web service client cannot able to communicate as it is non standard.
Check the below link

How To secure a web service without using a policy file

http://msdn.microsoft.com/en-us/library/aa528763.aspx

[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

Web Method
Web method can be exposed and it will be available to anyone. Suppose the methods that should not expose to anyone then can be defining it without WebMethod. So it cannot be accessed.




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
What is in Web service  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Web service
Previous Resource: Discovery file and Delopying a Web service
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use