[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    Basic Authentication in XmlRpcClientLite
From:       Rastislav Hodul <rastislav.hodul () mail ! vancouver ! teklogix ! com>
Date:       2002-07-11 0:09:19
[Download RAW message or body]

Hi,
I have following code:
 
XmlRpc.setKeepAlive(true);
_rpc = new XmlRpcClientLite(serverURI);
_rpc.setBasicAuthentication(user, password);
_rpc.execute(...);

I always get access denied. I am sure that my server is set up properly
(IIS, basic authentication allowed), because  I can execute similar code
using .NET library.
Any idea why this doesn't work here?
 
 
Thanks.
 
Rastio Hodul
 <mailto:rastislav.hodul@teklogix.com> rastislav.hodul@teklogix.com
+1(604)214-7408
 

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN 
class=286580500-11072002>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN class=286580500-11072002>I 
have following code:</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN 
class=286580500-11072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma color=#000080 size=2>XmlRpc.setKeepAlive(true);<BR>_rpc = 
new XmlRpcClientLite(serverURI);<BR>_rpc.setBasicAuthentication(user, 
password);</FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN 
class=286580500-11072002>_rpc.execute(...);</SPAN><BR></FONT></DIV>
<DIV><FONT><SPAN class=286580500-11072002><FONT face=Tahoma color=#000080 
size=2>I always get access denied. I am sure that my server is set up properly 
(IIS, basic authentication allowed), because&nbsp; I can execute&nbsp;similar 
code using .NET library.</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=286580500-11072002><FONT face=Tahoma color=#000080 
size=2>Any idea why this doesn't work here?</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=286580500-11072002><FONT face=Tahoma color=#000080 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=286580500-11072002><FONT face=Tahoma color=#000080 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=286580500-11072002><FONT face=Tahoma color=#000080 
size=2>Thanks.</FONT></SPAN></DIV></FONT>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT face=Tahoma color=#000080 size=2>Rastio Hodul<BR></FONT><A 
href="mailto:rastislav.hodul@teklogix.com"><FONT face=Tahoma 
size=2>rastislav.hodul@teklogix.com</FONT></A><BR><FONT face=Tahoma 
color=#000080 size=2>+1(604)214-7408</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic