« Fenomen's brand new Web Site is now available! | Main | Patch for Unity 2.0 with Interception of generic classes with interface constraints »

19/08/2010

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

gromas

This method does not work in VS2010. When I try to create a Service Reference then I get a warning and nothing is generated:

Warning
Custom tool warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
Error: Referenced type 'TypeName' with data contract name 'ContractName' in namespace 'namespace' cannot be used since it does not match imported DataContract. Need to exclude this type from referenced types.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IContract'] *.*\Reference.svcmap

anon

" add a reference to your assembly containing your data structures BEFORE adding a reference to your service."

didnt work for me

grrrr

Trak Trak Trugui

Works like a charm for me.
VS2010.

Tks

The comments to this entry are closed.

My Other Accounts

Facebook LinkedIn Twitter Twitter

Links

Twitter Updates

    follow me on Twitter