 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ralph Maas Guest
|
Posted: Mon May 21, 2007 7:58 pm Post subject: Newbie SOAP question asp.net (C#) consuming Delphi7 web serv |
|
|
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 |
|
 |
|
|
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
|
|