You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by srinivas reddy <sr...@yahoo.com> on 2003/08/28 05:19:16 UTC
interfaces with WS
Hi,
Can I expose a method which accepts a class object
implementing an interface (whose API is exposed by
server) using Axis? I wrote a small program but when I
ra client, java.lang.reflect.InvocationTargetException
is thrown. Your help is appreciated.
Srinivas
=====
I am not afraid of losing. But I don't like it.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Re: interfaces with WS
Posted by srinivas reddy <sr...@yahoo.com>.
--- Harsh Nagpal <ha...@mindsw.com> wrote:
> Hi!
>
> Are u calling another class from within a
> webservice?
Yes. But this class is shipped to server across the
wire by client as a parameter to the method, client
invoked. What should I keep in mind to implement this.
I was getting InvocationTarget Exception.
If so, place the
> both the webservice and class within the same
> namespace ie.
> com.srinivas.service
>
> H
> Harsh
> > Can I expose a method which accepts a class object
> > implementing an interface (whose API is exposed by
> > server) using Axis? I wrote a small program but
> when I
> > ra client,
> java.lang.reflect.InvocationTargetException
> > is thrown. Your help is appreciated.
> >
> > Srinivas
> >
> > =====
> > I am not afraid of losing. But I don't like it.
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> >
>
>
=====
I am not afraid of losing. But I don't like it.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Re: interfaces with WS
Posted by Harsh Nagpal <ha...@mindsw.com>.
Hi!
Are u calling another class from within a webservice? If so, place the
both the webservice and class within the same namespace ie.
com.srinivas.service
H
Harsh
> Can I expose a method which accepts a class object
> implementing an interface (whose API is exposed by
> server) using Axis? I wrote a small program but when I
> ra client, java.lang.reflect.InvocationTargetException
> is thrown. Your help is appreciated.
>
> Srinivas
>
> =====
> I am not afraid of losing. But I don't like it.
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>