Really liked the convenience of just firing up the web browser and typing in some values to test an ASMX web service, is this no longer possible with WCF?
Inside Visual StudioAfter you create a new WCF service project and press F5 to start the debugger, the WCF Service Host begins to host the service in your project. Then, WCF Test Client opens and displays a list of service endpoints defined in the configuration file.
Test the ServiceFrom the main menu, click DEBUG > Start Without Debugging. This starts the service and invokes the WCF Test Client window. The left pane shows the endpoint for your service and the operations that are exposed.
Open soapUI and set the following settings. Make sure the service's wsdl path is correct. Double click on Request # node and navigate to the request window on the right. Fill the method parameters denoted by “?”.
You cannot have that, unfortunately.
But you do get the WCF Test Client instead!
It's available from your C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\
directory, and it's a GUI tool to attach to WCF services and test them interactively. Quite handy.
As a benefit, the WCF Test Client can also deal with "complex" types, e.g. objects, that you want to pass into service calls - that was never possible on the ASMX test pages.
Otherwise, you'd have to use something like WCF Storm (.NET tool) or SoapUI (Java-based) for your SOAP services.
Marc
Pretty sure you can point the WCFTestClient at anything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With