BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie SOAP question asp.net (C#) consuming Delphi7 web serv

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP
View previous topic :: View next topic  
Author Message
Ralph Maas
Guest





PostPosted: Mon May 21, 2007 7:58 pm    Post subject: Newbie SOAP question asp.net (C#) consuming Delphi7 web serv Reply with quote



Hi,

I'm fairly new to SOAP and have this test-case I cannot get to work. Can
someone please help me out?

I wrote a D7 webservice and am running it in the WebAppDebugger. I wrote a
client in D7 and called two methods: Login and Logout.

This all works great!!!

Now I have to access the D7 webservice from a asp.net (C#) client. And then
the problem begin.

I imported the WebReference to the service. No problem.

I wrote some code to call Login. No problem.

Then I tried this:
---------------------------------------------------- BEGIN
MyServer.IWinservice wsTest = new MyServer.IWinservice();

int sessionID = -1;

int ret;

wsTest.Timeout = 100000;


ret = wsTest.LogInUP("ralph", "maas", ref sessionID);

wsTest.LogOut(sessionID);

---------------------------------------------------- END

And the problems begin (maybe M$, but I'm not sure).

A exception is thown of type System.Net.WebException and a status of
System.Net.WebExceptionStatus.KeepAliveFailure.

I did a lot of 'googling' and found some thing about to do or not to do
'Connection: keep-alive'. I do not understand what is going wrong.

Can anyone please help me?

Regards,

Ralph.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.