• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin

Have a question about accessing the SOAP response via VBA client.

Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, below is the SOAP Response I get from a webservice
I need to access things inside #id0 and #id1. I am unable to get it.
I would need VBA specific code as an example.

Thanks in advance,

<?xml version="1.0" encoding="UTF-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <ns1:getPositionsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:com.ts.test.qs">
- <getPositionsReturn soapenc:arrayType="ns2:ArrayOf_xsd_anyType[2]" xsi:type="soapenc:Array" xmlns:ns2="http://qs.test.ts.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<getPositionsReturn href="#id0" />
<getPositionsReturn href="#id1" />
- <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3 roduct" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="http://qs.test.ts.com">
<name xsi:type="xsd:string">SecondName</name>
<description xsi:type="xsd:string">Desc</description>
<price xsi:type="xsd ouble">2345.6</price>
<asOfDate xsi:type="xsd ate">1969-12-31</asOfDate>
- <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4 roduct" xmlns:ns4="http://qs.test.ts.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<name xsi:type="xsd:string">FirstName</name>
<description xsi:type="xsd:string">description</description>
<price xsi:type="xsd ouble">123123.13</price>
<asOfDate xsi:type="xsd ate">1969-12-31</asOfDate>
Think of how dumb the average person is. Mathematically, half of them are EVEN DUMBER. Smart tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic