khushbu radadiya

khushbu radadiya

  • NA
  • 15
  • 1.3k

Service reference error in web application

Mar 13 2018 2:05 AM
Reference.svcmap: Failed to generate code for the service reference 'ApolloProductDetail'. Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter Error: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself. XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.apollomunichinsurance.com/B2BService']/wsdl:portType[@name='IProductDetailsService'] 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://www.apollomunichinsurance.com/B2BService']/wsdl:portType[@name='IProductDetailsService'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_IProductDetailsService'] Cannot import wsdl:port Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on. XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_IProductDetailsService'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='ProductDetailsService']/wsdl:port[@name='BasicHttpBinding_IProductDetailsService'] App_WebReferences/ApolloProductDetail/

Answers (1)