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

  • Home
  • SEARCH
  • 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 869181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:16:04+00:00 2026-05-15T10:16:04+00:00

I’m building a contract-first SOAP client. When I try to generate the proxy classes

  • 0

I’m building a contract-first SOAP client. When I try to generate the proxy classes with svcutil, I get the error messages listed below and no classes are generated. Some of the error messages are in Dutch, but they’re similar to the errors in this question on MSDN. The poster of that question provides the following solution:

[…] WCF Publishing wizard does not like multiple includes (t be precise – more than 3). SO I reduced my Schema includes to zero […]

Since I’m not in control of the wsdl’s and xsd’s, and since there are many and they’re large, reducing the schema includes would cause severe maintainability problems.
So before I try this, I’d like to know if this is indeed what’s causing the problem. I’m unable to find confirmation of this.

Has anybody else heard of this as a cause of problems? Are there other things I could try?

The wsdl and related files are available online.
As far as I can tell they are all valid.

I tried to run svcutil with arguments /dcOnly and /ser:XmlSerializer, but that didn’t help. I also tried reducing the set of operations to what I need, but that didn’t help either.

Thanks, Miel.

Error: Er is een validatiefout opgetreden op een schema dat tijdens het exporteren werd gegenereerd:
Bron:
Regel: 17518 Kolom: 6
Validatiefout: Het attribuut groepsnaam wordt genegeerd omdat de waarde ‘prohibited’ (verboden) voor attribuutgebruik er alleen voor zorgt dat het overnemen van een identieke attribuutnaam uit de basistypedefinitie wordt verhinderd.

Error: Er is een validatiefout opgetreden op een schema dat tijdens het exporteren werd gegenereerd:
Bron:
Regel: 17519 Kolom: 6
Validatiefout: Het attribuut elementnaam wordt genegeerd omdat de waarde ‘prohibited’ (verboden) voor attribuutgebruik er alleen voor zorgt dat het overnemen van een identieke attribuutnaam uit de basistypedefinitie wordt verhinderd.

Error: Kan wsdl:portType niet importeren
Detail: Er is een uitzondering opgetreden tijdens het uitvoeren van een WSDL-importextensie: System.ServiceModel.Description.XmlSerializerMessageContractImporter
Fout: Kan geen ongeldige schema’s importeren. Compilatie op de XmlSchemaSet is mislukt.
XPad naar foutbron: //wsdl:definitions[@targetNamespace=’http://www.egem.nl/StUF/sector/zkn/0310‘]/wsdl:portType[@name=’BeantwoordVraag’]

Error: Kan wsdl:binding niet importeren
Detail: Er is een fout opgetreden bij het importeren van een wsdl:portType waar de wsdl:binding van afhankelijk is.
XPad naar wsdl:portType: //wsdl:definitions[@targetNamespace=’http://www.egem.nl/StUF/sector/zkn/0310‘]/wsdl:portType[@name=’BeantwoordVraag’]
XPad naar foutbron: //wsdl:definitions[@targetNamespace=’http://www.egem.nl/StUF/sector/zkn/0310‘]/wsdl:binding[@name=’SOAPBeantwoordVraag’]

Error: Kan wsdl:port niet importeren
Detail: Er is een fout opgetreden bij het importeren van een wsdl:binding waar de wsdl:port van afhankelijk is.
XPad naar wsdl:binding: //wsdl:definitions[@targetNamespace=’http://www.egem.nl/StUF/sector/zkn/0310‘]/wsdl:binding[@name=’SOAPBeantwoordVraag’]
XPad naar foutbron: //wsdl:definitions[@targetNamespace=’http://www.egem.nl/StUF/sector/zkn/0310‘]/wsdl:service[@name=’BeantwoordVraag’]/wsdl:port[@name=’BeantwoordVraag’]

Generating files…
Warning: No code was generated.
If you were trying to generate a client, this could be because the metadata documents did not contain any valid contracts or services
or because all contracts/services were discovered to exist in /reference assemblies. Verify that you passed all the metadata documents to the tool.

Warning: If you would like to generate data contracts from schemas make sure to use the /dataContractOnly option.

  • 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-15T10:16:05+00:00Added an answer on May 15, 2026 at 10:16 am

    Somebody helpful told me that svcutil.exe and wsdl.exe do not handle fault messages defined in a wsdl very well.

    After I removed those, svcutil did indeed generate the proxies.

    So, at least in this case the problem is not the multiple includes, but fault messages. Now I will need to figure out a workaround for the now missing fault messages.

    I’ll try to keep this answer updated.

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

Sidebar

Ask A Question

Stats

  • Questions 446k
  • Answers 446k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Yes, create a Windows service which wakes up every x… May 15, 2026 at 7:23 pm
  • Editorial Team
    Editorial Team added an answer * indicates a pointer, because you can access its contents… May 15, 2026 at 7:23 pm
  • Editorial Team
    Editorial Team added an answer You need to declare the out variable before the query… May 15, 2026 at 7:23 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.