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 / C++ / MFC
  4. How to add web reference in my C++ project?

How to add web reference in my C++ project?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++collaborationtutorial
5 Posts 3 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.
  • E Offline
    E Offline
    eight
    wrote on last edited by
    #1

    I'm using VS2008 Team System. How do I add a web reference to my C++ project?

    S 1 Reply Last reply
    0
    • E eight

      I'm using VS2008 Team System. How do I add a web reference to my C++ project?

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      Google[^] -> here[^] You can only add a web reference for a C++/CLR project, not an unmanaged C++ project.

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      E 1 Reply Last reply
      0
      • S Stuart Dootson

        Google[^] -> here[^] You can only add a web reference for a C++/CLR project, not an unmanaged C++ project.

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        E Offline
        E Offline
        eight
        wrote on last edited by
        #3

        In VS2005, I used to right click and choose "Add Web Reference". In VS2008, that menu is disabled. Any way to enable it?

        S 1 Reply Last reply
        0
        • E eight

          In VS2005, I used to right click and choose "Add Web Reference". In VS2008, that menu is disabled. Any way to enable it?

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4

          That menu is enabled for me in VS2008 when I have a C++/CLR project. If it's not enabled for you in VS2008 for a C++/CLR project, that says to me that your Visual Studio installation is broken. The reason Add Web Reference no longer works for unmanaged C++ projects in VS2008 is that ATL Server isn't in VS2008[^]. A simple Google[^] would have shown you that. You can download ATL Server from CodePlex[^] - it's been open sourced. This includes sproxy.exe, which will generate the C++ wrapper code for the web-service. The other Microsoft alternative is the Windows Web Services[^], which will be released with Windows 7 and available as an update for Windows XP SP2 and later. An open-source alternative is gSOAP[^].

          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

          M 1 Reply Last reply
          0
          • S Stuart Dootson

            That menu is enabled for me in VS2008 when I have a C++/CLR project. If it's not enabled for you in VS2008 for a C++/CLR project, that says to me that your Visual Studio installation is broken. The reason Add Web Reference no longer works for unmanaged C++ projects in VS2008 is that ATL Server isn't in VS2008[^]. A simple Google[^] would have shown you that. You can download ATL Server from CodePlex[^] - it's been open sourced. This includes sproxy.exe, which will generate the C++ wrapper code for the web-service. The other Microsoft alternative is the Windows Web Services[^], which will be released with Windows 7 and available as an update for Windows XP SP2 and later. An open-source alternative is gSOAP[^].

            Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

            M Offline
            M Offline
            Member 2250352
            wrote on last edited by
            #5

            i think the MFC or unmanaged is means . how can we add in this kind of project

            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