Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Cross domain webservice call from client code

Cross domain webservice call from client code

Scheduled Pinned Locked Moved Web Development
javascriptsysadminquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amitar27
    wrote on last edited by
    #1

    Hi, Is there a way to make cross domain webservice call from client code(javascript or xmlhttp)? Webservice is in intranet and not open to the outside world therefore i can't make a server proxy :(. Thanks, Amit Thanks, Amit

    J J 2 Replies Last reply
    0
    • A amitar27

      Hi, Is there a way to make cross domain webservice call from client code(javascript or xmlhttp)? Webservice is in intranet and not open to the outside world therefore i can't make a server proxy :(. Thanks, Amit Thanks, Amit

      J Offline
      J Offline
      JimmyRopes
      wrote on last edited by
      #2

      The short answer is no. At least not to my knowledge.

      amitar27 wrote:

      (javascript or xmlhttp)

      When you make an XMLHTTPRequest call it is from a javascript. XMLHTTPRequest is limited to calls to the same domain for security reasons.

      Simply Elegant Designs JimmyRopes Designs
      Think inside the box! ProActive Secure Systems
      I'm on-line therefore I am. JimmyRopes

      1 Reply Last reply
      0
      • A amitar27

        Hi, Is there a way to make cross domain webservice call from client code(javascript or xmlhttp)? Webservice is in intranet and not open to the outside world therefore i can't make a server proxy :(. Thanks, Amit Thanks, Amit

        J Offline
        J Offline
        Justin Williams
        wrote on last edited by
        #3

        You could use the old iframe trick. You can load an iframe with anything the client has access to, have the iframe hidden, and access its contents via javascript. What we use to do before XMLHTTPRequest was ubiquitous but more work involved.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups