Hello,
I'm trying to create a services.xml file that defines non-String service 
properties. I'm creating them as data source objects but when I retrieve 
the properties they become Strings.

I found the following:

http://jira.codehaus.org/browse/XFIRE-668

which suggests that I'm encountering the xbean bug. What is the 
recommended fix at this point? I tried declaring various xbean 
dependencies in my pom.xml file, e.g.

<dependency>
        <groupId>org.apache.xbean</groupId>
        <artifactId>xbean</artifactId>
        <version>2.8</version>
</dependency>

but the dependency could not be resolved.  I also tried declaring the 
property this way:

<property key="foo" xmlns=""> <!-- added empy namespace here -->
        <ref bean="fooDataSource" xmlns="" />
</property>

but that didn't work either - the property was null when I retrieved it.

Any suggestions much appreciated.
Regards,
- Joe

-- 
Joe Morrison
Deutsche Bank, 60 Wall Street, 8th floor 
office: +1 (212) 250-8486        mobile: +1 (917) 952-2935


---

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.

Reply via email to