I use a packet sniffer to capture all TCP and HTTP data between the client (.Net)
and the server (easysoap++):

=== client -> server ===
POST /cgi-bin/rpc_soap HTTP1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 
1.0.3705.209)
Content-Type: text/xml; charset=utf-8
SOAPAction: http://www.my.com/mapi
Content-Length: 344
Expect: 100-continue
Connection: Keep-Alive
Host: 192.168.1.57

=== server -> client ===
HTTP1.1 100 Continue

=== client -> server ===
<? xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap:http://schemas.xmlsoap.org/soap/envelope"; xlmns: 
xsi="http://www.w3c.org/2001/XMLSchema";><soap: Body><login 
xmlns="http://www.my.com/mapi";><username>myID</username><passwd>myPassword</passwd></login></soap:Body></soap:Envelope>

=== server -> client ===
HTTP/1.1 OK
Date: Mon, 30 Apr 2002 14:19:59 GMT
Server: Apache/1.3.24 (Unix
SOAPServer: EasySoap++/0.5
Content-Length: 449
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/xml; charset="UTF-8"

<E:Envelope xmlns:E="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:A="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:s="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:y="http://www.w3.org/2001/XMLSchema"; 
E:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";><E:Body><m:loginResponse 
xmlns:m="http://www.my.com/mapi";><result 
s:type="y:string">1,1020192207,7fdb7a3a936aba9d857c0824f6e42ca7</result></m:loginResponse></E:Body></E:Envelope>

======================================

The <result>string</result> is what I'm interested in but .Net shows nothing!

-----Original Message-----
From: Christian Weyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 2:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Remote web service


Did you aready use a logging tool like tcpTrace [1] to watch what the
server is answering ... ?

Cheers,
Christian
---------------------------------
  .NET XML Web Services Repertory
   http://www.xmlwebservices.cc/
---------------------------------

[1] http://www.pocketsoap.com/

Dzuy Nguyen wrote:
> Hello,
>
> I'm trying to access a remote application from .Net via the SOAP interface.
> My first C# program code is as follow:

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to