.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Error creating a Service Reference for wsdl file

Posted By: Alok     Posted Date: July 19, 2014    Points:5   Category :ASP.Net
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='http://schemas.ge.com/money/rsf/vcs']/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='http://schemas.ge.com/money/rsf/vcs']/wsdl:portType[@name='Service'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://schemas.ge.com/money/rsf/vcs']/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='http://schemas.ge.com/money/rsf/vcs']/wsdl:binding[@name='ServiceSoapBinding'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://schemas.ge.com/money/rsf/vcs']/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.

Collapse | Copy Code

Author: ASPEvil             
Posted Date: July 23, 2014     Points: 20   


It is the error with the WSDL file you have used. The datatype 'java:java.util:List' is not declared with that WSDL file, you have used.


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend