login
Forgot?

Don't have an account? Register one now!

Login

ASP.NET JQUERY Cross Domain with Web Service

Bids 
15
Avg Bid
$104 USD
$805 HKD
CLOSED
  • Project ID:

    1427031
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD
    (Approx. $232-$1942 HKD)

Project Description:

Need an example of a cross domain Jquery - Ajax

Currently my Jquery against a webservice.asmx works great when the jquery and webservice.asmx are on the same server.

Here is the problem when I move the webservice.asmx to a different domain the Jquery fails for the following reasons:
-- reason 1; returns xml NOT JSON
-- returns a GET; not a POST

Look at the two attached screen shots. local webservice.jpg shows everything working & remote webservice.jpg shows the webservice returning XML.

Attached is a ZIP file with two websites. Place both in the Visual Studio 2010 project.

This should be done in Visual Studio 2010 with ASP.NET 4.0.

The websites are:
Site 1: Williamsport
Site 2: WebSite22

Williamsport has three files that are important

File 1: Defaults.aspx – this calls webservice2.asmx; method ZIP3_NEW
-this works, return JSON, returns a POST, JQUERY autocomplete pops up) – see local webservice.jpg

File 2: CrossDomain.aspx – this calls http://localhost:20568/WebSite22/ZIP3_NEW webservice; cross domain call
-this returns xml not JSON, also does not return a POST, stops at a get – see remote webservice.jpg

File 3: WebService2.asmx (this contains method ZIP3_NEW)

Website22 has one file that is important

File 1: WebService2.asmx (this contain method ZIP3_NEW -- this the webservice called during the cross domain call).

Both Site 1 and Site 2 have the same webservice. It is WebService2.asmx/ZIP3_NEW

Here is the job:

Build a Visual Studio 2010 project with both websites inside.
Step 1 - Run defaut.aspx from Williamsport Website - this runs well - no problem.
Step 2 - Run crossdomain.aspx from Williamsport Website - this does not return JSON and the JQuery does not receive the data to get the Autocomplete to work.

Look at the issues in Fiddler. Firebug or whatever debugger you want.

Get the crossdomain.aspx to work just like default.aspx

The project probable only involves changing a line of two of code for a developer that knows what he is doing.

I will give the best recommendation to whoever handles this for me.

*****************
I will award the job as soon as I get a qualified developer to give me a reasonable bid.
I need to get this this done ASAP.
***************************

Skills required:

.NET, AJAX, ASP, Visual Basic

Additional Files:

local+webservice.jpg remote+webservice.jpg WPX.zip Williamsport.zip

Project posted by:

Pemaquidgroup United States
5.0 (2 Reviews)

Last seen: Feb 08, 2012 5:31 PM HKT

Public Clarification Board

1 messages


If you are the project creator or one of the bidders, please Log In for more options.


All Bids ()

nc.JPG
netcoder
Serbia and Montenegro From Serbia and Montenegro        Offline
$55 in 5 days 
$28 Milestone Requested
3 months ago
4.9

6.2

128 Reviews
79% Completion Rate
Hi, I think I can do it:-)! Best regards, netcoder:-)
Untitled-1.png
OShuqair
Palestine From Palestine    Premium Membership     Offline
  Freelancer Orientation (75%, 94th percentile)
  Employer Orientation (75%, 97th percentile)
  Participated in the 2012 Freelancer.com Scavenger Hunt
$150 in 2 days 
$75 Milestone Requested
3 months ago
5.0

5.7

39 Reviews
88% Completion Rate
Hello Sir, I can help you doing this.
change_93875.jpg
manhpham
Viet Nam From Viet Nam    Standard Membership     Offline
  Freelancer Orientation (75%, 94th percentile)
  ASP Level 1 (75%, 94th percentile)
  SQL Level 1 (90%, 85th percentile)
  Java Level 1 (78%, 80th percentile)
  C# 1 (78%, 94th percentile)
  Employer Orientation (75%, 95th percentile)
$80 in 1 day 
$40 Milestone Requested
3 months ago
5.0

4.6

23 Reviews
67% Completion Rate
I am confident to help you right now.Please let me do it for you.
New Logo 3.PNG
snsTechnologies
Pakistan From Pakistan    Premium Membership     Offline
  Freelancer Orientation (80%, 97th percentile)
  Employer Orientation (75%, 97th percentile)
  Participated in the 2012 Freelancer.com Scavenger Hunt
$125 in 2 days 
$45 Milestone Requested
3 months ago
4.9

4.3

8 Reviews
80% Completion Rate
Please see PM for detailed proposal. Thanks!
contactfordotnet
India From India        Offline
$90 in 1 day 
$9 Milestone Requested
3 months ago
4.6

4.1

4 Reviews
75% Completion Rate
Hi, Please check your PMB.
SL.jpg
Jaipawan
India From India        Offline
  Freelancer Orientation (75%, 94th percentile)
  Employer Orientation (80%, 99th percentile)
$90 in 2 days 
$45 Milestone Requested
3 months ago
4.9

3.3

3 Reviews
75% Completion Rate
Hi, I am ready to work on that. Please refer the PMB. Thanks
chickenlit244020.gif
littlemaster2706
India From India        Offline
  General Orientation (80%, 90th percentile)
$125 in 2 days 
$25 Milestone Requested
3 months ago
4.6

1.4

1 Review
50% Completion Rate
Hi!! I had download your given project code files. Let me look into it & come-up a solution for it. I am planning to deliver my feedback within this weekend. I hope, we can build a strong business relationship f... more
Hi!! I had download your given project code files. Let me look into it & come-up a solution for it. I am planning to deliver my feedback within this weekend. I hope, we can build a strong business relationship for future, with this simple task. less
noimage.jpg
yadavsatyam2
India From India        Offline
$100 in 1 day 
$50 Milestone Requested
3 months ago
5.0

1.0

1 Review
33% Completion Rate
hello i can do this ,please give me chance having 3 + year work experience on .net
ReliableAuthorizedDealerLogo.jpg
apatel7777
India From India        Offline
$30 in 0 days 
$15 Milestone Requested
3 months ago
3.6

1.0

1 Review
50% Completion Rate
hi please check your pm
6454_1215440183716_1160174742_30644421_5651625_n.jpg
arcticwalker
Philippines From Philippines        Offline
$250 in 1 day 
0
3 months ago
Sir, Allow me to fix your problem by choosing my bid. I require no upfront cost, pay upon completion only.
CROPPED-scan.jpg
hainahoo
       Offline
$100 in 0 days 
$30 Milestone Requested
3 months ago
0.0

0.0

0 Reviews
0% Completion Rate
Hi, I am looking to grab this easy task from you.
Logo - Copy.png
alinamishti
India From India        Offline
$200 in 15 days 
$60 Milestone Requested
3 months ago
Respected Client Please check my PBM for more details thanks
Levi.jpg
levanlevi
Georgia From Georgia        Offline
$80 in 1 day 
$40 Milestone Requested
3 months ago
0.0

0.0

0 Reviews
50% Completion Rate
Hi, I can do the work, I know what's problem. See PM
Irfan Bahrain bridge.jpg
irfanglb
India From India        Offline
$30 in 1 day 
$15 Milestone Requested
3 months ago
I am an expert ASP.NET developer. I can get it done soon.
nexus_new_logo.png
nexusfintech
India From India        Offline
$50 in 1 day 
0
3 months ago
0.0

0.0

1 Review
0% Completion Rate
Sir, Please check the PM for further details.