Hello,
I'm seeing a strange error with a proxy that I've generated. The first
time I make a call with the client proxy, it works fine. Once I make a
second call, I get an "Proxy Authentication Required". I've noticed
from this mailing list that folks had similar problems with this on
Mono but I'm not using Mono. Has anyone seen this problem before?
Thank you,
-M
Here's the code:
public void RunQuery()
{
proxy = XmlRpcProxyGen.Create<IEyeQLQuery>();
string version = proxy.FisheyeVersion(); // works fine
version = proxy.FisheyeVersion(); // exception thown here
Console.WriteLine(version);
}
Here's the error:
CookComputing.XmlRpc.XmlRpcServerException was unhandled
Message="Proxy Authentication Required"
Source="CookComputing.XmlRpcV2"
StackTrace:
at
CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest
req, WebResponse webResp, Stream respStm, Type returnType) in
C:\work\installs\xml-rpc.net.2.3.2\src\XmlRpcClientProtocol.cs:line 475
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object
clientObj, MethodInfo mi, Object[] parameters) in
C:\work\installs\xml-rpc.net.2.3.2\src\XmlRpcClientProtocol.cs:line 204
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo
mi, Object[] Parameters) in
C:\work\installs\xml-rpc.net.2.3.2\src\XmlRpcClientProtocol.cs:line 102
at XmlRpcProxy769f18eb-3254-478f-a0a1-24e330d3c0aa.FisheyeVersion()
at p4odbctest.FisheyeQueryTest.RunQuery() in
C:\work\sandbox\p4odbctest\p4odbctest\Program.cs:line 33
at p4odbctest.Program.Main(String[] args) in
C:\work\sandbox\p4odbctest\p4odbctest\Program.cs:line 15
at System.AppDomain.nExecuteAssembly(Assembly assembly,
String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()