Is it possible to have a web service name in localized string. Let's say, can
I have a web service developed in C# having class name in Japanese?
I am trying to build a web service as follows
namespace Test2
{
/// <summary>
/// Summary description for Service1.
/// </summary>
public class ã‚» : System.Web.Services.WebService
{
public ã‚»()
{
//CODEGEN: This call is required by the ASP.NET Web Services Designer
InitializeComponent();
}
#region Component Designer generated code
//Required by the Web Services Designer
private IContainer components = null;
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if(disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
#endregion
// WEB SERVICE EXAMPLE
// The HelloWorld() example service returns the string Hello World
// To build, uncomment the following lines then save and build the project
// To test this web service, press F5
[WebMethod]
public string HelloWorld()
{
return "Hello World";
}
}
}
So, if you notice, I have a class name as "ã‚»" which is some japanese
character.
When I try to run this application, I get the parsing error in my .asmx file
for classname in webservice directive.
Pl. let me know if it is possible. and if yes, how can I dploy such a web
service?
--
Regards
-Ajit