Web service function name to display spaces in framework 2.0

.net , csharp Chicago, United States
  • 12 years ago
    Hi, We have a web service in .NET framework version 2.0 (C#). We need to create a function in that web service with name ilke, say, 'ABC'. We want this function to be displayed as "A B C" - in other words, its display name should contain spaces. In .NET framework 1.1, we are able to do this, by using the message_name attribute of the web method. We gave the function name, with spaces, in the message_name attribute and it displayed alright. When we give it in message_name attribute of web method in version 2.0, it is displaying the function name itself. Is there a way where we can display a function name in a web service WITH spaces, in .NET framework version 2.0. Thansk in advance RS

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”