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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Accessing web service in native C++ application

Accessing web service in native C++ application

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++wcfcsharpcom
2 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.
  • V Offline
    V Offline
    vipin_nvk
    wrote on last edited by
    #1

    I need to access a .NET web service in a native C++ application. People have suggested to use gSOAP (which is costly for a commercial license) and I have found articles where the same can be done using SOAP tool kit (which is no longer supported by microsoft) To use SOAP toolkit method MSXML should be installed on the PC, and ours is a portable application we cannot afford it. I looked at other alternatives and found the following article - http://support.microsoft.com/kb/908574[^] But I am getting the following errors: error C2065: 'IHelloWorldPtr' : undeclared identifier error C2146: syntax error : missing ';' before identifier 'ptrHW' error C3861: 'ptrHW': identifier not found error C2065: 'ptrHW' : undeclared identifier error C2227: left of '->SayHelloWorld' must point to class/struct/union/generic type I am new to COM and .NET can somebody help to resolve the issue. And is this approach the write way to access .NET web services? Thanx in advance

    S 1 Reply Last reply
    0
    • V vipin_nvk

      I need to access a .NET web service in a native C++ application. People have suggested to use gSOAP (which is costly for a commercial license) and I have found articles where the same can be done using SOAP tool kit (which is no longer supported by microsoft) To use SOAP toolkit method MSXML should be installed on the PC, and ours is a portable application we cannot afford it. I looked at other alternatives and found the following article - http://support.microsoft.com/kb/908574[^] But I am getting the following errors: error C2065: 'IHelloWorldPtr' : undeclared identifier error C2146: syntax error : missing ';' before identifier 'ptrHW' error C3861: 'ptrHW': identifier not found error C2065: 'ptrHW' : undeclared identifier error C2227: left of '->SayHelloWorld' must point to class/struct/union/generic type I am new to COM and .NET can somebody help to resolve the issue. And is this approach the write way to access .NET web services? Thanx in advance

      S Offline
      S Offline
      ShilpiP
      wrote on last edited by
      #2

      Please don't re-post your question.

      I believe in LOVE AT FIRST SIGHT... Bcoz I have loved my Mother... even since I opened my eyes...(ICAN)

      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