Search code examples
c#xmlwcfwcftestclient

WCF Test Client that allows me to view/edit the request XML


From time to time we need to test why a certain request coming from our MQ to a WCF service failed. I need to be able to debug the service and find out where it went wrong and resolve the issue. The only information i have is the XML request that was sent to the service. Before we moved to WCF i used a custom tool to send the request to my ASMX debug instance but since we moved to WCF I dont seem to have that option. All the clients i have tried only allow you to fill in the fields through a UI and this is not an option when dealing with huge requests.

  1. Is there a free or open source client that will allow me to do this? I have searched and tried loads but none seem to do it.
  2. Alternatively is there a tutorial or article on writing a test client of this kind? Again i have searched but there seems to be a lack of information on WCF clients and a huge amount on the services.

tl;dr; Im looking for a WCF test client that will allow me to paste in an XML request and send it to a WCF service or a tutorial that will start me in the right direction.


Solution

  • Of course it is not free, but one of our teams is using Altova XMLSpy for that purpose and it works fine.

    You can also check (Not sure they will allow you to edit SOAP, but have a try):

    Also check Web Service Studio 2.0 I have tried it will allow you to edit requests.