Hi Ant,
Thanks for the information. Basically the need for ruby objects as
parameters will arise where the matching WSDL operation takes in complex types
as parameters.
So let us say a scenario where a Java implementation invokes a Ruby
Service. The operation which Java implementation invokes takes in a complex
type argument. On the Java side, we would pass a Java bean instance to the
method. This would translate to a Ruby object as a parameter to the matching
method on the Ruby side.
So is this a valid scenario. If so, how can we handle this in Tuscany.
thanks, in advance.
regards,
chandra
In the Java side, the Java
will invoke the Ruby service pasing a few complex types in the argumaent list.
----- Original Message ----
From: ant elder <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, February 7, 2008 10:07:14 PM
Subject: Re: Script implementation
On
Feb
7,
2008
6:35
AM,
Chandrashekhar
Jain
<[EMAIL PROTECTED]>
wrote:
>
Hi
all,
>
>
The
current
script
implementation
examples
deal
with
function
calls.
>
What
if
the
as
in
the
case
of
Ruby
we
have
classes,
and
the
methods
have
>
parameters
which
are
in
turn
Ruby
objects.
Does
the
current
Ruby
Script
>
implementation
handle
this
case.
If
so,
do
we
have
an
example
which
>
illustrates
this
use
case.
>
>
thanks
in
advance
>
>
regards,
>
chandra
>
>
The
current
code
doesn't
support
this
but
we
could
fix
it,
how
about
adding
a
class
attribute
to
the
scdl,
for
example:
<tuscany:implementation.script
script="helloworld.rb"
class="Hello"
/>
would
that
do
what
you
need?
Passing
in
parameters
that
are
Ruby
objects
should
be
possible
in
some
circumstances,
what
would
be
creating
the
parameter
objects
-
another
Ruby
component
or
something
else?
...ant
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]