Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 842743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:00:55+00:00 2026-05-15T06:00:55+00:00

when i return a generic List of my custom object in a wcf service,

  • 0

when i return a generic List of my custom object in a wcf service, silverlight gives me this error when i update my service reference (and the reference.cs file is completely blank)

ugly ones like this:

Warning 18  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='']/wsdl:portType[@name='Service1']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='CustomBinding_Service1']  C:\Silverlight\POCFinRap\FinRapSilverlightPoc\FinRapSilverlightPoc\Service References\ServiceReference2\Reference.svcmap    1   1   FinRapSilverlightPoc

When i change the return type to a string, all goes fine. (also when i return a List<string> it gives me the errors)

edit 1: by the way: it’s SL4
edit 2: i have a silverlight project and a webproject (default created by vs2010) and the SVC is in the webproject.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:00:56+00:00Added an answer on May 15, 2026 at 6:00 am

    After a LOT of trial and error and a post which i clicked away accidentily so i can’t give him/her credits:

    The ‘reuse types in referenced assemblies’ checkbox gave me the troubles.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom control with a generic list of custom types. This list
I have a custom list which inherits from Generic.List<T> like this: public class TransferFileList<T>
Is there a way to make this method generic so I can return a
Consider: function Shape() { this.name = "Generic"; this.draw = function() { return "Drawing "
I've got a static class (DataFormSubject) that holds a generic List object, as follows:
This is making me crazy... I'm trying to have a custom WCF auth token
I have a Generic List of objects that I've bound to a custom control.
I have a sorted generic list. I would like to return the first 10
Actually I want to return a generic list of certain types bases on a
I understand that you cannot return a generic list in a standard .asmx webservice.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.