axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject Re: Enhancement request: CORBA to WSDL Spec.
Date Wed, 22 Oct 2003 16:40:42 GMT
Oliver Wulff wrote:
> 
> 
> 
> Hi all
> 
> The CORBA to WSDL spec (http://www.omg.org/docs/ptc/03-01-14.pdf) defines
> how Corba modules are mapped to WSDL.
> 
> Ex.
> Corba Idl:
> module myservice {
>       interface Calculator {
>             typedef long Number_T;
>             long add (in Number_T op1, in Number_T op2);
>       };
> };
> 
> WSDL:
> <simpleType name="myservice.Calculator.Number_T">
>       <restriction base="xsd:long"/>
> </simpleType>
> 
> Classes with long names will be generated when I run WSDL2Java
> ->MyService.Calculator.Number_T.
> 
> Wouldn't it make sense to map names with "." as seperators to Java package
> names:
>       package myservice.calculator;
>       public class Number_T {
>       ....
> 
> An option for the WSDL2Java program would be desirable.
> 
> Looking forward at an interesting discussion...
> 

I think the WSDL naming policies in axis are driven primarily by the 
JAX-RPC specs; this gives people consistency across implementations. 
This makes it hard to change, even when there are improvments...



Mime
View raw message