Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Integration of JAX-WS RI"

(New page: = Goal = To integrate JAX-WS RI as jaxws runtime to STP project. = Requirements = 1. Create a jaxws project with this kind of runtime. 2. Generate java classes from wsdl using the tools...)
 
(wsdl2java parameter setting page)
Line 22: Line 22:
 
The following parameters can be set on this page:
 
The following parameters can be set on this page:
 
  Output directory: Specify where to place generated output files.
 
  Output directory: Specify where to place generated output files.
Package name: Specifying a target package via this command-line option, overrides any wsdl and schema binding customization for package name and the default package name algorithm defined in the specification.
 
 
  Binding File: Specify external JAX-WS or JAXB binding files.
 
  Binding File: Specify external JAX-WS or JAXB binding files.
 
  Verbose: Output messages about what the compiler is doing.
 
  Verbose: Output messages about what the compiler is doing.
 
  May be more or less...
 
  May be more or less...

Revision as of 01:58, 14 September 2007

Goal

To integrate JAX-WS RI as jaxws runtime to STP project.

Requirements

1. Create a jaxws project with this kind of runtime.
2. Generate java classes from wsdl using the tools provided by this runtime.
3. Generate wsdl from SEI using the tools provided by this runtime.

Solution

The solution is very similar to CXF runtime integration.

Runtime Model

The new runtime model will be used. Please refer to

http://wiki.eclipse.org/SOAS_Refactor

Main tasks:

1. Add a new runtime type. (Johnson will do this.)
2. Extend the runtime provider extension point to support this runtime type.

Generators

There are two generators: java2wsdl and wsdl2java. The solution is using command line method to invoke the related generator tools provided by the runtime. It is the same as what is described in the follow wiki page:

http://wiki.eclipse.org/Runtime_Dependencies_Structure_Refactor

UI

Preference page

Only one selection for user on this page: soap1.1 or soap1.2. This selection will determine which version of SOAP to be used when invoking the generators.

wsdl2java parameter setting page

The following parameters can be set on this page:

Output directory: Specify where to place generated output files.
Binding File: Specify external JAX-WS or JAXB binding files.
Verbose: Output messages about what the compiler is doing.
May be more or less...

Back to the top