views:

52

answers:

1

I am doing integration testing of my system with a 3rd party web service. They have provided the WSDL and the XML soap response packets but the web service hasn't been built yet. I am using WCF to call the web service.

Any suggestions on how to write the end-point to send back the response contained in the XML file?

I know I can generate the service side from the WSDL but I'd like to verify the integration using the supplied XML packets.

A: 

I'm sure there's a more technical way, maybe using an interceptor to replace the soap response form your mock service, but a quick hack might be to just create the Mock service with SvcUtil, and grab your own SOAP response off the wire with fiddler or wireshark and compare the responses.

Doobi