[Mono-bugs] [Bug 610140] New: Mono wsdl tool is not able to generate proxy classes
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat May 29 08:30:51 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=610140
http://bugzilla.novell.com/show_bug.cgi?id=610140#c0
Summary: Mono wsdl tool is not able to generate proxy classes
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Major
Priority: P5 - None
Component: Sys.Web.Services
AssignedTo: atsushi at ximian.com
ReportedBy: wpjtek at yahoo.com
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Blocker: ---
I wanted to
use http://web-ngram.research.microsoft.com/Lookup.svc in my C# program. To
do that I have tried to add it as my project web reference in the mono IDE.
Unfortunately I keep getting an error: "Cannot cast from source type to
destination type".
Here is a full exception trace:
System.InvalidCastException: Cannot cast from source type to destination
type.
at
System.Web.Services.Description.ServiceDescription.AddExtensionNamespaces
(System.Xml.Serialization.XmlSerializerNamespaces ns,
System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection
extensions) [0x0000c] in
/private/tmp/monobuild/build/BUILD/mono-2.6.4/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:342
at System.Web.Services.Description.ServiceDescription.GetNamespaceList ()
[0x00087] in
/private/tmp/monobuild/build/BUILD/mono-2.6.4/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:319
at System.Web.Services.Description.ServiceDescription.Write
(System.IO.Stream stream) [0x00000] in
/private/tmp/monobuild/build/BUILD/mono-2.6.4/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:281
at System.Web.Services.Discovery.ContractReference.WriteDocument
(System.Object document, System.IO.Stream stream) [0x00000] in
/private/tmp/monobuild/build/BUILD/mono-2.6.4/mcs/class/System.Web.Services/System.Web.Services.Discovery/ContractReference.cs:199
at System.Web.Services.Discovery.DiscoveryClientProtocol.WriteAll
(System.String directory, System.String topLevelFilename) [0x00088] in
/private/tmp/monobuild/build/BUILD/mono-2.6.4/mcs/class/System.Web.Services/System.Web.Services.Discovery/DiscoveryClientProtocol.cs:307
at (wrapper remoting-invoke-with-check)
System.Web.Services.Discovery.DiscoveryClientProtocol:WriteAll
(string,string)
at
MonoDevelop.WebReferences.WS.WebServiceDiscoveryResultWS.GenerateDescriptionFiles
(MonoDevelop.Projects.DotNetProject project, FilePath basePath) [0x000a1] in
/Users/michael/mono/monodevelop/main/src/addins/MonoDevelop.WebReferences/MonoDevelop.WebReferences.WS/WebServiceDiscoveryResultWS.cs:96
at MonoDevelop.WebReferences.WebServiceDiscoveryResult.GenerateFiles
(MonoDevelop.Projects.DotNetProject project, System.String namspace,
System.String referenceName) [0x0007e] in
/Users/michael/mono/monodevelop/main/src/addins/MonoDevelop.WebReferences/MonoDevelop.WebReferences/WebServiceDiscoveryResult.cs:86
at
MonoDevelop.WebReferences.Commands.WebReferenceCommandHandler.NewWebReference
() [0x000b8] in
/Users/michael/mono/monodevelop/main/src/addins/MonoDevelop.WebReferences/MonoDevelop.WebReferences.Commands/WebReferenceCommandHandler.cs:42
I have tried out to run proxy classes generation from MonoDevel 2.2. and
2.4Beta for MacOS6. My mono framework version is
MonoFramework-2.6.4_3.macos10.novell.x86.
Expected behavior:
Generate proxy classes.
--
Configure bugmail: http://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