I'm new to Web Services, but I made one like this:
require_once "lib/nusoap.php";
function welcome($name)
{
return $name . "خوش آمدید";
}
$server = new soap_server();
$server->configureWSDL("testWebService", "urn:testWebService");
$server->register("welcome",
array("name" => "xsd:string"),
array("return" => "xsd:string"),
"urn:testWebService",
"urn:testWebService#welcome",
"rpc",
"encoded",
"for user login check");
the "welcome" function returns a string that is partially in the Persian language. I want to use this web service function in my C# application. I've successfully added the web service to my solution in VS and i tried to use it like this:
MessageBox.Show(myWebsrvice.welcome("Mansoor"));
It runs fine but doesn't show the Persian part of the text correctly. What should I do to fix this?