WAS v8.5 > Deploy applications > Deploy SCA composites > Deploy SCA business-level applications

Export WSDL and XSD documents

We 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.

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 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. We can export WSDL and XSD documents used by an SCA composition unit using the dmgr console. In previous releases, you had to use the exportWSDLArtifacts command to export WSDL and XSD documents.

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.

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

  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 to export WSDL or XSD documents in the HelloWorldAsync business-level application the product provides as a sample. Complete the following actions in the dmgr 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.

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

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

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


Related concepts:

WSDL


Related


Example: Creating an SCA business-level application with scripting
Example: Creating an SCA business-level application with the console
Export WSDL and XSD documents using scripting


+

Search Tips   |   Advanced Search