| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > Delphi: Сети > Оброботка soap ответа |
| Автор: moxa 27.3.2016, 17:01 |
| Добрый день! Получаю ответ от: для отправки запроса использую IdHTTP1. <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:lbapi="urn:api3"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <lbapi:LoginResponse> <ret> <manager> <personid>61</personid> <isadmin>0</isadmin> <changepass>0</changepass> <archive>0</archive> <actions>2</actions> <accounts>2</accounts> <agents>2</agents> <agrmgroups>2</agrmgroups> <broadcast>2</broadcast> <calendar>2</calendar> <cards>2</cards> <cardsets>2</cardsets> <cashonhand>2</cashonhand> <catalog>2</catalog> <currency>2</currency> <discount>2</discount> <helpdesk>2</helpdesk> <ipstat>2</ipstat> <logs>2</logs> <managers>2</managers> <operators>2</operators> <optionscommon>2</optionscommon> <orders>2</orders> <paydocs>2</paydocs> <payments>0</payments> <radattr>2</radattr> <recount>2</recount> <reports>2</reports> <services>2</services> <tarifs>2</tarifs> <timestat>2</timestat> <unions>2</unions> <usboxstat>2</usboxstat> <users>2</users> <usersdocallow>0</usersdocallow> <userspreorders>2</userspreorders> <usergroups>2</usergroups> <hdsettings>2</hdsettings> <invdevices>2</invdevices> <openpass>1</openpass> <optionsrequisite>2</optionsrequisite> <optionsdocuments>2</optionsdocuments> <optionshosts>2</optionshosts> <optionsfunctions>2</optionsfunctions> <applications>2</applications> <useadvance>0</useadvance> <authlogs>2</authlogs> <bso>2</bso> <postmans>2</postmans> <registry>2</registry> <packages>2</packages> <clientequipment>2</clientequipment> <istemplate>0</istemplate> <parenttemplate>0</parenttemplate> <saledictionary>2</saledictionary> <kladr>2</kladr> <payclassid>0</payclassid> <login>blabla</login> <pass>*D770F1ACE465789D273CF8F4037021321565</pass> <fio>Иванов иван иванович</fio> <email>mk@mk.ru</email> <descr/> <office/> <externalid/> <cashregisterfolder/> </manager> </ret> </lbapi:LoginResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Как работать с этим ответом. допустим чтоб значение label было равно <fio>....????? |
| Автор: Garmahis 30.3.2016, 10:05 |
| Как со стандартным xml. Подключай msxml и вперед. Этот ответ добавлен с нового Винграда - http://ru.vingrad.com/Obrobotka-soap-otveta-id56f7e817ae2015c64f8b4567#findElement_E7045_56fb7abdae2015dc628b47ba_0 |