[Mono-list] WCF basicHttpBinding WSDL NotImplementedException

Daniel Napierski dnapierski at unidesk.com
Thu Mar 4 01:57:03 EST 2010


I'm trying to host a wcf service using basicHttpBinding, but I get the following NotImplementedException when I try to check my service.svc in my browser.
I know that wsHttpBinding is not supported, but I thought that basicHttpBinding is implemented.

Is this a known issue?  Is there a workaround?
What is the simplest way to configure wcf basicHttpBinding to avoid this error?
Thanks in advance for any help,
Dan

InternalServiceFaultImplement me for System.Runtime.Serialization.DefaultTypeMapImplement me for System.Runtime.Serialization.DefaultTypeMap  at System.Runtime.Serialization.SerializationMap.GetMembers () [0x00000] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/SerializationMap.cs:246
  at System.Runtime.Serialization.SerializationMap.GetSequence (System.Xml.Schema.XmlSchemaSet schemas, System.Collections.Generic.Dictionary`2 generated_schema_types) [0x00000] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/SerializationMap.cs:187
  at System.Runtime.Serialization.SerializationMap.GetSchemaType (System.Xml.Schema.XmlSchemaSet schemas, System.Collections.Generic.Dictionary`2 generated_schema_types) [0x00071] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/SerializationMap.cs:156
  at System.Runtime.Serialization.CollectionTypeMap.GetSchemaType (System.Xml.Schema.XmlSchemaSet schemas, System.Collections.Generic.Dictionary`2 generated_schema_types) [0x000af] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/SerializationMap.cs:750
  at System.Runtime.Serialization.XsdDataContractExporter.Export (System.Type type) [0x00020] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/XsdDataContractExporter.cs:120
  at System.ServiceModel.Description.WsdlExporter.GetSchemaElementForPart (System.ServiceModel.Description.MessagePartDescription part, System.Xml.Schema.XmlSchema schema) [0x00012] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/WsdlExporter.cs:494
  at System.ServiceModel.Description.WsdlExporter.ExportParameters (System.ServiceModel.Description.MessageBodyDescription msgbody, System.String name, System.String ns) [0x000d2] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/WsdlExporter.cs:434

  at System.ServiceModel.Description.WsdlExporter.ExportMessageBodyDescription (System.ServiceModel.Description.MessageBodyDescription msgbody, System.String name, System.String ns) [0x00037] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/WsdlExporter.cs:380
  at System.ServiceModel.Description.WsdlExporter.ExportContractInternal (System.ServiceModel.Description.ContractDescription contract) [0x00155] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/WsdlExporter.cs:111
  at System.ServiceModel.Description.WsdlExporter.ExportEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint) [0x00000] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/WsdlExporter.cs:164
  at System.ServiceModel.Description.ServiceMetadataExtension.get_Metadata () [0x00052] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/ServiceMetadataExtension.cs:74
  at System.ServiceModel.Description.HttpGetWsdl.GetMetadata () [0x00012] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/ServiceMetadataExtension.cs:326
  at System.ServiceModel.Description.HttpGetWsdl.EnsureMetadata () [0x0000b] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/ServiceMetadataExtension.cs:202
  at System.ServiceModel.Description.HttpGetWsdl.Get (System.ServiceModel.Channels.Message req) [0x00000] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/System.ServiceModel/System.ServiceModel.Description/ServiceMetadataExtension.cs:209
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /tmp/rmake/builds/mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 System.NotImplementedException

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100304/8b75ae6d/attachment-0001.html 


More information about the Mono-list mailing list