Location: Management API

Discussion: Oracle VM .NET bindingsReported This is a featured thread

Showing 1 post
Insystek
Insystek
Oracle VM .NET bindings
Nov 30 2007, 11:54 AM EST | Post edited: Nov 30 2007, 11:54 AM EST
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?    
Keyword tags: api management oracle vm rpc xml

Sign in to be the first to reply.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)