axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15779
Date Fri, 21 Feb 2003 14:35:13 GMT

I think I prefer option 1, which is what I think just got committed.
We should leave behavior the same unless we need to resolve a conflict.

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: James M Snell [mailto:jasnell@us.ibm.com] 
Sent: Thursday, February 20, 2003 5:23 PM
To: axis-dev@ws.apache.org
Subject: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15779

I wanted to poll the committers before I did anything to fix this [1] bug

Basically, the problem is name collisions between the generated package 
and class names.  WSDL2Java provides options to get around this but it 
would be preferable if the tool automatically dealt with these types of 
collisions.  There are a number of potential solutions...

1. Check for a collision and IF there is one, append a "_pkg" to the end 
of the package name.
2. Prepend a "wsdl." or "pkg." to all package names regardless of whether 
or not there is a collision

Are there other options and what is your prefered solution?  The JAX-RPC 
specification doesn't help answer the question, I already checked.

[1] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15779

- James Snell
     IBM Emerging Technologies
     jasnell@us.ibm.com
     (559) 587-1233 (office)
     (700) 544-9035 (t/l)
     Programming Web Services With SOAP
         O'Reilly & Associates, ISBN 0596000952

     Have I not commanded you? Be strong and courageous. 
     Do not be terrified, do not be discouraged, for the Lord your 
     God will be with you whereever you go.    - Joshua 1:9

Mime
View raw message