You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by "Amrite, Ajay" <Aj...@bskyb.com> on 2009/11/25 17:52:48 UTC
How do I do the following.
Hi,
I have some code that runs in WebSphere and uses the SDO implementation
that comes with WebSphere.
I want to run the same SDO code using Tuscany SDO implementation but I
am having problems with that.
I would assume that all the interfaces should continue to work the same,
for example
bo.getType().getProperties()
On WebSphere SDO I get a list of attributes in the BO.
In Tuscany SDO I get an empty list.
I don't why this is happening.
Please help.
Ajay.
-----------------------------------------
Information in this email including any attachments may be
privileged, confidential and is intended exclusively for the
addressee. The views expressed may not be official policy, but the
personal views of the originator. If you have received it in error,
please notify the sender by return e-mail and delete it from your
system. You should not reproduce, distribute, store, retransmit,
use or disclose its contents to anyone.
Please note we reserve the right to monitor all e-mail
communication through our internal and external networks.
SKY and the SKY marks are trade marks of British Sky Broadcasting
Group plc and are used under licence. British Sky Broadcasting
Limited (Registration No. 2906991), Sky Interactive Limited
(Registration No. 3554332), Sky-In-Home Service Limited
(Registration No. 2067075) and Sky Subscribers Services Limited
(Registration No. 2340150) are direct or indirect subsidiaries of
British Sky Broadcasting Group plc (Registration No. 2247735). All
of the companies mentioned in this paragraph are incorporated in
England and Wales and share the same registered office at Grant
Way, Isleworth, Middlesex TW7 5QD.
Re: How do I do the following.
Posted by kelvin goodson <ke...@gmail.com>.
The interface code for the 2.1 API is in the tuscany SDO 1.1.1 source
code download. The SDO 2.1 spec is available at [1]. This is the level
that tuscany SDO complies to.
Kelvin.
[1] http://www.osoa.org/display/Main/Service+Data+Objects+Specifications
2009/11/30 Malisetti, Ramanjaneyulu <Ra...@ca.com>:
> Is SDO 2.1 API available for download?
>
> Regards
> Raman
>
> -----Original Message-----
> From: kelvin goodson [mailto:kelvingoodson@gmail.com]
> Sent: Monday, 30 November 2009 3:39 PM
> To: user@tuscany.apache.org
> Subject: Re: How do I do the following.
>
> Ajay,
>
> all I can think of at the moment is that you are seeing differences
> due to parsing of open content. The SDO 2.1 API now contains the
> DataObject method getInstanceProperties() which includes all the
> properties declared in the Type, plus any that have been created on
> the fly by virtue of the fact that the schema permitted open content
> and the document contained undeclared elements. What do you get for
> bo.getInstanceProperties() in your example?
>
> Kelvin.
>
> 2009/11/25 Amrite, Ajay <Aj...@bskyb.com>:
>> Hi,
>>
>>
>>
>> I have some code that runs in WebSphere and uses the SDO
> implementation that
>> comes with WebSphere.
>>
>> I want to run the same SDO code using Tuscany SDO implementation but I
> am
>> having problems with that.
>>
>> I would assume that all the interfaces should continue to work the
> same, for
>> example
>>
>>
>>
>> bo.getType().getProperties()
>>
>> On WebSphere SDO I get a list of attributes in the BO.
>>
>> In Tuscany SDO I get an empty list.
>>
>>
>>
>> I don't why this is happening.
>>
>>
>>
>> Please help.
>>
>>
>>
>> Ajay.
>>
>>
>>
>>
>>
>> ________________________________
>>
>> Information in this email including any attachments may be privileged,
>> confidential and is intended exclusively for the addressee. The views
>> expressed may not be official policy, but the personal views of the
>> originator. If you have received it in error, please notify the sender
> by
>> return e-mail and delete it from your system. You should not
> reproduce,
>> distribute, store, retransmit, use or disclose its contents to anyone.
>> Please note we reserve the right to monitor all e-mail communication
> through
>> our internal and external networks. SKY and the SKY marks are trade
> marks of
>> British Sky Broadcasting Group plc and are used under licence. British
> Sky
>> Broadcasting Limited (Registration No. 2906991), Sky Interactive
> Limited
>> (Registration No. 3554332), Sky-In-Home Service Limited (Registration
> No.
>> 2067075) and Sky Subscribers Services Limited (Registration No.
> 2340150) are
>> direct or indirect subsidiaries of British Sky Broadcasting Group plc
>> (Registration No. 2247735). All of the companies mentioned in this
> paragraph
>> are incorporated in England and Wales and share the same registered
> office
>> at Grant Way, Isleworth, Middlesex TW7 5QD.
>
>
RE: How do I do the following.
Posted by "Malisetti, Ramanjaneyulu" <Ra...@ca.com>.
Is SDO 2.1 API available for download?
Regards
Raman
-----Original Message-----
From: kelvin goodson [mailto:kelvingoodson@gmail.com]
Sent: Monday, 30 November 2009 3:39 PM
To: user@tuscany.apache.org
Subject: Re: How do I do the following.
Ajay,
all I can think of at the moment is that you are seeing differences
due to parsing of open content. The SDO 2.1 API now contains the
DataObject method getInstanceProperties() which includes all the
properties declared in the Type, plus any that have been created on
the fly by virtue of the fact that the schema permitted open content
and the document contained undeclared elements. What do you get for
bo.getInstanceProperties() in your example?
Kelvin.
2009/11/25 Amrite, Ajay <Aj...@bskyb.com>:
> Hi,
>
>
>
> I have some code that runs in WebSphere and uses the SDO
implementation that
> comes with WebSphere.
>
> I want to run the same SDO code using Tuscany SDO implementation but I
am
> having problems with that.
>
> I would assume that all the interfaces should continue to work the
same, for
> example
>
>
>
> bo.getType().getProperties()
>
> On WebSphere SDO I get a list of attributes in the BO.
>
> In Tuscany SDO I get an empty list.
>
>
>
> I don't why this is happening.
>
>
>
> Please help.
>
>
>
> Ajay.
>
>
>
>
>
> ________________________________
>
> Information in this email including any attachments may be privileged,
> confidential and is intended exclusively for the addressee. The views
> expressed may not be official policy, but the personal views of the
> originator. If you have received it in error, please notify the sender
by
> return e-mail and delete it from your system. You should not
reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
> Please note we reserve the right to monitor all e-mail communication
through
> our internal and external networks. SKY and the SKY marks are trade
marks of
> British Sky Broadcasting Group plc and are used under licence. British
Sky
> Broadcasting Limited (Registration No. 2906991), Sky Interactive
Limited
> (Registration No. 3554332), Sky-In-Home Service Limited (Registration
No.
> 2067075) and Sky Subscribers Services Limited (Registration No.
2340150) are
> direct or indirect subsidiaries of British Sky Broadcasting Group plc
> (Registration No. 2247735). All of the companies mentioned in this
paragraph
> are incorporated in England and Wales and share the same registered
office
> at Grant Way, Isleworth, Middlesex TW7 5QD.
Re: How do I do the following.
Posted by kelvin goodson <ke...@gmail.com>.
Ajay,
all I can think of at the moment is that you are seeing differences
due to parsing of open content. The SDO 2.1 API now contains the
DataObject method getInstanceProperties() which includes all the
properties declared in the Type, plus any that have been created on
the fly by virtue of the fact that the schema permitted open content
and the document contained undeclared elements. What do you get for
bo.getInstanceProperties() in your example?
Kelvin.
2009/11/25 Amrite, Ajay <Aj...@bskyb.com>:
> Hi,
>
>
>
> I have some code that runs in WebSphere and uses the SDO implementation that
> comes with WebSphere.
>
> I want to run the same SDO code using Tuscany SDO implementation but I am
> having problems with that.
>
> I would assume that all the interfaces should continue to work the same, for
> example
>
>
>
> bo.getType().getProperties()
>
> On WebSphere SDO I get a list of attributes in the BO.
>
> In Tuscany SDO I get an empty list.
>
>
>
> I don’t why this is happening.
>
>
>
> Please help.
>
>
>
> Ajay.
>
>
>
>
>
> ________________________________
>
> Information in this email including any attachments may be privileged,
> confidential and is intended exclusively for the addressee. The views
> expressed may not be official policy, but the personal views of the
> originator. If you have received it in error, please notify the sender by
> return e-mail and delete it from your system. You should not reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
> Please note we reserve the right to monitor all e-mail communication through
> our internal and external networks. SKY and the SKY marks are trade marks of
> British Sky Broadcasting Group plc and are used under licence. British Sky
> Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited
> (Registration No. 3554332), Sky-In-Home Service Limited (Registration No.
> 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are
> direct or indirect subsidiaries of British Sky Broadcasting Group plc
> (Registration No. 2247735). All of the companies mentioned in this paragraph
> are incorporated in England and Wales and share the same registered office
> at Grant Way, Isleworth, Middlesex TW7 5QD.