Exporting WSDL and XSD documents

You can export Web Services Description Language (WSDL) and XML schema definition (XSD) documents used by a Service Component Architecture (SCA) composition unit to a location of your choice.

Before you begin

Your SCA business-level application must contain one or more composition units that use a WSDL or XSD document.

A WSDL document is a file that provides a set of definitions that describe a web service in WSDL, an Extensible Markup Language (XML)-based description language.

An XSD document is an instance of an XML schema written in the XML schema definition language. The document has the extension .xsd. The prefix xsd in the XML elements of an XSD document indicates the XML schema namespace.

About this task

New feature New feature: You can export WSDL and XSD documents that are used by an SCA composition unit using the administrative console. In previous releases, you had to use the exportWSDLArtifacts command to export WSDL and XSD documents.newfeat

On the composition unit settings page for an SCA composite, click the Export WSDL and XSD documents link and then specify the target location for the files.

The product extracts from the selected composition unit the WSDL and XSD files that are required for web services client development. The files are for the services exposed by the web service binding, binding.ws.

Procedure

  1. Go to the composition unit settings page for the SCA composite.

    Click Applications > Application Types > Business-level applications > application_name > SCA_deployed_asset_name .

  2. Click the Export WSDL and XSD documents link.
  3. From the displayed dialog, specify the target directory to which to save the documents.

Results

The WSDL and XSD documents are copied to the target directory.

Example

Suppose you want to export WSDL or XSD documents in the HelloWorldAsync business-level application that the product provides as a sample. Complete the following actions in the administrative console:

  1. Click Applications > Application Types > Business-level applications > HelloWorldAsync > helloworldws > Export WSDL and XSD documents.
  2. Using the displayed dialog, specify a directory that exists on your computer.

The product adds the helloworldws_WSDLArtifacts.zip file to the specified directory. The helloworldws_WSDLArtifacts.zip file has one WSDL file, AsynchTranslatorComponentTranslatorService_wsdlgen.wsdl.

What to do next

Examine the exported files to ensure that they contain the intended WSDL and XSD documents.

You can export WSDL and XSD documents using the exportWSDLArtifacts command. See "Exporting WSDL and XSD documents using scripting."




In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=tsca_export_wsdl_console
File name: tsca_export_wsdl_console.html