473,467 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

problem using consumed web service

I am attempting to use the web service located at:
http://www.cmsmobilesuite.com:8080/a...es/CmsApi?wsdl
using asp and c#. I have added this as a web reference to my project
and am able to
access this object. However, when I try to call the Authenticate
method using
the following code:
CmsApi cmsService = new CmsApi();
string response = cmsService.Authenticate(userName.Text,
passWord.Text);
result.Text = response;
I get an error stating that no overload for method 'Authenticate'
takes two arguments. I am told that the Authenticate method is
supposed to be sent the username and password as two strings, so this
doesn't make much sense to me.

Mar 12 '07 #1
1 1014
Hi Lambelly,

If you added the web reference in your project you should be able to
investigate the web service reference file and see the signature of the
function, right?

Eugen

"lambelly" wrote:
I am attempting to use the web service located at:
http://www.cmsmobilesuite.com:8080/a...es/CmsApi?wsdl
using asp and c#. I have added this as a web reference to my project
and am able to
access this object. However, when I try to call the Authenticate
method using
the following code:
CmsApi cmsService = new CmsApi();
string response = cmsService.Authenticate(userName.Text,
passWord.Text);
result.Text = response;
I get an error stating that no overload for method 'Authenticate'
takes two arguments. I am told that the Authenticate method is
supposed to be sent the username and password as two strings, so this
doesn't make much sense to me.

Mar 15 '07 #2

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

Similar topics

45
by: Joh | last post by:
hello, i'm trying to understand how i could build following consecutive sets from a root one using generator : l = would like to produce : , , , ,
5
by: Leonardo Hyppolito | last post by:
Hello! I am trying to implement a program that uses Threads. I chose the producers and consumers scenario. The producers put a "product" (which is an int number) in a shared storage place of one...
0
by: Peter Conrey | last post by:
I have a perl web service (using SOAP::Lite) with a method called "Detail" that returns a strucure (hash reference to be exact). It works fine when consumed by a Perl client, but when I try to...
2
by: Paul Whygle | last post by:
Is it possible to inherit a class that is a part of a Consumed Webservice? I have been trying to get this to work and i cant seem to figure it out. When i look at the "code-behind" (for lack of a...
2
by: GeRmIc | last post by:
Hi, I am writing a C# client to consume a Java web service. The web service returns a vector how do i consume that in C#? I am writing a C# web application.
1
by: Jothi | last post by:
Hi, We are a small application development group. We have about 100 Users who primarily use Microsoft Related Products. Our Application Development was purley based on a CLient Server Model using...
1
by: mohitjaitly | last post by:
HI, Consuming a web service made in java , in Dot Net is OK. Issue here is that, if I do have some custom Object to be passed as parameter to the Web Service , then how details of that custom object...
11
by: aljaber | last post by:
hi, i am facing a problem with my program output here is the program /*********************************************\ * CD Database * * ...
10
by: George Sakkis | last post by:
I'd like some feedback on a solution to a variant of the producer- consumer problem. My first few attempts turned out to deadlock occasionally; this one seems to be deadlock-free so far but I can't...
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
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...
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: 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...
0
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...

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.