function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
punnoosepunnoose 

How do i traverse through path(Xml)

 

How do i traverse through this path(Xml) using apex

/SOAP-ENV:Body/sch:GetCompanyDetailResponse/sch:return/sch:companyId

Thanks in advance

Punnoose

punnoosepunnoose

i a have to traverse through hoovers Apis Returned soap xml.

<SOAP-ENV:Body><ch:GetCompanyDetailResponse><sch:return><sch:companyId>.

I am finding difficult to traverse through 4 inner elemets using Apex .can some body suggest. an easier way

to traverse

 

Thanks in advance

Punnoose