<p>I have a web service that I created in C# and a test harness that was provided by my client. Unfortunately my web service doesn't seem to be parsing the objects created by the test harness. I believe the problem lies with serializing the soap packet. </p>

<p>Using TCPTrace I was able to get the soap packet passed to the web service but only on a remote machine so I can't debug it there. Is there a way of calling my local webservice with the soap packet generated rather than my current test harness where I manually create objects and call the web service through a web reference?</p>

<p>[edit] The machine that I got the soap packet was on a vm so I can't link it to my machine. I suppose I'm looking for a tool that I can paste the soap packet into and it will in turn call my web service</p>

[{'answer_id': 28660, 'author': 'ZombieSheep', 'author_id': 377, 'author_profile': 'https://Stackoverflow.com/users/377', 'pm_score': 1, 'selected': False, 'text': '<p>By default, .Net will not allow you to connect a packet analyzer like TCPTrace or Fiddler (which I prefer) to localhost or 127.0.0.1 connections (for reasons that I forget now..)</p>\n\n<p>Best way would be to reference your web services via a full IP address or FQDN where possible.  That will allow you to trace the calls in the tool of your choice.</p>\n'}, {'answer_id': 28667, 'author': 'palehorse', 'author_id': 312, 'author_profile': 'https://Stackoverflow.com/users/312', 'pm_score': 3, 'selected': True, 'text': '<p>A somewhat manual process would be to use the <a href="http://code.google.com/p/poster-extension/" rel="nofollow noreferrer">Poster</a> add-in for Firefox.  There is also a java utility called <a href="http://sourceforge.net/project/showfiles.php?group_id=136013&amp;package_id=163662&amp;release_id=500134" rel="nofollow noreferrer">SoapUI</a> that has some discovery based automated templates that you can then modify and run against your service.</p>\n'}, {'answer_id': 28759, 'author': 'Damien B', 'author_id': 3069, 'author_profile': 'https://Stackoverflow.com/users/3069', 'pm_score': 0, 'selected': False, 'text': '<p>Same as palehorse, use soapUI or directly the specific component for that feature: <a href="http://ws.apache.org/commons/tcpmon/" rel="nofollow noreferrer">TCPMon</a>.</p>\n'}, {'answer_id': 29199, 'author': 'Joel Lucsy', 'author_id': 645, 'author_profile': 'https://Stackoverflow.com/users/645', 'pm_score': 0, 'selected': False, 'text': "<p>Just did this the other day with TCPTrace on the local machine. I mapped the remote host in the hosts file to 127.0.0.1. Ran the local web server on 8080, TcpTrace on 80 pointing to 127.0.0.1:8080. Probably your issue is trying to run both at port 80 which won't work.</p>\n"}]
['https://Stackoverflow.com/questions/28654', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1076/']