You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Frank Fitch <Fr...@oracle.com> on 2010/05/12 18:22:15 UTC
xml-rpc
Hi Folks,
I'm trying to use the xml-rpc interface to jspwiki
I keep getting
java.io.FileNotFoundException: http://somehost.sun.com/RPC2/
I uncommented the block in web.xml, and restarted the web server.
The web server is
Sun Java System Web Server 7.0U3 B06/16/2008 12:00
I tried both jspwiki 2.6.4 and 2.8.3 with the same results
I also tried changing the url to
http://somehost.sun.com/wiki/RPC2/
What else do I need to do to enable rpc on the jspwiki server?
is there some interface that has replaced the xml-rpc interface?
Thanks,
-Frank
Re: xml-rpc
Posted by Frank Fitch <Fr...@oracle.com>.
Hi Harry,
Thanks for the reply. It is good to know it still works for someone. :)
I built a test system with tomcat with the same results as the sjsws.
I see that your working URL has "JSPWiki" in it... I'll experiment with
that a bit.
Thanks for the help!
Regards,
-Frank
On 05/13/10 01:18 AM, Harry Metske wrote:
> Frank,
>
> I just did the same , uncomment the servlet-mapping in web.xml for RPC2,
> recycle tomcat and invoke the RPC.
> I do get a response: "We do not support HTTP GET here. Sorry."
>
> Linux 10.04, Tomcat 6.0.26, JSPWiki 2.8.4.
>
> Important to note is that only the exact URL will match, so for example this
> is correct :
> http://localhost:8080/JSPWiki/RPC2/
>
> While these are not :
> http://localhost:8080/JSPWiki/RPC2
> http://localhost:8080/JSPWiki/RPC2/JoeThePlumber
>
> regards,
> Harry
>
>
> 2010/5/12 Frank Fitch<Fr...@oracle.com>
>
>> Hi Folks,
>>
>> I'm trying to use the xml-rpc interface to jspwiki
>>
>> I keep getting
>>
>> java.io.FileNotFoundException: http://somehost.sun.com/RPC2/
>>
>> I uncommented the block in web.xml, and restarted the web server.
>>
>> The web server is
>>
>> Sun Java System Web Server 7.0U3 B06/16/2008 12:00
>>
>> I tried both jspwiki 2.6.4 and 2.8.3 with the same results
>>
>> I also tried changing the url to
>>
>> http://somehost.sun.com/wiki/RPC2/
>>
>> What else do I need to do to enable rpc on the jspwiki server?
>>
>> is there some interface that has replaced the xml-rpc interface?
>>
>> Thanks,
>> -Frank
>>
>
Re: xml-rpc
Posted by Harry Metske <ha...@gmail.com>.
Frank,
I just did the same , uncomment the servlet-mapping in web.xml for RPC2,
recycle tomcat and invoke the RPC.
I do get a response: "We do not support HTTP GET here. Sorry."
Linux 10.04, Tomcat 6.0.26, JSPWiki 2.8.4.
Important to note is that only the exact URL will match, so for example this
is correct :
http://localhost:8080/JSPWiki/RPC2/
While these are not :
http://localhost:8080/JSPWiki/RPC2
http://localhost:8080/JSPWiki/RPC2/JoeThePlumber
regards,
Harry
2010/5/12 Frank Fitch <Fr...@oracle.com>
> Hi Folks,
>
> I'm trying to use the xml-rpc interface to jspwiki
>
> I keep getting
>
> java.io.FileNotFoundException: http://somehost.sun.com/RPC2/
>
> I uncommented the block in web.xml, and restarted the web server.
>
> The web server is
>
> Sun Java System Web Server 7.0U3 B06/16/2008 12:00
>
> I tried both jspwiki 2.6.4 and 2.8.3 with the same results
>
> I also tried changing the url to
>
> http://somehost.sun.com/wiki/RPC2/
>
> What else do I need to do to enable rpc on the jspwiki server?
>
> is there some interface that has replaced the xml-rpc interface?
>
> Thanks,
> -Frank
>
Solved: xml-rpc
Posted by Frank Fitch <Fr...@oracle.com>.
Hi Folks,
Turns out, with the SJSWS, you need to leave off the trailing slash
this url works
http://somehost.sun.com/wiki/RPC2
and this one does not
http://somehost.sun.com/wiki/RPC2/
assuming the the web app is deployed with "/wiki" as the URI
Thanks,
-Frank
Frank Fitch wrote:
> Hi Folks,
>
> I'm trying to use the xml-rpc interface to jspwiki
>
> I keep getting
>
> java.io.FileNotFoundException: http://somehost.sun.com/RPC2/
>
> I uncommented the block in web.xml, and restarted the web server.
>
> The web server is
>
> Sun Java System Web Server 7.0U3 B06/16/2008 12:00
>
> I tried both jspwiki 2.6.4 and 2.8.3 with the same results
>
> I also tried changing the url to
>
> http://somehost.sun.com/wiki/RPC2/
>
> What else do I need to do to enable rpc on the jspwiki server?
>
> is there some interface that has replaced the xml-rpc interface?
>
> Thanks,
> -Frank