Shame on me, I thought you meant the method...
Yup, and that did it, now it works. Thanks you so much!

Seb

At 16:53 17.11.2002 -0500, you wrote:
The class is not marked public .. that could be the problem.

Sanjiva.

----- Original Message -----
From: "Sebastian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 5:32 AM
Subject: Problem with RPCRouter.invoke()


> Hi everyone,
>
> Maybe someone of you could help me with this problem I encountered while
trying
> to invoke a method on a very simple example.
> This is the Class whose method I want to invoke:
> class Hello
> {
>      public String sayHello()
>      {
>          return ("Hello World!");
>      }
> }
>
> Its Deployment Descriptor is the following:
> <?xml version="1.0"?>
>
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
>               id="urn:hello">
>    <isd:provider type="java"
>                  scope="Request"
>                  methods="sayHello">
>      <isd:java class="Hello" static="false"/>
>    </isd:provider>
>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
> </isd:service>
>
> On the server side, when I receive the RPC, I build the call object,
> get the deployment descriptor from the service manager and finally
> try to invoke the method by calling RPCRouter.invoke(...)
>
> But instead of the response object, I get this error:
> "Exception while handling service request: Class
> org.apache.soap.server.RPCRouter
> can not access a member of class Hello with modifiers "public""
>
> Does anyone have an idea what might cause this problem?
>
> Thanks for your time,
>
> Sebastian
>
>
>
> ______________________________________________
> Sebastian Thiebes
> Student at Humboldt University Berlin, Germany
>
> email: [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
        --> http://sebastian.isyourdaddy.com <--


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

Reply via email to