Getting the "final" XML that is transmitted over the wire for SOAP web service

Giganews Newsgroups
Subject: Getting the "final" XML that is transmitted over the wire for SOAP web service
Posted by:  Pall Bjornsson (pal…@kvos.is)
Date: Thu, 3 Apr 2008

Hi !

I am consuming a SOAP WebService from my VS2005 VB.NET project.

I need to be able to access the final XML that will be transmitted over the
wire to the web service.

I have build the Webservice proxy class, using the WDSL.EXE program, from
the WDSL retrieved from the webservice.

I can find no info on how to get this final XML.

The closest I can get is to use System.Xml.Serialization.XmlSerializer to
serialize the data structure that will be included in the SOAP call, but
that doesn't tell me everything.

Is there a way to get to the final XML?

Regards,
Palli

Replies