Warning: newbie on the loose.
I added a new message to XMLRPCExamples.py named "testme" that returns the string "Howdy".
def testme(self):
result = 'howdy'
return result
I can invoke the new message from the Python shell by creating a server object from xmlrpclib per the examples. This all works together nicely and behaves as expected, as in...
>>> server.testme
'howdy'
I have built my own xml-rpc client that is not written in python. This client works successfully with meerkat and a couple of others.
When I tried to use it with Webware I get a 404 reply. The xml-rpc message and response follows my sig.
Does this involve modifying WebKit.cgi or have I overlooked something?
TIA,
Mark Phillips Mophilly & Associates On the web at http://www.mophilly.com On the phone at 619 444-9210
The message: POST /cgi-bin/WebKit.cgi/Examples/XMLRPCExamples HTTP/1.0 User-Agent: MyOwnClient Host: localhost Content-Type: text/xml Content-Length: 106
<?xml version="1.0"?> <methodCall> <methodName>testme</methodName> <params> </params> </methodCall>
The response: HTTP/1.1 404 Error Date: Wed, 21 Jul 2004 10:28:33 GMT Server: Apache/1.3.29 (Darwin) Connection: close Content-Type: text/html
<body bgcolor="white">
<h1>404 Error</h1>
<p>
<h2>Page Not Available On This Server</h2>
<p>
The page you requested, <b>/cgi-bin/WebKit.cgi/Examples/XMLRPCExamples</b>, was not found on this server.
<hr>
Webware Webkit Application Server
</body>
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss