I’ m trying to call HTTP WS from WF. Unfortunately, it gets canceled every time and I can’t understand a reason. In a browser service works fine. Would you mind telling me what’s wrong?
WS source code:
[WebMethod]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
public void GetData(string id)
{
var l = new Login {Name = "MI"};
var sr = new JavaScriptSerializer();
Context.Response.ContentType = "application/json";
Context.Response.Write(sr.Serialize(l));
}
WF: