473,395 Members | 1,742 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,395 software developers and data experts.

Web Services:

Web Services:

i hav a very basic question. i hav written a web service creating a new webservice proj along in my existing soloution... there r errors in the main proj,but the webservicer proj is perfect with no errors. i built it and did 'View in browser'.. i cud see the methods ..web methods...but how to add the reference(url) to my project. and i dont find any invoke button nywhere...is there any problem with my webservice or am i trying to use it in a wrong way ??? pleasse reply me ASAp.
Jul 11 '08 #1
6 1301
Plater
7,872 Expert 4TB
I am not sure I understand what you are asking.
If your webserver works fine, just use it?
Jul 11 '08 #2
Curtis Rutland
3,256 Expert 2GB
If you are doing an ASP.NET project, right click the project and chooose "Add Web Reference." If you are using a forms/console app, right click the References folder and click "Add Web Reference." Then put in your URL.

That's how you add a web reference. Then you can instantiate your class and use the WebMethods.
Jul 11 '08 #3
i dont hav an option to add web reference when i do a right click,.,.,.i hav add Service reference & add reference.

Also, wht shud be the url that i need to add as web reference, is it the url where on a page i can see the methods or the url , when i click on the methods..and my ques is y am i not able to see INVOKE under methods.cud u pls let me know.plss
Jul 11 '08 #4
Plater
7,872 Expert 4TB
i dont hav an option to add web reference when i do a right click,.,.,.i hav add Service reference & add reference.
What version of .NET are you using and what version of visual studio do you have? Also, what kind of project are you trying to use the web service with?
Jul 11 '08 #5
3.5, Vs 2008...it Is A Web App
Jul 11 '08 #6
Plater
7,872 Expert 4TB
That's strange that a web application does not have the "add a web reference" option. I have it in vs2005. I don't think you can add a web reference to a web service though, maybe you have to make sure you're on the correct project for it to allow you to add the reference?
Jul 11 '08 #7

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

Similar topics

4
by: rbt | last post by:
How does one associate a "Description" with a Windows service written in Python? I've just started experimenting with Python services. Here's my code... copied straight from Mr. Hammond's "Python...
6
by: cs | last post by:
I noticed there is some .net services on my winxp. One or two mention the CLR. Does that mean that my .net apps/services wont run before those services start? I need to run my service as early on...
0
by: Diego F. | last post by:
I've been days with that. I'm trying to work with web services sending and returning objects, and the web service must store some objects. - My first try (the most obvious in my opinion) was to use...
26
by: Mr Newbie | last post by:
What do I need to run a web service on my PC ? I know I need the .NET Framework, but do I need IIS Running ?
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...
7
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is...
3
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : ...
2
by: sdstraub | last post by:
I have created 5 services in my project, in the 1st service I set servicestorun = array of all 5 services, I have a project installer with 5 service installers, one for each service. I have code...
0
by: krishnaraju | last post by:
HI to all, please help me.its urgent requirement. my question is this is the wsdl file i got from our client.please see at bottom. when iam trying to access that webmethods iam getting...
1
by: Data Entry Outsourcing | last post by:
Data Entry plays vital role in every business area. Data Entry is one such aspects of any business that needs to be handled properly for expanding your business. Data Entry is one of the leading...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.