To ease the debugging process, you can provide a switch in the Web.config file that instructs the Web Service to write out all MPS requests (input) and MPS responses (output) to a specified directory.
The Web.config file contains two keys in the <appSettings/> node that apply:
Typical settings in the Web.config file are as follows:
<appSettings>
<add key="WriteDebug" value="true" />
<add key="DebugFilePath" value="C:\Debug\" />
</appSettings>