Web Service client using C++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rbpkirow
    New Member
    • Jun 2010
    • 2

    Web Service client using C++

    Hello.
    I have a client-server app.
    The server is developed with apache and perl.
    The client is developed in Visual C++.
    When I try to access from C++ client to a web service, I receive the next error:
    "ATLSOAP: CSoapRootHandle r::GetElementEn try -- element not found: MyRequestRespon se."
    in the function of WebReference.h
    "__atlsoap_ hr = BeginParse(__at lsoap_spReadStr eam);"

    Then I go to SOAP UI and make the same call with the same parameters,. With SOAP UI, I get the data correctly.

    Does somebody know where is my fault?
    Or maybe, how can I watch the data I receive from server.

    thanks a lot.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Your c++ client cannot find an element called "MyRequestRespo nse" in the xml response.
    Have you used a packet watcher to see what is actually being sent, make sure no error messages are going through instead of real data?

    Comment

    • rbpkirow
      New Member
      • Jun 2010
      • 2

      #3
      No I haven't used any watcher.
      Could you recommend me one packet watcher.
      thanks

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Well I always liked Etheral, but I think its called "WireShark" now. Its free.
        If you're going to be doing a lot of things that involve network traffic, its a pretty useful tool to have.

        Comment

        Working...