This is a migrated thread and some comments may be shown as answers.

Linux / Mono / Apache

0 Answers 111 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 29 Feb 2012, 07:34 PM
I have a web service (asmx) that the Read method accepts a parameter (name).
The webservice is installed on Win / IIS.
- If the aspx page that calls the webservice is installed in IIS: everything works.
- If the aspx page that calls the webservice is installed on Linux / Mono / Apache calling the webservice is not running, without reporting anything.
- If the aspx page and webservice is installed on Linux / Mono / Apache calling the webservice is not running, without reporting anything.
 The web methods without parameters work properly in both installations.
 Suggestions?

--- aspx ----
read: {
url: "TipologiaRimborso.asmx/Read",
contentType: 'application/json; charset=utf-8',
type: "POST",
dataType: "json",
data: { name: "test" }
},
parameterMap: function (options) {
   return JSON.stringify(options);
}

----- asmx --------
WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    [ScriptService]
    public class TipologiaRimborsoWS : System.Web.Services.WebService
    {
        [WebMethod]
        [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
        public List<TipologiaRimborso> Read(string name)
        {
......
....
}

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Mike
Top achievements
Rank 1
Share this question
or