Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8524283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:38:42+00:00 2026-06-11T07:38:42+00:00

I have hosted a web service that gets called from an ASP.NET 1.1 by

  • 0

I have hosted a web service that gets called from an ASP.NET 1.1 by jQuery ajax.

Here is the code i am using to call the web service :

function OnTrimLevelChange() 
{
    var $jDecode = jQuery.noConflict();
    var vin = $jDecode("input[id*=txtVIN]").val();
    var styleId = '';
    var paramList = '{"vin": "' + vin + '","styleID": "' + styleId + '"}';
    try
    {

        $jDecode.ajax({
            type: 'POST',
            contentType: 'application/json; charset=utf-8',
            url: 'http://192.168.10.10/VINDecoder/service.asmx/CallADSWebMethod',
            data: paramList,
            dataType: 'json',
            success: function(data) {
                alert('I am here');
        },
            error: function(xml,textStatus,errorThrown) {
                alert(xml.status + "||" + xml.responseText);
            }
        });
    }
    catch(er)
    {
    }
}

=======================================================
The above always going to the error part.
Error:
xml.status = 0
xml.responseText = null

Web method code is :

[WebMethod]
public VINDescription CallADSWebMethod(string vin, string styleID)
{
       VehicleDescription vehicleDescription = FetchVehicleInfo(vin, true, styleID);

        VINDescription vinDescription = new VINDescription();

        try
        {
            if (vehicleDescription != null)
            {
                //Check if the response status of the call is successful or not.
                if (vehicleDescription.responseStatus.description.Equals("Successful"))
                {
                    vinDescription = AddToVINDescription(vehicleDescription);

                }
            }
        }
        catch (NullReferenceException ex)
        {
        }
        return vinDescription;
}

Note : The webservice is created in .Net 4.0 and site from which i am calling is in 1.1.
They are hosted in different servers.

PLease let me know what am i lacking here or what mistake i am doing her..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:38:44+00:00Added an answer on June 11, 2026 at 7:38 am

    Script service execution was needed to be enabled in the web service. Like this :

    [ScriptService]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to consume a .NET hosted web service from a Java application. Interoperability
My requirement is to call WCF web service from ASP.NET code behind and pass
I have a web service that serves widgets. It is hosted on a server
i have a hosted web site and i have an asp.net mvc site. The
We have an ASP.NET web application hosted by a web farm of many instances
I have a WCF service hosted that is returning a byte[] of protobuf-net serialized
I have a web service that is being hosted in SharePoint. The WebService is
I have an asp.net mvc 2 web application that connects to a WCF web
I have developed a web service using netbeans. It's currently being hosted locally(localhost). I
I have a dirt simple web service hosted in IIS that I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.