By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,913 Members | 1,356 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,913 IT Pros & Developers. It's quick & easy.

Problems calling web service from 64-bit client

P: 1
I have a web service (.NET 2.0) that defines a function with input parameters defined as "int".
This web service is running on a 32-bit machine or 64-bit machine.
There is a client that is calling this web service method (written in js).
Client that running on a 64-bit machine failes.
while client that running on a 32-bit machine succeed the request.
Is the any idea for the reason?
May 8 '14 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,731
I think you are going to have to specify which version of int to use because the bits that represent the integer are going to be different on a 32 bit operating system vs a 64 bit operating system.

If you are targeting both 64 and 32 bit platforms, consider using Int32 instead of "int".

May 12 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.