But the method itself is marked public, or do you mean in the deplyoment descriptor?

Seb

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

Sanjiva.

> 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""
>
______________________________________________
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]>

Reply via email to