axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jongjin Choi (JIRA)" <>
Subject [jira] Commented: (AXIS-1614) Name collision of generated code caused by AXIS-1598
Date Fri, 29 Oct 2004 05:18:33 GMT
     [ ]
Jongjin Choi commented on AXIS-1614:

Dims, Ias. 

There is a bug in previous patch. 
In, I put the same namespaces into the pkg2Namespaces vector several times.
The containment check is needed.
The patch will be attached as 'Namespaces.diff.txt'

> Name collision of generated code caused by AXIS-1598
> ----------------------------------------------------
>          Key: AXIS-1614
>          URL:
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Jongjin Choi
>     Assignee: Ias
>  Attachments: JavaGeneratorFactory.diff.txt,, SymbolTable.diff.txt,
test.wsdl.diff.txt, wsrf-WS-ResourceProperties-1.2-draft-01-impl.wsdl
> After AXIS 1598 was applied, we met a naming problem that did not exist before.
> * Problem
> WSDL2Java can not process the wsdl which has the same name in portType, operation, complexType
and/or other stuff in it.
> * Solution
> The 4.3.12 of JAX-RPC 1.1 spec addressed this kind of naming collisions. This is partly
implemented in current Axis. 
> The attached patch makes it a little more compliant to JAX-RPC spec.
> This also solves the name collision problem of AXIS-1598.
> * Caution
> In current axis, Axis uses suffixes to resolve the name collision. For xsd:element and
wsdl:portType, the suffixes are:
> xsd:element -> _ElemType
> wsdl:PortType -> _Port
> But in JAX-RPC 1.1 spec, the suffixes are:
> xsd:element -> _Element
> wsdl:PortType -> _PortType
> I follow the way of JAX-RPC 1.1 in this patch. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message