473,545 Members | 2,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to connect to web service from remote machine from browser

20 New Member
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
Nov 15 '06 #1
2 3263
fndjoum
20 New Member
my goal is to build a web service on my machine to be accessed by people in the company from browser.

any Idea?

Thanks
Nov 16 '06 #2
satyabangaru
1 New Member
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.
Nov 27 '06 #3

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

Similar topics

4
5994
by: Steve Meier | last post by:
Environment: SQLServer Developer Edition on Machine A Enterprise Manager running on remote machine B Both machines are in the same subnet I open Enterprise Mgr on Machine A, right click on the Stored Proc, enter the parameters and the debugger stops on the first line and I can single
3
8141
by: Nidhee Pathak via .NET 247 | last post by:
Hi, I am trying to run an exe present on the remote machine using the ManagementClass object. I connect to the remote machine using ObjectManagementScope class, but i am not being able to run the exe through normal Win32 process. How should I go about it? -------------------------------- From: Nidhee Pathak ----------------------- Posted...
3
1456
by: Just D. | last post by:
I know that writing ASPX app we easily can get all required information about remote machine and network right from the user's browser using this request: NameValueCollection coll = Request.ServerVariables; But what if we write a Web Service? What can we do in this case? How can we get the remote machine IP and the HostName for example?...
0
1696
by: Michael Höhne | last post by:
Hi, we're developing some web services and use the local development server of Visual Studio 2005 to create, run and debug the project. The web service methods connect to a database hosted on a dedicated server and the Microsoft CRM 3.0 server, also on a separate machine. As the CRM server installation makes changes to the Active Directory,...
1
2195
by: Chris Davoli | last post by:
Somebody I work with created a web service and of course it creates an asmx page for the web service. When you open this page up on the browser it gives you a kind of tester page where you can enter parameters and invoke and test the web service and get back xml to see what the output xml looks like. I guess it creates this page fon the wdsl....
3
7857
by: spens | last post by:
os winxp import wmi c = wmi.WMI(computer="10.1.1.1", user="name", password="pass") for host in c.Win32_ComputerSystem(): ...... and so on
1
990
by: fndjoum | last post by:
Hello, I have a webservice(called 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...
0
1102
by: fndjoum | last post by:
Hello, I have a webservice(called 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...
1
2192
by: mohammedsk | last post by:
Hi, I am trying to connect to a remote machine with known IP address within a network in an office using C language. I used C before to connect to database, but never used it to connect locally to a machine in a network. Are there any sources for this matter? most online searches result on how to connect to a database or FTP server. Any...
0
1495
by: Rajeevk | last post by:
Hi, I want to change the remote machine's date and time using C#, I am able to change the local machine's date time but have no idea how to connect the remote machine (in c#.net). can anybody help me out on this. All help appreciated !!!! Thanks, Rajeev India
0
7425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7682
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7449
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7780
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5351
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.