473,396 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Bad performance on Web Service call

Hi,

I have the following situation. COM server exposed on Windows CE 5.0 through
SOAP (SOAP toolkit)
C# client on XP calls Web Service methods on CE (COM)SOAP server.
The complete call takes 527msec. Why is it so much?
The SOAP method call is very simple : a COM method with 1 argument (long)
The Ethereal logging shows that the CE server side responsiveness is good,
but the XP C# client waits a very long time before he gives an ack
on the previous TCP message initiated by the CE server.
Why does it take so long on the XP side to give the acknowledge? This makes
the SOAP implementation VEEERRRYYY slow compared to for example DCOM. I can
make the same call with DCOM in less than 2msec.

CE side = Pentium M 1.3Ghz, Windows CE 5.0
XP side = Pentium 4 2.66Ghz, Windows XP Pro SP2, .NET 2.0, WSE 3 installed
I am not using any authentication (anonymous) or security

Ethereal trace
1 0.000000 192.168.2.40 -192.168.2.48 TCP [TCP segment of a reassembled
PDU]
2 0.119940 192.168.2.48 -192.168.2.40 TCP http 1442 [ACK] Seq=0
Ack=307 Win=32406 Len=0
3 0.119968 192.168.2.40 -192.168.2.48 HTTP POST /GateWS.wsdl HTTP/1.1
4.0.120142 192.168.2.48 -192.168.2.40 TCP http 1442 [ACK] Seq=0
Ack=867 Win=32580 Len=0
5 0.120677 192.168.2.48 -192.168.2.40 TCP [TCP segment of a reassembled
PDU]
6 0.309083 192.168.2.40 -192.168.2.48 TCP 1442 http [ACK] Seq=867
Ack=185 Win=64842 Len=0
7 0.309211 192.168.2.48 -192.168.2.40 HTTP HTTP/1.0 200 OK
8 0.527824 192.168.2.40 -192.168.2.48 TCP 1442 http [ACK] Seq=867
Ack=508 Win=64519 Len=0

CE server = 192.168.2.48
XP client = 192.168.2.40

1 = Initial call from client to server "POST /GateWS.wsdl"
2 = Acknowledge of message 1 by server
3 = Call SOAP method
4 = Acknowledge of message 3 by server
5 = "HTTP1.0 200 OK"
6 = Acknowledge of message 5 by client
7 = SOAP call response
8 = Acknowledge of message 7 by client
Werner

Oct 24 '06 #1
0 1756

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

Similar topics

5
by: John Bailo | last post by:
I wrote a webservice to output a report file. The fields of the report are formatted based on information in an in-memory XmlDocument. As each row of a SqlDataReader are looped through, a...
1
by: Benjamin | last post by:
Hi, I'm currently writing a Web Services that interacts with a database. To allow me to use not just one database provider (for example, I could use MS Access, SQL Server or MySQL), the Web...
13
by: bjarne | last post by:
Willy Denoyette wrote; > ... it > was not the intention of StrousTrup to the achieve the level of efficiency > of C when he invented C++, ... Ahmmm. It was my aim to match the performance...
6
by: Mike | last post by:
Lets just say my app is done HOO HOO. Now, I'm accessing the database via a web service and one thing i noticed that my app is running real slow. When I first started working on the app is ran...
1
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name...
1
by: Ken Varn | last post by:
I have just started playing around with Web Services. I created a sample Web Service and invoked a sample "Hello World" method call from my Win Forms control running under an ASP.NET web page. ...
1
by: hilel_d | last post by:
I noticed that each call to a web service method creates a new instance of the web service class by calling its constructor. As I was not aware of that at the time the code was written I included...
3
by: Markus | last post by:
Hi, I am developing a service, both client and server in C# WSE2. To secure the connection I'm using both server and client certificate. The problem is that I receive a performance hit for about...
2
by: J Disharoon | last post by:
I have a web service that does some heavy lifting with XML and hash tables. I moved my architecture to Windows 2003 (5 identical servers behind a load balancer, 1 stayed on Windows 2000), and now...
3
by: robin9876 | last post by:
In a deployed .Net Service is there any settings that can be made on the server level that can log all requests to the service and the time that the request was made to the service and the time the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...

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.