You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Venkata Krishnan <fo...@gmail.com> on 2006/08/02 09:56:29 UTC

Re: Axis2 Binding use of Inbound Wire?

Hi Jeremy,

I am trying to get a sample up for the RMI Binding and I am also stuck with
the inbound wire not being set (i.e. it is null).  Could you please help me
identify what I could be missing out here?  Thanks.

- Venkat



On 7/31/06, Scott Kurz <sc...@gmail.com> wrote:
>
> I'm trying to understand where the Axis2Service of the new Axis2 binding
> is
> going to get its InboundWire from.
>
> Currently the only example I see is the Axis2ServiceTestCase mocking up
> this
> wire and setting it on the Axis2Service created by the testcase.
>
> The Jun 5 .ppt presentation says: "The runtime provides components with
> InboundWires and OutboundWires"
>
>
>
> In the simple case in which our binding was part of an AtomicComponent w/
> Java implementation, shouldn't the ServiceExtension implemented by the
> Axis
> 2 binding be able to access the InboundWire created by
> JavaComponentBuilder.build()  somehow?   But if this were the case then
> I'd
> sort of expect to see the ServiceExtension base class doing this.
>
> Is this not implemented yet or is it there in some way I'm not
> recognizing?
>
> Thanks,
> Scott Kurz
>
>

Re: Axis2 Binding use of Inbound Wire?

Posted by Venkata Krishnan <fo...@gmail.com>.
Hi Jeremy,

I looked up the SystemBindingBuilder.build method and gathered the way
inbound and outbound wires are instantiated and initialized.  I copied the
same code over to the RMIBindingBuilder and created classed for
InBoundWireImpl and OutBoundWireImpl as well.

Is this the right way to go about this? If so I think there 'might' be some
common code that can be factored out so that it applies to all bindings.

Comments?

Thanks
- Venkat

On 8/2/06, Venkata Krishnan <fo...@gmail.com> wrote:
>
> Hi Jeremy,
>
> I am trying to get a sample up for the RMI Binding and I am also stuck
> with the inbound wire not being set (i.e. it is null).  Could you please
> help me identify what I could be missing out here?  Thanks.
>
> - Venkat
>
>
>
>
> On 7/31/06, Scott Kurz <sc...@gmail.com> wrote:
> >
> > I'm trying to understand where the Axis2Service of the new Axis2 binding
> > is
> > going to get its InboundWire from.
> >
> > Currently the only example I see is the Axis2ServiceTestCase mocking up
> > this
> > wire and setting it on the Axis2Service created by the testcase.
> >
> > The Jun 5 .ppt presentation says: "The runtime provides components with
> > InboundWires and OutboundWires"
> >
> >
> >
> > In the simple case in which our binding was part of an AtomicComponent
> > w/
> > Java implementation, shouldn't the ServiceExtension implemented by the
> > Axis
> > 2 binding be able to access the InboundWire created by
> > JavaComponentBuilder.build()  somehow?   But if this were the case then
> > I'd
> > sort of expect to see the ServiceExtension base class doing this.
> >
> > Is this not implemented yet or is it there in some way I'm not
> > recognizing?
> >
> > Thanks,
> > Scott Kurz
> >
> >
>