call webservice

call webservice

Hi,

i try to call a webservice with parameter. I want to lookup for a companyname by enter his ID. I see only the alert after the complete and never the succes or the failure. Anyone help me?

Code:

<script type="text/javascript" src="http://kmosvi24/_layouts/jquery-1.3.2.min.js"></script>

<script type="text/javascript">
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "http://webss/service.asmx/getCompanyByCompanyID",
data: "{'sCompanyID:' + ADESERER}",
dataType: "json",
complete: function(result) { alert("" + result); },
succes:function() { alert("tedsdfst"); },
failure: function() { alert("Uh oh"); }
});




</script>

*Edit*

I have try error and then i get one. How can i know what the problem is?