Nicholas DiPiazza
Nicholas DiPiazza

Reputation: 10595

How do you log soap XML requests and responses to and from Sharepoint within sharepoint?

I'm using sharepoint soap web services

I would like to turn on some logging on the sharepoint side that logs the incoming and outgoing soap xml messages.

can it be done??

Upvotes: 0

Views: 450

Answers (1)

Max
Max

Reputation: 7090

Inside Sharepoint,both 2010 and 2013 there is Diagnostic Logging but I think it does not write anything on SOAP messages, for this reason I would look for a solution inside IIS.

Sharepoint 2013 using WCF, you can use Configure Message Loggin, very simple to use by editing the web.config.

Sharepoint 2010 use old-style asmx, in this case is slightly harder, you can write a SoapExtension at this MSDN link you can see a simple implementation and this Stackoverflow Article explain how-to register.

Also you can try the Fiddler program.

Upvotes: 1

Related Questions