User Guide > Definition Sets > Using a WSDL Definition Set
 
Using a WSDL Definition Set
You can use a WSDL definition set in a procedure or a view. The example here shows how a WSDL definition set can be used in a procedure.
To use a WSDL definition set in a procedure
1. In Studio, define and save a WSDL definition set.
This example uses a WSDL definition set named wsdltest.
2. Create or open a procedure.
3. Reference the WSDL definition set in the PROCEDURE using the TDV resource path and name.
4. The SQL script below uses the SQL definition set named mySQLDef.
You can drag and drop the definition set resource from the Studio resource tree, causing the full name to appear in the procedure text panel. Refer the TDV Reference Guide for more details on the SQL Script parameters.
For example, if you reference the wsdltest WSDL definition set shown above, you would reference it in a procedure as shown in this example, where it is used for both input and output parameters.
Note: The type elements defined in the wsdltest definition set like TradePriceRequest and TradePrice are also referenced.