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 8020523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:42:48+00:00 2026-06-04T21:42:48+00:00

I have two code-first WCF web services that expose a few of the same

  • 0

I have two code-first WCF web services that expose a few of the same common types. WCF has chosen to put these types in different XSD’s in each web service.

For example, in Web Service 1, my common types are in xsd3. In Web Service 2, they are in xsd4.

Is this entirely chosen by WCF, or is there a way to influence what it puts where? I’ve looked through service attributes, operation and data contract attributes and haven’t found anything that seems to do this.

This causes problems on one of our Java-based web service clients, because the different XSD’s cause the types to be duplicated.

  • 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-06-04T21:42:50+00:00Added an answer on June 4, 2026 at 9:42 pm

    You cannot control the WSDL generation as far as how types are imported (i.e. XSD names) – this is entirely automatic and up to .NET internals. If this is an issue for you – you may consider merging Service 1 and Service 2 so that the type aren’t duplicated OR you may need to isolate your service references using namespaces / separate projects libraries in Java to avoid type collisions.

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

Sidebar

Related Questions

I have a web site that communicates with a .NET 4 WCF web services.
I'm using Entity Framework Code First v 4.3.0 I have a two entities with
my code is like this: i have two classes first class: public class Box<E>
i have two dropdown list. first drop down:1 enter code here <form:select path=custName id=custName>
I need to join two tables, i already have the code for the first
guys. I have two view controllers with two uiwebviews. Here is my code: First
I have these two pieces of code. The first one works perfectly: UIView *tmp
I have two arrays: 1) The first array: array( [0] => array( [code] =>
I have following two pieces of code First one is not explicitly disposing Image
I have two code blocks that are PHP functions that do two different things.

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.