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. Web Development
  3. ASP.NET
  4. Does anyone use the gsoap

Does anyone use the gsoap

Scheduled Pinned Locked Moved ASP.NET
helpsysadmintutorialquestion
2 Posts 1 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.
  • F Offline
    F Offline
    Fired Fish Gmail
    wrote on last edited by
    #1

    I need to do a project using the gsoap source, I write the client code in the gsoap system, I want to try that if the system network is disconnected and then connected, whether the data can be received inside the time. Anyother problem is how to test the how much percent of network is used when using gsoap to receive data from Web site? does anyone can help me ? thanks

    F 1 Reply Last reply
    0
    • F Fired Fish Gmail

      I need to do a project using the gsoap source, I write the client code in the gsoap system, I want to try that if the system network is disconnected and then connected, whether the data can be received inside the time. Anyother problem is how to test the how much percent of network is used when using gsoap to receive data from Web site? does anyone can help me ? thanks

      F Offline
      F Offline
      Fired Fish Gmail
      wrote on last edited by
      #2

      The code is following, I need to count how much bandwidth that this program uses. struct soap soapService; soap_init(&soapService); soapService.accept_timeout = 60; soapService.recv_timeout = 60; soapService.send_timeout = 60; soapService.connect_timeout = 60; int result = -1; _ns1__QueryPerson queryPerson; _ns1__QueryPersonResponse *queryPersonResponse; const char* s1 = "fish"; std::string stdstr(s1); queryPerson.name = &stdstr; queryPersonResponse = new _ns1__QueryPersonResponse(); const char* server = "http://192.168.140.127/classmate/Service.asmx"; result = soap_call___ns2__QueryPerson(&soapService, server, "", &queryPerson, queryPersonResponse); if(soapService.error) { soap_print_fault(&soapService,stderr); result = soapService.error; } if (result == SOAP_OK) { cout <<"收到数据:[" << endl; } else { printf("soap error ,errcode = %d\n", result); } soap_destroy(&soapService); soap_end(&soapService); soap_done(&soapService); delete queryPersonResponse;

      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