tukarambande / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

Automatic attribute documentation doesn't output given encoding #104

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Run service main URL to get automatic service documentation:

[XmlRpcService(Description = "some UTF-8 characters...éíšáčýáěšřž", 
Name = "MyService", XmlEncoding="UTF-8")]
    public class MyService: XmlRpcService
    {
        [XmlRpcMethod("getHash")]
        public blabla getHash(int clientId)
        {
            ....
        }
}

What is the expected output?

HTTP/1.1 200 OK
....
Content-Type: text/html; charset=utf-8
.....

What do you see instead?

HTTP/1.1 200 OK
Server: ASP.NET Development Server/11.0.0.0
Date: Mon, 15 Oct 2012 21:05:49 GMT
X-AspNet-Version: 2.0.50727
rewriting-request: http://localhost:31182/api/commision.xmlrpc
Cache-Control: private
Content-Type: text/html
Content-Length: 4676
Connection: Close

<html>
<head>
<style type="text/css">
...
<title>CommisionService</title>
</head>
<body>
...
</html>

Please use labels and text to provide additional information.

Original issue reported on code.google.com by kubes.to...@gmail.com on 15 Oct 2012 at 9:15