You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Interface Generation Scenarios

I want to understand how the Tuscany tools can be used to create services from interface definitions and how interfaces can be generated from service implementations. In particular we currently have two sets of tool.

  1. Design time tools wsdl2java, java2wsl and the associated maven wrapperd
  2. Run time tools which generate wsdl from interfaces on demand while components are running

So what situations can these be used in and what features do the tools present. We may even get some documentation out of this exercise.

The Scenarios

Design Time - Top Down

WSDL -> wsdl2java -> java interface
Separate XSD
Included WSDL
Base types
POJO
JAXB
Static SDO
Dynamic SDO

Design Time - Bottom Up

Java Interface -> java2wsdl -> WSDL + XSD
POJO
JAXB
Static SDO
Dynamic

Run Time

Java Interface > runtime java2wsdl -> ?WSDL
POJO
JAXB
Static SDO
Dynamic SDO

?wsdl
written to file system

  • No labels