473,320 Members | 1,916 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,320 software developers and data experts.

tracing web service calls

Our three tier web application is "pausing" under test loading (IIS 6.0
(win2003) -> Web services (win2003) -> SQL server) . The CPU usage on
the W3WP.exe on both the web server and middle tier drops to zero for
about 5 seconds then springs back into life. Nothing in the NT event
logs. No SQL database blocking.

I suspect it is a particular web service call. With SQL server I can
start a "trace" and get a list of all SQL calls (and their
parameters) and how long they are taking - this allows me to track
down "slow" SQL code. I can't see any tool that allows me to do
this for web service calls? Surly there is some IIS plug in that will
allow me to monitor this traffic?

May 28 '06 #1
4 1415
> this for web service calls? Surly there is some IIS plug in that will
allow me to monitor this traffic?


If you enable logging in IIS, you'll get to know these details -- including
the size of request, response; time of request, response; remote host, URL
etc
--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
http://www.edujini.in
http://webservices.edujini.in
-------------------
May 28 '06 #2
Thanks for the suggestion. The logs do not show me the actual web
service requests - something that should be easy to do as its all XML.
I think the IIS team needs to have a look at the SQL tools and get
something similar to their profiler. I beleive IBM have created such a
tool for their web service solutions.

May 29 '06 #3
ma*******@etrade.com.au wrote:
I suspect it is a particular web service call. With SQL server I can
start a "trace" and get a list of all SQL calls (and their
parameters) and how long they are taking - this allows me to track
down "slow" SQL code. I can't see any tool that allows me to do
this for web service calls? Surly there is some IIS plug in that will
allow me to monitor this traffic?


http://msdn.microsoft.com/library/de.../en-us/cpref/h
tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp

(URL Wraps. Or use http://tinyurl.com/empf)

Just dress your method with a [Trace( FileName="<enter filename
here">)] attribute and the request + response will be saved to the
file. This applies only to the Request or Response XML, not the HTTP
headers.

HTH,

--
Deepak Shenoy
http://shenoyatwork.blogspot.com
May 30 '06 #4
You could try developing a Web Service SoapExtension to log the SOAP
messages for the problem method(s).

Simon.

<ma*******@etrade.com.au> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
Our three tier web application is "pausing" under test loading (IIS 6.0
(win2003) -> Web services (win2003) -> SQL server) . The CPU usage on
the W3WP.exe on both the web server and middle tier drops to zero for
about 5 seconds then springs back into life. Nothing in the NT event
logs. No SQL database blocking.

I suspect it is a particular web service call. With SQL server I can
start a "trace" and get a list of all SQL calls (and their
parameters) and how long they are taking - this allows me to track
down "slow" SQL code. I can't see any tool that allows me to do
this for web service calls? Surly there is some IIS plug in that will
allow me to monitor this traffic?

Jun 2 '06 #5

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

Similar topics

18
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is...
5
by: Stig | last post by:
I would like to output the sequence of method calls from a running c# applcaition, but I don't want to add Debug.trace calls at the entry and exit points in each an every methods. Does there...
0
by: Paul Ibison | last post by:
HI when I have a page which calls a component I want to do the following - tracing set to false on the pag tracing set to true in the componen tracing set to false in the page after the call to...
3
by: Tim Mavers | last post by:
Is there an easy way to turn on soap tracing of some sort for a web service? We have built a web service (in production) that is experiencing problems for a client. Is there an easy way we could...
0
by: cesporma | last post by:
Hello - I have created a web service using VS.NET 2005 and using the System.Diagnostics tracing to write to a file. This all works great in my development environment. Once I publish the web...
4
by: magennisw | last post by:
Our three tier web application is "pausing" under test loading (IIS 6.0 (win2003) -> Web services (win2003) -> SQL server) . The CPU usage on the W3WP.exe on both the web server and middle tier...
0
by: Scott Holman | last post by:
I have enabled message tracing on the WCF service. I was attempting to see the difference between binding wsHTTP with MTOM message encoding vs wsHTTP with text message encoding. After changing...
6
by: beachdog | last post by:
I am building a client which accesses a web service (HTTP/SOAP), and I think the response message is somehow not in agreement with my wsdl/ proxy class. I am able to access SOAP headers ok from...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.