boa tarde pessoal. estou tentando publicar um wcf e estou tendo alguns problemas..
ele está publicado no endereço
http://cpro5870.publiccloud.com.br/kraftmobileservice/KraftMobileService.svc
quando vou fazer a referencia no meu client (add service reference), ele acha normalmente todos os metodos etc mas quando clico em ok ele me retorna um monte de erros
Warning 1 Custom tool warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
Error: Schema with target namespace 'http://cpro5870.publiccloud.com.br/IKraftMobileService' could not be found.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://cpro5870.publiccloud.com.br/IKraftMobileService']/wsdl:portType[@name='IKraftMobileService'] C:\Users\eric.miranda\Desktop\Temp\WcfConsumir\WcfConsumir\Service References\ServiceReference1\Reference.svcmap 1 1 WcfConsumir
Warning 2 Custom tool warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://cpro5870.publiccloud.com.br/IKraftMobileService']/wsdl:portType[@name='IKraftMobileService']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://cpro5870.publiccloud.com.br/kraftmobileservice']/wsdl:binding[@name='Basic'] C:\Users\eric.miranda\Desktop\Temp\WcfConsumir\WcfConsumir\Service References\ServiceReference1\Reference.svcmap 1 1 WcfConsumir
Error 3 Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details.