Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic attribute documentation doesn't output given encoding #104

Open
GoogleCodeExporter opened this issue Apr 5, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant