Jochen,
That was a short answer and to be honest not really much of a help.
So, would you then be so kind and point me in the right direction?
I assume that you then use the web.xml solution and I want/need to do it
programmatically.
Is it possible to use the XmlRpcServlet then as well?
Like I mentioned in my first post I get a NullPointer exception:
java.lang.NullPointerException
at
org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:447)
and that is on the line that does server.execute if I am not mistaking.
However, the server instance variable is an XmlRpcServletServer not a
generic WebServer.
I need to use the following XMLRPC features:
1. PropertyHandlerMapping
2. Proxy-based, i.e. ProperyHandlerMapping with
addHandler(TestRPC.class.getName(), TestRPCImpl.class);
3. Extension enabled
4. Optional content length enabled
Regards,
Jimisola
Jochen Wiedmann wrote:
>
> On 9/19/06, Jimisola Laursen <[EMAIL PROTECTED]> wrote:
>
>> The main question is basically can the XmlRpcServlet be written so that
>> works with "any" Web Server that supports Servlets fully
>
> I do not understand why you assume the contrary? I am using the
> servlet with Tomcat every day. In fact, it was written for that
> environment.
>
>
> --
> My wife Mary and I have been married for forty-seven years and not
> once have we had an argument serious enough to consider divorce;
> murder, yes, but divorce, never.
> (Jack Benny)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/How-to-setup-and-configure-a-Servlet-solution-programmatically-tf2300489.html#a6396486
Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]