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:faultListener>
</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]>
- Re: Problem with RPCRouter.invoke() Sebastian
- Re: Problem with RPCRouter.invoke() Sanjiva Weerawarana
- Re: Problem with RPCRouter.invoke() Sebastian
- Re: Problem with RPCRouter.invoke() Sebastian