Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Making one copy of complex type from 2 webservices.

Making one copy of complex type from 2 webservices.

Scheduled Pinned Locked Moved C#
csharpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mittalpa
    wrote on last edited by
    #1

    Hi In C# (other .Net OOP languages as well), I have 2 webservices. Svc1 returns a complex datatype which becomes the parameter for svc2. Note that it is the same complex type. Now, I create the 2 proxy classes of these 2 webservices. Which means the same type gets generated twice. How can I make sure that in 2 proxies only one copy of that type is there? You may assume same or different namespaces of 2 webservices. Thanks AJ

    Follow your goals, Means will follow you ---Gandhi---

    A 1 Reply Last reply
    0
    • M mittalpa

      Hi In C# (other .Net OOP languages as well), I have 2 webservices. Svc1 returns a complex datatype which becomes the parameter for svc2. Note that it is the same complex type. Now, I create the 2 proxy classes of these 2 webservices. Which means the same type gets generated twice. How can I make sure that in 2 proxies only one copy of that type is there? You may assume same or different namespaces of 2 webservices. Thanks AJ

      Follow your goals, Means will follow you ---Gandhi---

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      mittalpa wrote:

      You may assume same or different namespaces of 2 webservices.

      Sounds like a homework question to me. Try google.

      Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

      M 1 Reply Last reply
      0
      • A Ashfield

        mittalpa wrote:

        You may assume same or different namespaces of 2 webservices.

        Sounds like a homework question to me. Try google.

        Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

        M Offline
        M Offline
        mittalpa
        wrote on last edited by
        #3

        I did .. but not sure how to exactly word it in search. that's why this post. thanks anyway..

        Follow your goals, Means will follow you ---Gandhi---

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups