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

Logging SOAP transactions?

Hi there,

I was just wondering if there was an easy (IE: Built into .NET) way of
automatically logging all the full SOAP messages that go through a web
service?

Thanks,

Chris

Feb 8 '06 #1
6 4525
I am also interested to know the same.

Feb 8 '06 #2
On 8 Feb 2006 07:21:55 -0800, "Chris Ashley"
<ch***********@gmail.com> wrote:
I was just wondering if there was an easy (IE: Built into .NET) way of
automatically logging all the full SOAP messages that go through a web
service?


Use TcpTrace (http://www.pocketsoap.com/tcptrace/) and put it between
your application and the host. You'll find some documentation at the
website.

HTH

Cheers,
Udo
Feb 8 '06 #3
You can do this by creating a SoapExtention. Check this article out:
http://msdn.microsoft.com/library/de...Extensions.asp.
The article contains an example code to create a trace extention for
web services..

Hope this helps...
NuTcAsE

Feb 8 '06 #4
On 8 Feb 2006 11:35:03 -0800, "NuTcAsE" <ra********@gmail.com> wrote:
You can do this by creating a SoapExtention. Check this article out:
http://msdn.microsoft.com/library/de...Extensions.asp.
The article contains an example code to create a trace extention for
web services..


Might work, too, but AFAIR Chris wanted an easy (in this case, I
guess, quick as well) way to accomplish this. ;)
With TcpTrace you don't really have to alter your source code. Just
change the port in the .config. That should do the trick - at least it
did it for me.

Cheers,
Udo
Feb 9 '06 #5

Udo Nesshoever wrote:
I was just wondering if there was an easy (IE: Built into .NET) way of
automatically logging all the full SOAP messages that go through a web
service?


Use TcpTrace (http://www.pocketsoap.com/tcptrace/) and put it between
your application and the host. You'll find some documentation at the
website.


Hi Udo,

Thanks for that. This looks like just what I need. I must confess to
being a little confused as to what I need to do in order to get this
working. What change should I make to the .config file in order to get
this working?

Thanks in advance,

Chris

Feb 9 '06 #6
On 9 Feb 2006 01:22:05 -0800, "Chris Ashley"
<ch***********@gmail.com> wrote:
Use TcpTrace (http://www.pocketsoap.com/tcptrace/) and put it between
your application and the host. You'll find some documentation at the
website.
Thanks for that. This looks like just what I need. I must confess to
being a little confused as to what I need to do in order to get this
working. What change should I make to the .config file in order to get
this working?


Let's assume your client communicates with the server over port 80.
Now configure TcpTrace so it listens to port 8080 and set the
destination address to your server's name and the destination port to
80. Now change your client's address to communicate with to localhost
and the port to 8080.

original:
client sends to [server:80] ---> server listens @ port 80

now:
client sends to [localhost:8080] ---> TcpTrace listens @ port 8080
and
TrcTrace send to [server:80] ---> server (still) listens @ port 80

HTH

Cheers,
Udo
Feb 10 '06 #7

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

Similar topics

1
by: DB2 Convert | last post by:
Hi, A few points to confirm as I am still new with DB2. 1. What will happen if archive logging is used, however there is no userexit or manual process to move those online archived logs to...
2
by: v. Seydewitz | last post by:
Hello, I want to log the soap requests (and responses) in my C# webservice consumer. I have extended my class with the SoapExtension, but the debugger don't step into the overridden methods. The...
2
by: Galore | last post by:
Hello, I have the situation: I've got an application that calls lots of web services, throught the Internet. I need to keep track of every web service call (every data that's transfered), and...
7
by: cj | last post by:
Simple Object Access Protocol is new to me. Can anyone point me to a simple soap example? I found something on MS site but they don't tell me what namespace to include for dim SOAPClient = New...
1
by: Joel.Hedlund | last post by:
Hi! I'm writing a server and I want to use the logging module for logging stuff. I want to log all transactions in detail, and if everything goes haywire I want to know which client did it....
0
by: rshekhtm | last post by:
Hi everyone, I would like to get your opinion on a technique I came up with when faced with the problem of redundant code in every web method (authentication, logging, exception handling)....
0
by: israelekpo | last post by:
phpPaypalPro version 0.2.0 Released The second version of phpPaypalPro has been released. phpPaypalPro is an object-oriented framework developed in PHP5 to integrate easily with the Website...
4
by: Joseph Geretz | last post by:
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code...
4
by: lfhenry | last post by:
I am a newbie to HADR and Admin of DB2 (I am websphere guy). My question relates to DB2 logging. I've read that HADR does not allow Infinite logging (-1). I am expecting my Database to grow...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.