473,472 Members | 1,727 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to find out what methods, etc. a web service makes available?

Hi all,

I've got a URI (ip/port) that has a web service on the other end. I
can't access it through VS Add Web Reference because it requires
authentication. How can I find out the interface the service provides?

Thanks for any tips,

cdj

Jul 19 '07 #1
3 1514
cdj,

You will have to download the WSDL file somehow. I would suggest using
a web browser to get at it (and authenticate you correctly) and then adding
the reference to that. You can set the URI of the proxy you generate in the
config file after that, or in code.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"sherifffruitfly" <sh*************@gmail.comwrote in message
news:11*********************@i38g2000prf.googlegro ups.com...
Hi all,

I've got a URI (ip/port) that has a web service on the other end. I
can't access it through VS Add Web Reference because it requires
authentication. How can I find out the interface the service provides?

Thanks for any tips,

cdj

Jul 19 '07 #2
sherifffruitfly wrote:
I've got a URI (ip/port) that has a web service on the other end. I
can't access it through VS Add Web Reference because it requires
authentication. How can I find out the interface the service provides?
I don't know if it can be specified in VS, but the wsdl command
line utility allow you to specify username and password.

C:\>wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.

....

/username:<username>
/password:<password>
/domain:<domain>
The credentials to use when connecting to a server that
requires authentication. Short forms are '/u:', '/p:' and '/d:'.

....

Arne
Jul 22 '07 #3
On Jul 22, 3:46 pm, Arne Vajhøj <a...@vajhoej.dkwrote:
sherifffruitfly wrote:
I've got a URI (ip/port) that has a web service on the other end. I
can't access it through VS Add Web Reference because it requires
authentication. How can I find out the interface the service provides?

I don't know if it can be specified in VS, but the wsdl command
line utility allow you to specify username and password.

C:\>wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.

...

/username:<username>
/password:<password>
/domain:<domain>
The credentials to use when connecting to a server that
requires authentication. Short forms are '/u:', '/p:' and '/d:'.

...

Arne
Cool - thanks folks!

Jul 22 '07 #4

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

Similar topics

3
by: Gonçalo Rodrigues | last post by:
Hi, Does anyone know if and how I can, from within Python, read the signatures of builtin methods/functions? The following fails: >>> import inspect >>> inspect.getargspec(list.append)...
2
by: Lenin | last post by:
Hi I have a quick question regarding static methods as part of a callback mechanism ( with particular reference to a web service, although it is not a web service question ). Basically I have an...
1
by: Karl | last post by:
I'm trying to learn an acceptable way to marshal complex data between an ASP.NET web service and an ASP.NET web client. Initially, it will be enough for the client to display the data from the...
7
by: Simon Peng | last post by:
-- ---------------- Simon Peng xqpeng@tsinghua.org.cn
1
by: Eugen Frunza | last post by:
http://support.microsoft.com/?kbid=823684 A service that makes a call to the SetProcessWorkingSetSize function fails in Windows Server 2003 and Windows 2000 Server. SYMPTOMS When a service...
13
by: usenet | last post by:
How and where can one find out about the basics of VB/Access2003 syntax? I am a died in the wool C/C++/Java Linux/Unix programmer and I am finding it difficult to understand the program format...
5
by: Venkat | last post by:
Hi, My application is splitted into more than one assembly. And I want to clean up the methods which are not called or not used among any of the assemblies. And also I want to remove the code...
2
by: George | last post by:
I am building Web Services using Visual Basic 2005 in VB.Net 2.0 and based on MSDN Help and various other books I am lead to believe that when I generate a proxy I should have a BeginMethodName and...
14
by: gimme_this_gimme_that | last post by:
What is going on here with the dollar signs and parenthesis? $(document).ready(function(){ $("li").behavior("click",function(){ $(this).load(menu.html"); }); }); And when do you use click...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.