Home > Blockchain >  View Soap Requests from imported connected service
View Soap Requests from imported connected service

Time:09-09

I'm trying to implement a consumer for a 3rd party SOAP service. I've imported the asmx in as a connected service and able to initialise the client and make requests etc all fine to a point.

Where my trouble begins is a couple of the requests I'm making from all appearances are working correctly and returning me success results but when viewing the results at the other, the data I'm posting is just not there. I've been speaking to the providers of this SOAP service, and they've asked I send them the requests I'm making. However, since I'm using the generated SOApClient, I'm not sure exactly how to get the actual request.

Is there away to view the actual SOAP messages? Did have a look at Fiddler, but couldn't see anything bar the network traffic.

My project is C# .Net 4.8 and working in Visual Studio 2022

CodePudding user response:

There should be options in App.config or Web.config to enable logging of the messages.

For example: https://docs.microsoft.com/en-us/dotnet/framework/wcf/diagnostics/tracing/configuring-tracing

  • Related