Axismora WSDL2Ws spsecification

Contents

1.Functionality

1.1 Types of classes
1.2 Programming Languages
1.3 Encoding Style
1.4 Style of the Service
1.5 Supports for making simple custom types
1.6 Supported schema type

2.Architecture

2.1 Outline
2.2 Mediator WsContext
2.3 Generator
2.4 Flow of Execution
2.5 Class Diagram
2.5 Sequence Diagram

1.Functionality

The tool should be able to generate different types of Wrapper.

1.1 Types of classes

The Tool Should starts with a WSDL document and generate following classes.


1.2 Programming Languages

The tool should able to generate classes for

The tool should be extensible to support other programming languages if required.

1.3 Encoding Style

The tool should be support SOAP1.2 encoding style and extensible to support other encoding styles as well.

1.4 Style of the Service

The tool should able to generate classes for following styles


1.5 Supports for making simple custom types

Tool generate Wrapper for custom types in following conditions.


1.6 Supported schema type

do not support Enumarations.

2.Architecture

2.1 Outline

The tool takes a top down approach. It starts with a wsdl document and generates all the classes necessary to deploy the web service. It generates.

For more information about the generated classes please refer to the architecture documentation.

WSG - WebServiceGenarator
Usrop - user options

The blue arrows means the execution will go for one of the objects and black arrows mean tool will go to all the objects.

The factories have used to have right kind of instances at each occasion. The path and how the execution is done depend on the options. e.g. if the targetEngine is client all generators except generator creates server wrapper will be called or else server all generators except generator creates client stub will be called. MSG-WSG and DOC-WSG will call the generators even they are not shown.

2.2 Mediator WsContext

The WSDL file and the user options are processed by the WSDLWs. The WSDL create a class called wsContext(WebServiceContext) which is the runtime representation of the processed data. This wsContext passes to the generators. The generators extract the information form the wsContext create the files.The wsContext act as a mediator and create a loosely coupled system.

wsContext has following componets.

2.3 Generator

Generator generate a class depend on the options, It contains a class called SourceWriter and the concrete implementation of the SourceWriter decides what will Genarator generate. The SourceWriter factory create a correct type of generator depend on the options.

2.4 Flow of Execution

2.5 Class Diagram

Above class diagram shows the class structure of the tool. The extensibility has been the major concern of the design.

2.5 Sequence Diagram

Note.

To really work on this please go through the example3 description at userguide.