Monday 15 March 2010

c# - Mono. Web API Service is returning 0 - when invoking form outside -



c# - Mono. Web API Service is returning 0 - when invoking form outside -

my web api service running on linux ubuntu mono , nginx.

when test api localhost works , writes every request log file, if invoke method outside environment (from other ip) response is:

the web service returned next result: 0 -

also it's not writing error log investigate problem.

here method:

[webmethod] public string test(string strxml) { string strmessage = ""; xmldocument xdoc = new xmldocument(); seek { xdoc.loadxml(strxml); xmlnode xcontent = xdoc.getelementsbytagname("content")[0]; strmessage = xcontent.innertext; } grab (exception ex) { } homecoming strmessage; }

what can suggest guys?

try reply marc.d post:

connection refused when calling soap webservice using android

it helped in case.

c# web-services nginx mono

No comments:

Post a Comment