Error creating a Service Reference for wsdl file RRS feed

  • Question

  • Hello Team ,

    I added wsdl file through add service reference option in visual studio but It is not successfully added and displaying error if I build project Which is following.

    Error 1 Reference.svcmap: Failed to generate code for the service reference 'ServiceReference1'. There was an error verifying some XML Schemas generated during export: Type 'java:java.util:List' is not declared. Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.XmlSerializerMessageContractImporter Error: The datatype 'java:java.util:List' is missing. XPath to Error Source: //wsdl:definitions[@targetNamespace='']/wsdl:portType[@name='Service'] 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='']/wsdl:portType[@name='Service'] XPath to Error Source: //wsdl:definitions[@targetNamespace='']/wsdl:binding[@name='ServiceSoapBinding'] 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='']/wsdl:binding[@name='ServiceSoapBinding'] XPath to Error Source: //wsdl:definitions[@targetNamespace='']/wsdl:service[@name='Service']/wsdl:port[@name='ServiceSoap'] App_WebReferences/ServiceReference1/
    I also tried to resolved issue by doing some steps is described in following link but unable to fix it . please resolve this issue.[^][^]

    Saturday, July 19, 2014 12:51 PM

All replies

  • Alok,

    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a planning and scheduling application. I suggest you delete this post and find a forum for Visual Studio.


    Saturday, July 19, 2014 2:45 PM