473,327 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Multiple Web Services on the Same localhost

Hi,
I'm creating an ASP.NET website in Visual Studion 2005 using Csharp and
have added Web References to "two" Web Services running on my localhost
(Both WebServices and ASP.Net website are on the same machine). Even
though the Web References exist, I am unable to consume the second Web
Service I created. When I try to reference the WebMethod exposed by
the second webservice, Visual Studio does not automatically recognise
its existence.

The first web service created still works fine. Newbie to Web Services
:-)

Please let me know what am I doing wrong.

Thank you

Khurram.

Jul 17 '06 #1
2 1276
Also my ASP.NET app does not allow me to create an object of the second
web service. I seem to be able to add the web service to my project as
it appears in the "Solution Explorer" but dont seem to be to actually
consume it. Please help. Very desperate.

Khurram
Deecrypt wrote:
Hi,
I'm creating an ASP.NET website in Visual Studion 2005 using Csharp and
have added Web References to "two" Web Services running on my localhost
(Both WebServices and ASP.Net website are on the same machine). Even
though the Web References exist, I am unable to consume the second Web
Service I created. When I try to reference the WebMethod exposed by
the second webservice, Visual Studio does not automatically recognise
its existence.

The first web service created still works fine. Newbie to Web Services
:-)

Please let me know what am I doing wrong.

Thank you

Khurram.
Jul 17 '06 #2
Dont know how but somehow I am able to consume both Web services using
the same ASP.NET application now. All I did was create a test project
and tried to do the same thing again and it worked. When I went back
to bmy original project, there too it worked.

Just thought i'd share

Khurram
Deecrypt wrote:
Also my ASP.NET app does not allow me to create an object of the second
web service. I seem to be able to add the web service to my project as
it appears in the "Solution Explorer" but dont seem to be to actually
consume it. Please help. Very desperate.

Khurram
Deecrypt wrote:
Hi,
I'm creating an ASP.NET website in Visual Studion 2005 using Csharp and
have added Web References to "two" Web Services running on my localhost
(Both WebServices and ASP.Net website are on the same machine). Even
though the Web References exist, I am unable to consume the second Web
Service I created. When I try to reference the WebMethod exposed by
the second webservice, Visual Studio does not automatically recognise
its existence.

The first web service created still works fine. Newbie to Web Services
:-)

Please let me know what am I doing wrong.

Thank you

Khurram.
Jul 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
0
by: Adam Smith | last post by:
Hello. I've got a total of 5 schemas. They are: 1 - 1.xsd - a description of a city 2 - 2.xsd - a description of a town 3 - CityHall.xsd - a description of a cityhall-meant to be part of a...
9
by: Mairhtin O'Feannag | last post by:
Hello, We have two machines we wish to use DPF. They are both RH ES 2.1, with DB2 8.2. I read the documentation CAREFULLY, and added the following line to my db2nodes.cfg file : 1 egret 0
0
by: Saumendra | last post by:
Hi guys, When I am adding a Web Reference in Visual Studio.net, I provide the url to the .vsdisco file, so that Visual Studio.net can dynamically discover all the available Web Services. Now when...
3
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types...
0
by: Peter Theill | last post by:
I have these two web services: namespace WebService1 { public class Service1 : System.Web.Services.WebService { public Service1() { } public string HelloWorld() {
6
by: Steve Mauldin | last post by:
I have three websites that were developed by using the same code in .net. They are all located under wwwroot on my desktop running windows 2000 pro.because Windows 2000 pro only supports a single...
0
by: rmk | last post by:
How can I get the 2000 and 2005 versions of SQL Server Reporting Services both working on my development laptop ????? I have ASP.NET 1.1 and 2.0 installed on my laptop. I have Visual Studio...
3
by: Blasting Cap | last post by:
I'm using VS 2005, SQL 2005 reporting services. SQL reporting services is working, and I have it both on my local computer, as well as on a server. I've created a report in the SQL Business...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.