Solved

wcf, jquery/ajax

Posted on 2015-02-03
1
137 Views
Last Modified: 2015-02-19
I use jquery/ajax to consume wcf /json enabled service and find a rare issue.
For some reasons, I can't view the wcf, and I do not know how to fix it. any ideas below?

case 1: not working:
url: GetDealerListJSon + encodeURIComponent("([5,5,5],SA7,062,337557,[KDAV300,KDX40,CSGW1200])"),
                 

case2: working
url: GetDealerListJSon + encodeURIComponent("([555],SA7,062,337557,[KDAV300,KDX40,CSGW1200])"),


how can I make it working like case 1.
0
Comment
Question by:ITsolutionWizard
1 Comment
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 40587851
Q1. Could you post the WCF method declaration for GetDealerListJSon?
There maybe an issue with the first parameter but hard to tell without looking at the method.
Q2. Is this a REST web service?

Also if you can add error method to your ajax method call as shown here and post the reported error message. It would be better if you can post your ajax method code as well.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
jQuery Animation timing on tablet 1 28
Problem to picture file 3 40
gif animation 6 21
Jquery form submit not working ? 7 17
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now