Creating a Web Service model from imported WSDL file

You can create a Web service in your VDB by importing WSDL files from the file system. Dimension will interpret the WSDL, locate any associated or dependent XML schema files, generate an XML View of the schema components and create a Web service model representing the interfaces and operations defined in the WSDL.

To import from WSDL, follow the steps below...

> Step 1: In the VDB Explorer, choose the Import action in the toolbar .... and select the WSDL File into Web Service Model option.

> Step 2: The first wizard page, Create Web Service from WSDL File , specify a valid name for your Web service model, "Browse..." the file system and select one or more existing WSDL files.

> > Notes:

> > - If no WSDL is selected or specified then the importer will only create an empty Web service model. No XML Schema or XML View models will be generated.
> > - Any referenced files (WSDLs or schemas) must either be embedded in the WSDL file or exist on your file system

> Step 3: The next page is titled "Namespace Resolution". This page identifies successful and errant WSDL namespace resolution. The main WSDL document will essentially always be resolved, since the file chooser is used to obtain the path. Problems will occur when the main WSDL file imports other WSDL files that cannot be resolved..... If no errors, select "Next" to proceed, or "Finish" to complete with default options.

> Step 4: The next page is titled "Schema Workspace Location Selection ". This page lists all schemas imported by the WSDL (along with any dependent schemas referenced within schemas) as well as schemas embedded in the WSDL and indicates whether or not they are resolvable. All resolved schemas will be created in a separate file and added to the workspace. The editor panel allows you to change the default file name of the new schema file(s).

> If no errors, select "Next" to proceed, or "Finish" to complete with default options.

> Step 5: The last page titled "XML Model Generation " allows you to change the name of the XML View model if the "Generate virtual XML document model" is checked. Input desired name or use the default name provide. Select "Finish" to complete.

(c) Copyright © 2000-2006 MetaMatrix, Inc. All rights reserved.
Visit http://www.metamatrix.com