Rational Rhapsody projects 3. In the Stereotype field, select > and enter serviceContract . Click OK . 4. Create the block or class that realizes the serviceContract. Apply the stereotype > to it. 5. Add a standard port to the > . Set the port to provide the service contract interface. Stereotype this port > . 6. Define all of the data types needed by the interface. 7. Set the stereotype on the package to >. Exporting a WSDL specification file To export a WSDL specification file from your Rational Rhapsody project: 1. Open the NetCentric project containing the WSDL specification. It is stored as a > stereotyped package. 2. Select that package in the project browser. 3.
Select Tools > Generate WSDL Specification . 4. Enter the name and location for the output of WSDL specification file. Specify the target output file with the .wsdl extension. 5. Click OK . When the export is complete, you can open the WSDL file in any editor. Importing a WSDL specification To import a WSDL specification file into a Rational Rhapsody project: 1. With the Rational Rhapsody project open, choose Tools > Import WSDL Specification . 2. Select the previously generated WSDL file and click Open . 276 User Guide