Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 107,664 C# Programmers for FREE! Ask your question and get quick answers from experts. There are 1,062 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Help with web services cllient

 
Reply to this topicStart new topic

Help with web services cllient

zoltern
post 8 Aug, 2008 - 11:17 AM
Post #1


New D.I.C Head

*
Joined: 8 Aug, 2008
Posts: 1

Hello people!

Im new to c# and im having some trouble writting a c# client to web services call.

Im using visual studio 2005, as it is for PDA (windows mobile 6).

The problem is that i add the web reference and the VS creates all the code, but when i call one of its methods, nothing happens...

Let me be more specific: My server was written in python and run on a console. With python i can output a string to the console every time a request arives. When i call from c#, it doesnt even do that...

I writted 2 other clients, for the same server, using python and php and both run fine...
CODE

ws = new Usuario(); //my web service
string id_usuario = "";
try
{
id_usuario = ws.autentica(this.usuario, this.senha); // the call it self
}
catch (Exception e)
{
id_usuario = e.Message; //never enter the exception part
return;
}


and here id_usuario is still ""......


I thank you in advance for your answers!

Tiago Becker
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/29/08 10:37PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month