How to connect to web service from remote machine from browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fndjoum
    New Member
    • Nov 2006
    • 20

    How to connect to web service from remote machine from browser

    Hello,
    I have a webservice(call ed MyService) which exposes one method(called
    MyMethod)
    On the local machine, it can be tested by accessing
    http://MyServerName/MySite/MyService.asmx/MyMethod

    But it doesn't work if I access the above one from a remote machine. IS
    there any setting. I change the web.config Web.config to enable response to Http calls

    <webServices>
    <protocols>
    <add name="HttpGet"/>
    <add name="HttpPost"/>
    </protocols>
    </webServices>

    Still doesn't work.

    Any Idea??

    Thanks
  • fndjoum
    New Member
    • Nov 2006
    • 20

    #2
    my goal is to build a web service on my machine to be accessed by people in the company from browser.

    any Idea?

    Thanks

    Comment

    • satyabangaru
      New Member
      • Nov 2006
      • 1

      #3
      Hi
      You have to add the Web Service as a Web reference to Your remote machine.Then u can access the Web method from remote machine.

      Comment

      Working...