javascript - Ajax Axis2 communication issue -


i've been trying result ajax command end failure

$.ajax({             type: "get",             url: "http://[localhost]:80**/*****/getdata.jws",             data: 'method=s**&table=empservice&condition=%22id_service%22%3d'+$(this).val()+'',             success: processsuccess,              error: processerror             });      function processsuccess(data, status, req) {     if (status == "success")     alert("success"); }  function processerror(data, status, req) {     alert("error"); }           }       }); 

this supposed call jws web-service , return xml result, i've tested url in browser , returns wanted result xml ( url being url concatenated "?" , data = http://[localhost]:80/*/getdata.jws?method=s**&table=empservice&condition=%22id_service%22%3d2) i've tried make variable $(this).val() before call nothing works please

ps: after call alert popup containing "error" message

ps2: know i'll anyway [localhost] = localhost because website not allow localhost in link

try changing error handler more info "error". write actual error firebug console. also, take @ firebug console see being sent. assuming aware referring firefox firebug add-on.

error   : function(xhr, textstatus, error){     console.log(xhr.statustext);     console.log(textstatus);     console.log(error); 

td


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -