[Mono-devel-list] Exception when acessing PHP web service

Lluis Sanchez lluis at ximian.com
Wed Oct 22 16:27:22 EDT 2003


Hi,

Yes, it is a bug. It is now fixed in cvs.

On dc, 2003-10-22 at 19:00, Jörg Rosenkranz wrote:
> Hello Lluis,
> 
> When I run the web service test I have sent a few days ago
> against the web service at 
> http://www.seifersdorfer.de/webservicetest/testservice.php
> I get following exception:
> 
> Unhandled Exception: System.InvalidOperationException: Fault is inaccessible due to its protection level. Only public types can be processed
> in <0x001a7> System.Xml.Serialization.ReflectionHelper:CheckSerializableType (System.Type)
> in <0x000c2> System.Xml.Serialization.SoapReflectionImporter:ImportClassMapping (System.Type,string)
> in <0x00103> System.Xml.Serialization.SoapReflectionImporter:ImportTypeMapping (System.Type,string)
> in <0x00019> System.Xml.Serialization.SoapReflectionImporter:ImportTypeMapping (System.Type)
> in <0x0015e> System.Web.Services.Protocols.SoapTypeStubInfo:CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo,System.Web.Services.Protocols.LogicalMethodInfo,bool)
> in <0x0013e> System.Web.Services.Protocols.TypeStubInfo:BuildTypeMethods ()
> in <0x00015> System.Web.Services.Protocols.TypeStubInfo:Initialize ()
> in <0x00081> System.Web.Services.Protocols.LogicalTypeInfo:CreateTypeStubInfo (System.Type)
> in <0x0007c> System.Web.Services.Protocols.LogicalTypeInfo:GetTypeStub (string)
> in <0x0002c> System.Web.Services.Protocols.TypeStubManager:GetTypeStub (System.Type,string)
> in <0x00038> System.Web.Services.Protocols.SoapHttpClientProtocol:.ctor ()
> in <0x0000a> WebServiceTest.TestServiceWrapper.TestService:.ctor ()
> in <0x0004f> (wrapper remoting-invoke-with-check) WebServiceTest.TestServiceWrapper.TestService:.ctor ()
> in <0x00027> WebServiceTest.WebServiceTest:Main (string[])
> 
> When I change the class Fault in System.Web.Services.Protocols/Methods.cs 
> from internal to public, it works. 
> 
> Is this a bug?
> 
> Jörg.
> 




More information about the Mono-devel-list mailing list