Trace utility?

Posted by Deepak under ASP.NET on 2/5/2009 | Views : 2209 | Status : [Member] | Replies : 3
What is the use of trace utility?




Responses

Posted by: Hemanthlaxmi on: 10/18/2011 [Member] Starter | Points: 25

Up
0
Down
The Microsoft? Simple Object Access Protocol (SOAP) Toolkit
2.0 includes a TCP/IP trace utility, MSSOAPT.EXE. You use
this trace utility to view the SOAP messages sent by HTTP
between a SOAP client and a service on the server.
Using the Trace Utility on the Server
To see all of a service's messages received from and sent to
all clients, perform the following steps on the server.
0. On the server, open the Web Services Description Language
(WSDL) file.
1. In the WSDL file, locate the <soap:address> element that
corresponds to the service and change the location attribute
for this element to port 8080. For example, if the location
attribute specifies <http://MyServer/VDir/Service.wsdl>
change this attribute to
<http://MyServer:8080/VDir/Service.wsdl>.
2. Run MSSOAPT.exe.
3. On the File menu, point to New, and either click
Formatted Trace (if you don't want to see HTTP headers) or
click Unformatted Trace (if you do want to see HTTP headers).
4. In the Trace Setup dialog box, click OK to accept the
default values.
Using the Trace Utility on the Client
To see all messages sent to and received from a service, do
the following steps on the client.
5. Copy the WSDL file from the server to the client.
6. Modify location attribute of the <soap:address> element
in the local copy of the WSDL document to direct the client
to localhost:8080 and make a note of the current host and
port. For example, if the WSDL contains
<http://MyServer/VDir/Service.wsdl>, change it to
<http://localhost:8080/VDir/Service.wsdl> and make note of
"MyServer".
7. On the client, run MSSOPT.exe.
8. On the File menu, point to New, and either click
Formatted Trace (if you don't want to see HTTP headers) or
click Unformatted Trace (if you do want to see HTTP headers).
9. In the Destination host box, enter the host specified in
Step 2.
10. In the Destination port box, enter the port specified in
Step 2.
11. Click OK.

If this helps you .
Please "Mark as Answer"

Deepak, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 2/19/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Before you post in the Forum you must Google first
[u]
http://www.google.co.za/search?hl=en&q=Trace+Utility+in+.NET&btnG=Google+Search&meta=[/u]



Thank you for posting at Dotnetfunda
[Administrator]

Deepak, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Deepak on: 2/19/2009 [Member] Starter

Up
0
Down
Ok...





Deepak, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response