[Mono-bugs] [Bug 688496] New: System.Web.Services.Protocols.SoapException when RPC on Mono 2.6.7

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 19 11:24:53 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=688496

https://bugzilla.novell.com/show_bug.cgi?id=688496#c0


           Summary: System.Web.Services.Protocols.SoapException when RPC
                    on Mono 2.6.7
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: 64bit
        OS/Version: RHEL 5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: atsushi at ximian.com
        ReportedBy: alexander.alexandrov at bankofamerica.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: Yes


Created an attachment (id=425663)
 --> (http://bugzilla.novell.com/attachment.cgi?id=425663)
unmodified sample program that connects to a remove Vsphere server and queries
basic information

Description of Problem:

We are currently using Mono to run VMware-vSphere-WS-SDK under C#.NET and RHEL
Linux environment. As part of the code we are utilizing there is a need to make
a RPC call to a remote web service. When we do this under Mono.NET we always
get System.Web.Services.Protocols.SoapException.

Steps to reproduce the problem:
1. Please find the attached Basics.zip. It is unmodified copy of the
VMware-vSphere-WS-SDK found at http://www.vmware.com/support/developer/vc-sdk/
2. Run it in the following manner:

$/usr/local/bin/mono ./Basics.exe --url
http://vsphere.server.domain.com/sdk/vim?wsdl --username xxx --password xxx
--info host --hostname hypervisor.bankofamerica.com


Actual Results:

[ 4/12/2011 3:03:06 PM ] Begin Log.
Started 
Host perf capabilities:
----------------------
  Summary supported: True
  Current supported: True
  Current refresh rate: 20


Unhandled Exception: System.Web.Services.Protocols.SoapException: 
  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse
(System.Net.WebResponse response,
System.Web.Services.Protocols.SoapClientMessage message,
System.Web.Services.Protocols.SoapExtension[] extensions) [0x00000] in
<filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String
method_name, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at VimApi.VimService.QueryAvailablePerfMetric (VimApi.ManagedObjectReference
_this, VimApi.ManagedObjectReference entity, DateTime beginTime, Boolean
beginTimeSpecified, DateTime endTime, Boolean endTimeSpecified, Int32
intervalId, Boolean intervalIdSpecified) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
VimApi.VimService:QueryAvailablePerfMetric
(VimApi.ManagedObjectReference,VimApi.ManagedObjectReference,System.DateTime,bool,System.DateTime,bool,int,bool)
  at Basics.Basics.getQueryAvailable (VimApi.ManagedObjectReference perfMgr,
VimApi.ManagedObjectReference hostmor, VimApi.VimService service) [0x00000] in
<filename unknown>:0 
  at Basics.Basics.displayBasics () [0x00000] in <filename unknown>:0 
  at Basics.Basics.Main (System.String[] args) [0x00000] in <filename
unknown>:0 


Expected Results:

[ 4/12/2011 3:06:56 PM ] Begin Log.
Started 
There were one or more problems with the server certificate:

* A certification chain processed correctly, but terminated in a root
certificate which isn't trusted by the trust provider.

* The certificate's CN name does not match the passed value.


Host perf capabilities:
----------------------
  Summary supported: True
  Current supported: True
  Current refresh rate: 20

Available metrics for host (397):
--------------------------
   Resource memory shared
[host/vim/vmvisor/hostd/nursery]

   Resource memory overhead
[host/system/helper]

   Resource memory swapped
[host/vim/vmci]

.. etc ...


How often does this happen? 

Every time

Additional Information:

Remote host is Windows Server 2008 Enterprise Edition 64 bit, local (mono) host
is RHEL5 64 bit.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list