About the Generated Code

This section describes details about the Java code generated from a Web service call.

The Package Name

Stylus Studio bases the package name on the target namespace of the WSDL. For example, if we use a WSDL from www.swanandmokashi.com, the resulting Java package name is com.shawandmokashi. As described in the following sections, target directory and project folder names are also based on the WSDL's target namespace.

Target Directory

By default, when you generate a Java Web service client, Stylus Studio creates a \java folder in your system's \temp directory ( c:\temp\java, for example). Subfolders based on the package name are created beneath the \java folder, and the Java classes are written there. For example, c:\temp\java\com\swanandmokashi\*.java.

You can specify whatever target directory you like, but the subfolders based on the package name cannot be specified when you generate the Java code.

Project Folders

By default, Stylus Studio adds the Java classes based on the Web service call to the current project, using the name of the target directory you specify; subfolders are based on the package name ( \java\com\swanandmokashi, for example).

Classes

Stylus Studio generates a separate Java class for each function described in the WSDL of the current Web service call. Using the StockQuotes Web service from www.swanandmokashi.com, for example, results in the generation of the following Java classes:

  • GetQuotes.java
  • GetQuotesResponse.java
  • Quote.java
  • StockQuotes.java
  • StockQuotesLocator.java
  • StockQuotesSoap.java
  • StockQuotesSoapStub.java

Introduction to the XQuery Mapper

This free online video demonstration covers Stylus Studio's synchronized XQuery editing and mapping tool which allows you to create any XQuery expression, either manually using Stylus Studio's XQuery editor.

Saxon XSLT Processor

Stylus Studio® has partnered with Saxonica, a leading provider of Java-based XSLT and XQuery processing components to offer a robust XSLT 1.0 and 2.0 development environment, featuring development and deployment using the Saxon XSLT processor.

Airlines, Aerospace and Defense

Want to know what airlines, aerospace and defense companies are soaring high with Stylus Studio 2006? Well now you can! Come check out these leading companies and soar with Stylus Studio 2006 yourself.

Convert CSV to XML

Convert CSV to XML with a handy CSV to XML document wizard that helps you extract data from your CSV files with ease.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member