WSDL Refactoring Download Trial - Free 14 day evaluation
ProductivityAndFun Download Trial - Free 14 day evaluation

Working with WSDL Coverage

PDF Print E-mail
User Rating:  / 4
Rate this article: PoorBest 


WS-I Compliance

soapUI includes integrated support for the WS-I organizations Basic Profile validation tools for 2 situations:

Validating WSDL definitions - from the Interface Menu with the "Check WSI Compliance" option. This will run the WS-I Test Tools and validate the WSDL definition accordingly.Validating SOAP request/response messages - from within the Request Editors response popup with the "Check WSI Compliance" option (as described under Message Validation)

1. Click run to create a WS-I report for this interface. You will see WSI analysis tools open. (See Figure - WS-I Analysis tool)

figure19a_pre2

you can also right click on the WSDL interface node and select check WS-I Compliance.

If you want to see WS-I tool's output:

1a. Go to File>Preference>WS-I Setting, Check "show console-log for ws-i analyser". Click OK.

1b. Click run to create a WS-I report again. You will see WSI analysis tool with output displayed. (See Figure - WS-I analysis tool with output displayed)

figure19a_pre


WSDL Refactoring

When updating a WSDL, the underlying contract changes may require changes to all messages related to a certain modification, for example if an element has been renamed or moved. Also, XPath expressions in assertions, property transfers and expansions, etc. may need to be updated to correctly reference updated elements.

The WSDL Refactoring feature in soapUI Pro aims at greatly easing this update process by providing a wizard allowing you to map old message elements to new ones, resulting in automatically updated message content and xpath expressions. You always have the possibility to manually override or discard those changes created by soapUI during the process, ensuring that the correct result comes out in the end.


Getting Started with WSDL Refactoring

1. Right-click on the WSDL interface node and select "Refactor Definition". (see figure - Refactor Definition) You will see Refactor definition window open.

figure19a

2. Click Next. Progress window will open. Then you will see the transfer operation of Refactor Definition. (see figure - transfer operation of refactor definition)

3a Connect and disconnect dada. 

3b Click Next. You will see Refactor Schema. (see figure - Refactor Schema)

4 Click Next. You will see Update XPath Expressions open. (see figure - update XPath Expression). 

5 Click Finish.