Simon Laws escribió:
On Dec 13, 2007 3:19 PM, Álvaro Martínez <[EMAIL PROTECTED]> wrote:

  
Hi, I'm a newbie to Apache Tuscany and I have a very dumb doubt... I
think.

My question is: how can I use related beans when calling web services
(as parameters) or on return from them. By "related" I mean specifically
that one Client has a set of Vehicles, and these own a set of Devices.
That is, beans with a "to-many" relation inside regarding other beans.

I tried to use a plain Java array but doesn't seem to work.

Thanks!

-----------------------Álvaro Martínez Hernández,Push The Button, S.L.

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

Hi Alvaro, welcome to Tuscany. There's no such thing as a dumb question;-)
    

I think the answer in this case is yes you should be able to pass trees of
java objects across services interfaces. Can I ask, is the web service you
are trying to communicate with also implemented with Tuscany or is it a web
service that someone else is providing. If the former what does the service
interface look like? If the latter do you have a WSDL description of the
service that we can see? Also are you able to show us the code that is
making the service call and can you give us some more details about  the
errors you are getting.

Regards

Simon

  

No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 09/12/2007 11:06

Oh, just for the record, I'm not misunderstanding Tuscany. It worked for me before, but as soon as I started to link beans, I couldn't go on.

Thanks again.


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

Reply via email to