Problems calling web service from 64-bit client

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Meira
    New Member
    • May 2014
    • 1

    Problems calling web service from 64-bit client

    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?
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    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".

    -Frinny

    Comment

    Working...