Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Deploy and administering business-level applications


Export WSDL and XSD documents

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

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

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 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 admin console:

  1. Click Applications > Application Types > Business-level applications > HelloWorldAsync > helloworldws > Export WSDL and XSD documents.

  2. Use 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.

We can export WSDL and XSD documents using the exportWSDLArtifacts command. See "Exporting WSDL and XSD documents using scripting."
WSDL
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