Issue Details (XML | Word | Printable)

Key: TUSCANY-178
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Rick Rineholt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Tuscany

Diffrent algorithms used to map uri to java package name.

Created: 11/Apr/06 09:39 PM   Updated: 27/Mar/07 10:17 AM
Return to search
Component/s: Java SCA Assembly Model, Java SDO Implementation, Java SDO Tools
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Current SVN, all
Issue Links:
Reference
 

Resolution Date: 28/Apr/06 08:56 AM


 Description  « Hide
If you have wsdl that has no sdojava:package attribute and there are no javaPackage specified in the POM for sdo generation different algorithms are used to convert URI targetnamespace for the package names of: the generated interface package name, the interface packagename at load time if dynamically generated and the SDO types that are generated to define the types used in the interface methods. There are scenarios where these only differ by case (http://www.bigbank.com/Account maps to com.bigbank.Account and com.bigbank.account) Note on windows based environment these can't be co-located.

I believe the sca-plugin and the loadtime are using: org.apache.tuscany.model.util.XMLNameUtil methods.
Have not located where mangling of SDO types are generated is.

Tuscany needs one central place where this is done. For both packagenames and class names from uri and types to be consistent. I think if SDO is doing this it is the common denominator.

This will continue to be a place of contention and methods/(class) used to do this mangling should be configurable (ie.by factory or registering with SDO ).

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.