Reverse engineer WSDL via SoapUI

Sometimes you want to reverse engineer a WSDL file from a SoapUI testcase. A good example is where you started with a WCF service without security and then you add transport security with let’s say basic authentication. If you try to retrieve the wsdl now by accessing https://biztalk01/K2W/EenheidService.svc?wsdl via a browser, you might get stuck entering username and password and getting all sorts of errors.

Now, instead of going back to the service with security mode=None and client credentials=None, you can simply retrieve the wsdl and the accompanying xsd’s via SoapUI. Use context menu Export Definition as shown in the below screen print.

Leave a Reply

Your email address will not be published. Required fields are marked *