Thread started: Nov 30 2007, 11:54 AM EST
Watch
This is an example using xml-rpc for .NET for Oracle VM. I am using similar code to access other xml-rpc providers , yet this fails on Orcale VM. Any insight from the Oracle team would be appreciated.
I am accessing the agent but, recieving an Code 403 Unauthorized HTTP Access attempt in the var/log/ovs-agent/ovs_root.log
Sub Main()
Dim ovs As OracleVMAPI = New OracleVMAPI
' set a default CertificatePolicy that accepts ALL Server certificates
ServicePointManager.CertificatePolicy = New AcceptAllCertificatePolicy
ovs.Url = "https://10.0.1.90:8899"
ovs.Credentials = New NetworkCredential("admin", "password")
ovs.Credentials.GetCredential(New Uri(ovs.Url), "Basic")
ovs.PreAuthenticate = True
Try
Dim id As String = ovs.echo("This is as test")
Catch xrfe As XmlRpcFaultException
Console.WriteLine("ERROR: {0}", xrfe.FaultString)
End Try
End Sub
complete src: http://www.insystek.com/OraclVMAPIDownload.asp
0
out of
1 found this valuable.
Do you find this valuable?
Do you?