Example

In this example, we have imported the WSDL my_StockQuotes.wsdl into our local WSDL. This WSDL is a copy of the Swanand Mokashi StockQuotes.wsdl. When imported, Stylus Studio creates the following:

<?xml version="1.0"?>

<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns:auto9="http://swanandmokashi.com">

<wsdl:import namespace="http://swanandmokashi.com"

location="file:///w:/testing/my_StockQuotes.wsdl"/>


              </wsdl:definitions>
               

            

In addition to the default xmlns:xsd and xmlns:wsdl namespaces created with the Definitions elements, notice that the xmlns:auto9 namespace has been added.

Now, if we load the imported WSDL and then create a Binding element, we see that the Type property drop-down list contains several types with the auto9 namespace prefix:

Figure 385. Elements Defined in an Imported WSDL

In addition, the imported WSDL now appears in the definitions browser.

Figure 386. Definition Browser Shows Imported WSDL

Learn Convert to XML

Convert to XML lets you convert .txt, binary, and EDI files to XML documents. Convert to XML works on a single document, or to build reusable converters that let you open flat files as XML documents. Free online demonstration!

XML-DEV Discussion Forum

XML-DEV is a leading technical forum for XML discussion and a valuable free XML learning resource. Subscribe to the XML-DEV email discussion forum today to help further your XML education.

Stylus Studio's Advanced XQuery Mapper Features

Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!

XQuery Documentation Generator

Stylus Studio provides integrated support for xqDoc so you can generate XQuery documentation directly from the XQuery editor.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member