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. Visual Basic
  4. SOAP/VB6 Reading Arrays

SOAP/VB6 Reading Arrays

Scheduled Pinned Locked Moved Visual Basic
xmlhelpwcfcom
1 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
    ffowler
    wrote on last edited by
    #1

    Hello All, I am hoping someone could steer me in the right direction with a problem I am having. I created a small app that sucessfully consumes a Web Service and traps the response. I am able to read individual pieces of the document but when it comes to arrays, I am having the most difficult time. Below I have posted the XML response and what I am looking to store is the values in ref1 and ref2. But I don't know how to get at them. I see a reference to these 2 elements in the SearchServiceNames and   ServiceLastModificationDates tags but I am totally lost on how to read and hook the two up. Any help would be most appreciated. I thank you for your time and comments. <?xml version="1.0"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> SOAP-ENV:Body <ns1:GetSearchServicesResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://www.dwdev.com/Webservices/Freezerworks/"> <SearchServicesCount>3</SearchServicesCount> <SearchServiceNames href="#ref-1"/> <SearchServiceLastModificationDates href="#ref-2"/> </ns1:GetSearchServicesResponse> <SOAP-ENC:Array SOAP-ENC:arrayType="xsd:string[3]" id="ref-1"> <item>GetIDs</item> <item>russtest</item> <item>russtestservice</item> </SOAP-ENC:Array> <SOAP-ENC:Array SOAP-ENC:arrayType="xsd:date[3]" id="ref-2"> <item>2009-11-17</item> <item>2009-11-16</item> <item>2009-11-16</item> </SOAP-ENC:Array></SOAP-ENV:Body> </SOAP-ENV:Envelope>

    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