Importing and exporting WSDL files

Web Services Description Language (WSDL) files are commonly shared amongst users working on service oriented architecture (SOA) projects. This section describes the benefits of using WebSphere Integration Developer's wizards to import and export WSDL files with options to make the WSDL files interoperable with different vendors and reusable within the WebSphere Integration Developer workspace.

Interoperability and reuse are two good reasons to use the importing and exporting WSDL file wizards in WebSphere Integration Developer over any manual process.

Interoperability

SOA projects by definition integrate a wide spectrum of applications. Although these applications are themselves defined as services, that is, they have an XML layer of code that separates them from the actual implementation, even that XML layer can have inconsistencies. These inconsistencies can lead to interoperability problems. Typically, these interoperability problems occur when enterprises are building their SOA applications with development products from several vendors. One common difference is that some vendors place the port type, that is, the interface in WebSphere Integration Developer, in one file and the types it references in separate schema files. Other vendors place their schemas within the same file, a technique known as inline schemas or inline business objects.

WebSphere Integration Developer has an import wizard that can extract a Web service endpoint into a separate file and extract inline schemas into separate schema files. You also have the option of importing a WSDL file containing its Web service endpoint and inline schemas and extracting these elements later with a refactoring wizard.

An export wizard can place an interface and business objects, if they are in an external file and referenced by the WSDL file, inline. If an endpoint such as a port is defined in one file and a port type (or interface) is defined in another file then this wizard can merge them also.

Using these importing, exporting and refactoring wizards, you can share WSDL files created in WebSphere Integration Developer with others in your organization regardless of the different development environments. Conversely, you can share WSDL files as well as refactor WSDL files produced by other tools from other vendors inside WebSphere Integration Developer.

Reuse

When working on large SOA projects that share many modules amongst many developers, reuse can play a significant role in reducing development time. On SOA projects, sharing interfaces and business objects in libraries is a recommended good programming practice to minimize development time. The wizard supports and encourages reuse. For example, the import wizard can extract a service endpoint from a WSDL file, so that the port type can be reused. It can also extract inlined schemas so that the business objects can be reused. The extracted business objects can themselves be extended and reused by other business objects as attributes.

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.