Unable to use InternationalString in BusinessQueryManager.findOrganizations() 
(ClassCastException)
--------------------------------------------------------------------------------------------------

         Key: SCOUT-8
         URL: http://issues.apache.org/jira/browse/SCOUT-8
     Project: Scout
        Type: Bug
  Components: Scout Implementation  
 Environment: Release 156725 of 
org.apache.ws.scout.registry.BusinessQueryManagerImpl.java as downloaded from 
http://svn.apache.org/repos/asf/webservices/scout
    Reporter: Javier Cámara
 Assigned to: Anil Saldhana 


In the JAXR documentation it is said that 
BusinessQueryManager.findOrganizations() receives as second argument a list of 
either Strings or LocalizedString . But the method mapNamePatterns() of 
BusinessQueryManagerImpl assumes Strings are used, thus raising a 
ClassCastExceptions if LocalizedString are used.

In the Sun JWSDP RI, InternationalString may be used. Indeed, the behavior of 
Scout is much different from the RI; if Strings are used in the latter, the 
default JVM locale is used to query the UDDI repository - which in my case is 
"ES", not "EN". But Scouts queries the UDDI registry using no locale.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to