{"id":187390,"date":"2013-07-23T13:10:03","date_gmt":"2013-07-23T09:10:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=187390"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=187390","title":{"rendered":"<span class=\"post_title\">\u041f\u0438\u0448\u0435\u043c SOAP \u043a\u043b\u0438\u0435\u043d\u0442-\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 PHP<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<br \/>  \u0422\u0430\u043a \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u044f \u0441\u0442\u0430\u043b \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u041d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0442\u043e\u043f\u0438\u043a \u043d\u0435 \u043e\u0431\u043e \u043c\u043d\u0435, \u0430 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 XML Web Service \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 SOAP 1.2.<\/p>\n<p>  \u042f \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u0442\u043e\u043f\u0438\u043a\u0430 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e:  <\/p>\n<ul>\n<li>\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f;<\/li>\n<li>\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f;<\/li>\n<li>\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 (WSDL);<\/li>\n<li>\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u044b \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/li>\n<\/ul>\n<p>  \u041a\u0430\u043a \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0432\u0441\u044f \u043c\u0430\u0433\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0442\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c PHP \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 SoapClient \u0438 SoapServer. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u0440\u043e\u043b\u0438\u043a\u0430 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h2>1 \u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h2>\n<p>  <\/p>\n<h3>1.1 \u0413\u0440\u0430\u043d\u0438\u0446\u044b<\/h3>\n<p>  \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0442\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0435\u043c \u0432 \u043a\u043e\u043d\u0446\u0435 \u0442\u043e\u043f\u0438\u043a\u0430. \u041a\u0430\u043a \u0431\u044b\u043b\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043e \u0432\u044b\u0448\u0435, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u0430 \u0435\u0441\u043b\u0438 \u0435\u0449\u0435 \u0442\u043e\u0447\u043d\u0435\u0435, \u0442\u043e \u043a \u043d\u0430\u043c \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 SOAP. \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u043e\u043d\u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u0421\u0430\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u0438\u0445 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0443, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0437\u0430 \u0440\u0430\u043c\u043a\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430 \u043f\u043e \u043c\u043d\u043e\u0433\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/9be\/c23\/333\/9bec2333380ea117decd64b0d41fec32.png\"\/><\/p>\n<h3>1.2 \u041a\u0430\u043a\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0431\u0443\u0434\u0435\u043c \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f?<\/h3>\n<p>  \u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u0441 \u0433\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u043c\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c! \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u2013 \u0440\u0435\u0448\u0438\u0442\u044c \u043a\u0430\u043a\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c. \u041d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0434\u043e\u043b\u0433\u043e \u043d\u0435 \u043c\u0443\u0434\u0440\u0438\u0442\u044c \u0438 \u0441\u0440\u0430\u0437\u0443 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b:<\/p>\n<ul>\n<li>\u041a\u0430\u043a\u043e\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430\u0434\u043e \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0443?<\/li>\n<li>\u041a\u0430\u043a\u043e\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430\u0434\u043e \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0447\u0442\u043e\u0431\u044b \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430?<\/li>\n<\/ul>\n<p>  \u0427\u0442\u043e-\u0442\u043e \u043c\u043d\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<ul>\n<li>\u043d\u043e\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435<\/li>\n<li>\u0442\u0435\u043a\u0441\u0442 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0434\u0432\u0443\u0445 \u044d\u0442\u0438\u0445 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438, \u043d\u043e \u043c\u043d\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043b\u0443\u0447\u0430\u0439, \u043a\u0430\u043a sms-\u043a\u0430 \u0441 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e \u0434\u043d\u0435 \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432\u0430\u043c \u0432 3 \u0447\u0430\u0441\u0430 \u0443\u0442\u0440\u0430, \u0438\u043b\u0438 4! \u0412 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u0431\u0443\u0434\u0443 \u0432\u0441\u0435\u043c \u043e\u0447\u0435\u043d\u044c \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d \u0437\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u043e \u043c\u0435\u043d\u044f \u043d\u0435 \u0437\u0430\u0431\u044b\u043b\u0438! \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438<\/p>\n<ul>\n<li>\u0434\u0430\u0442\u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435, \u0447\u0442\u043e \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0442\u0430\u043a \u044d\u0442\u043e<\/p>\n<ul>\n<li>\u0422\u0438\u043f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c, \u043d\u043e \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043c \u043e\u0447\u0435\u043d\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u0441\u0441\u0443 \u043e \u0442\u043e\u043c, \u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043c\u044b \u00ab\u043e\u0431\u0440\u0430\u0434\u043e\u0432\u0430\u043b\u0438\u00bb \u0441\u0432\u043e\u0438\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u0435\u043c, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u043d\u0438\u0431\u0443\u0434\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0441\u0447\u0435\u0442.<\/p>\n<p>  \u0418 \u0432\u0441\u0435 \u0436\u0435, \u044f \u0447\u0442\u043e-\u0442\u043e \u0437\u0430\u0431\u044b\u043b! \u0415\u0441\u043b\u0438 \u0435\u0449\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0435\u0444\u043b\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043a\u043b\u0438\u0435\u043d\u0442 \u0437\u0430 \u0440\u0430\u0437 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u0430\u043a \u043e\u0434\u043d\u043e sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0442\u0430\u043a \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e. \u0414\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043e \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c, \u0447\u0442\u043e \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<ul>\n<li>\u043d\u043e\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430,<\/li>\n<li>\u0442\u0435\u043a\u0441\u0442 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f,<\/li>\n<li>\u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u0443,<\/li>\n<li>\u0442\u0438\u043f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/cf1\/2e7\/1c3\/cf12e71c3d3ea3017a211fbd3cc07c1d.png\"\/><\/p>\n<p>  \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441 \u043c\u044b \u043e\u0442\u0432\u0435\u0442\u0438\u043b\u0438, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441. \u0418 \u043f\u043e\u0436\u0430\u043b\u0443\u0439, \u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044e \u0441\u0435\u0431\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441 \u0445\u0430\u043b\u0442\u0443\u0440\u0438\u0442\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u043b\u0435\u0432\u044b \u0434\u0430\u043d\u043d\u044b\u0435, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043c\u044b\u0441\u043b:<\/p>\n<ul>\n<li>TRUE \u2013 \u043f\u0430\u043a\u0435\u0442 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0434\u043e\u0448\u0435\u043b \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u0440\u043e\u0448\u0435\u043b \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0438 \u0432\u0441\u0442\u0430\u043b \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 sms-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0443<\/li>\n<li>FALSE \u2013 \u0432\u043e \u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445<\/li>\n<\/ul>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/357\/aa9\/bca\/357aa9bcafa3e4770be21279cdfa05e9.png\"\/><\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u0430\u0434\u0430\u0447\u0438! \u0418 \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u043c\u0443 \u2013 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0447\u0442\u043e \u0437\u0430 \u0434\u0438\u043a\u043e\u0432\u0438\u043d\u043d\u044b\u0439 \u0437\u0432\u0435\u0440\u044c \u044d\u0442\u043e\u0442 SOAP!<\/p>\n<h2>2 \u0421 \u0447\u0435\u043c \u0435\u0441\u0442\u044c SOAP?<\/h2>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435, \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0438\u0447\u0435\u0433\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 SOAP \u0438 \u0445\u043e\u0442\u0435\u043b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 w3.org \u0441 \u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u043d\u0430 Wikipedia. \u041d\u043e \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0440\u043e\u0442\u0435\u043d\u044c\u043a\u0443\u044e \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043a\u0443 \u043e\u0431 \u044d\u0442\u043e\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435.<\/p>\n<p>  \u0418 \u043d\u0430\u0447\u043d\u0443 \u044f \u0441\u0432\u043e\u0435 \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0439 \u043f\u0430\u0440\u0430\u0434\u0438\u0433\u043c\u0435 RPC (Remote Procedure Call, \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440) \u0430\u043d\u0442\u0438\u043f\u043e\u0434\u043e\u043c \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f REST (Representational State Transfer, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0440\u0435\u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f). \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c \u0432 Wikipedia, \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u0442\u043e\u043f\u0438\u043a\u0430. \u0418\u0437 \u044d\u0442\u0438\u0445 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0443\u044f\u0441\u043d\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435: \u00ab\u041f\u043e\u0434\u0445\u043e\u0434 RPC \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c. \u041f\u0440\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u0435 REST \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0441\u0442\u0440\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u044b, \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c\u00bb. \u0422.\u0435., \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043d\u0430\u043c \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 RPC \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0434\u0438\u043d \u0432\u0445\u043e\u0434 (\u0441\u0441\u044b\u043b\u043a\u0430) \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438 \u043a\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a \u043f\u0440\u0438 REST \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435 \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u043e\u0432 (\u0441\u0441\u044b\u043b\u043e\u043a), \u043a\u0430\u0436\u0434\u0430\u044f \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u0415\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0438\u0437 \u0447\u0438\u0442\u0430\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0435\u0442, \u043a\u0430\u043a \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0435 \u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u0430\u0445, \u0442\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!<\/p>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043f\u0440\u043e SOAP \u2013 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 XML, \u0447\u0442\u043e \u0441 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0442.\u043a. \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0432 \u043d\u0430\u0448 \u0430\u0440\u0441\u0435\u043d\u0430\u043b \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432\u0441\u044f \u043c\u043e\u0449\u044c \u0441\u0442\u0435\u043a\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e XML-Schema \u2013 \u044f\u0437\u044b\u043a \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b XML-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 (\u0441\u043f\u0430\u0441\u0438\u0431\u043e Wikipedia!), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0449\u0438\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>  \u0418 \u0442\u0430\u043a, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e SOAP \u2013 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430 \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 XML! \u0415\u0441\u043b\u0438 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u043d\u0430 Wikipedia, \u0442\u043e \u043e\u0442\u0442\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0435\u0449\u0435 \u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0432\u0435\u0440\u0445 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f, \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0430\u0440\u0435 \u0441 HTTP (\u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0442\u043e\u043f\u0438\u043a\u0435 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e SOAP \u043f\u043e\u0432\u0435\u0440\u0445 HTTP). \u0418 \u0437\u043d\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u043c\u043d\u0435 \u0432\u043e \u0432\u0441\u0435\u043c \u044d\u0442\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f? \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0434\u043e\u0433\u0430\u0434\u043e\u043a, \u0442\u043e \u044f \u0434\u0430\u043c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0443 \u2013 SOAP!\u2026 \u0412\u0441\u0435\u0440\u0430\u0432\u043d\u043e \u043d\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0434\u043e\u0433\u0430\u0434\u043e\u043a?\u2026 \u0412\u044b \u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0447\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e \u043d\u0430 Wikipedia?\u2026 \u0412 \u043e\u0431\u0449\u0435\u043c, \u043d\u0435 \u0431\u0443\u0434\u0443 \u0432\u0430\u0441 \u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u0443\u0447\u0438\u0442\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0439\u0434\u0443 \u043a \u043e\u0442\u0432\u0435\u0442\u0443: \u00abSOAP (\u043e\u0442 \u0430\u043d\u0433\u043b. Simple Object Access Protocol \u2014 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 <em>\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b<\/em> \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c; <em>\u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 1.2<\/em>)\u00bb. \u0421\u0430\u043c\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043e \u043a\u0443\u0440\u0441\u0438\u0432\u043e\u043c! \u042f \u043d\u0435 \u0437\u043d\u0430\u044e \u043a\u0430\u043a\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0432\u044b \u0438\u0437 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e, \u043d\u043e \u043c\u043d\u0435 \u0432\u0438\u0434\u0438\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u2013 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043d\u0443 \u043d\u0438\u043a\u0430\u043a \u043d\u0435\u043b\u044c\u0437\u044f \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u00ab\u043f\u0440\u043e\u0441\u0442\u044b\u043c\u00bb (\u0438 \u0432\u0438\u0434\u0438\u043c\u043e \u0441 \u044d\u0442\u0438\u043c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u044b \u0434\u0430\u0436\u0435 \u0432 w3), \u0442\u043e \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 1.2 \u043e\u043d \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043a\u0430\u043a-\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f! \u0418 \u0441\u0442\u0430\u043b \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f SOAP, \u043f\u0440\u043e\u0441\u0442\u043e SOAP \u0438 \u0442\u043e\u0447\u043a\u0430.<\/p>\n<p>  \u041d\u0443 \u0434\u0430 \u043b\u0430\u0434\u043d\u043e, \u043f\u0440\u043e\u0448\u0443 \u043c\u0435\u043d\u044f \u0438\u0437\u0432\u0438\u043d\u0438\u0442\u044c, \u0437\u0430\u043d\u0435\u0441\u043b\u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443. \u041a\u0430\u043a \u044f \u043f\u0438\u0441\u0430\u043b \u0440\u0430\u043d\u0435\u0435, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f XML, \u0430 \u043f\u0430\u043a\u0435\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0443\u0440\u0441\u0438\u0440\u0443\u044e\u0442 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f SOAP-\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430, \u0442\u043e \u043e\u043d \u0432\u0430\u043c \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u043c, \u0442.\u043a. \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u0412 \u043d\u0435\u043c \u0435\u0441\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u2013 <em>Envelop<\/em>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u044b <em>Header<\/em> \u0438 <em>Body<\/em>, \u043b\u0438\u0431\u043e <em>Fault<\/em>. \u0412 <em>Body<\/em> \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043e\u043d \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a <em>Header<\/em> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c. \u0412 <em>Header<\/em> \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f, \u043b\u0438\u0431\u043e \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0438\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430 \u043f\u0440\u044f\u043c\u0443\u044e \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a \u0432\u0445\u043e\u0434\u043d\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u041f\u0440\u043e <em>Fault<\/em> \u043e\u0441\u043e\u0431\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u0447\u0435\u0433\u043e, \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043e\u043d \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043e\u0448\u0438\u0431\u043e\u043a.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/e3e\/f19\/d70\/e3ef19d70cb8ef3172c50903da2b7619.png\"\/><\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u043e\u0439 \u043e\u0431\u0437\u043e\u0440\u043d\u044b\u0439 \u0440\u0430\u0441\u0441\u043a\u0430\u0437 \u043f\u0440\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b SOAP \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f (\u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u0441\u0430\u043c\u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u044b \u0438 \u0438\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0448\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043d\u0430\u0443\u0447\u0430\u0442\u0441\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438\u0445 \u0434\u0440\u0443\u0433 \u0432 \u0434\u0440\u0443\u0433\u0430) \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u2013 \u043f\u0440\u043e \u043a\u043e\u043c\u043f\u0430\u043d\u044c\u043e\u043d\u0430 SOAP \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <em>WSDL<\/em> (Web Services Description Language). \u0414\u0430-\u0434\u0430, \u044d\u0442\u043e \u0442\u0430 \u0441\u0430\u043c\u0430\u044f \u0448\u0442\u0443\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u043f\u0443\u0433\u0438\u0432\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0430\u0441 \u043e\u0442 \u0441\u0430\u043c\u043e\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0432\u0437\u044f\u0442\u044c \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0435 API \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0447\u0435\u0433\u043e, \u043c\u044b \u043e\u0431\u044b\u0447\u043d\u043e \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0435\u043c \u0441\u0432\u043e\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u0441 JSON \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430. \u0418 \u0442\u0430\u043a, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 WSDL? WSDL \u2013 \u044f\u0437\u044b\u043a \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043d\u0438\u043c, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 XML (\u0441) Wikipedia. \u0415\u0441\u043b\u0438 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432\u0430\u043c \u043d\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u0432\u0435\u0441\u044c \u0441\u0430\u043a\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043c\u044b\u0441\u043b \u0434\u0430\u043d\u043d\u043e\u0439 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438, \u0442\u043e \u044f \u043f\u043e\u043f\u044b\u0442\u0430\u044e\u0441\u044c \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438!<\/p>\n<p>  WSDL \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u043c\u043e\u0433\u043b\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0444\u0430\u0439\u043b\u0435 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c \u00ab*.wsdl\u00bb \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f:  <\/p>\n<ul>\n<li>\u041a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0435\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c,<\/li>\n<li>\u041a\u0430\u043a\u0438\u0435 \u0441\u0445\u0435\u043c\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c,<\/li>\n<li>\u041a\u0430\u043a\u0438\u0435 \u0442\u0438\u043f\u044b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441 \u0436\u0434\u0435\u0442 \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432,<\/li>\n<li>\u041a\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u043a\u0430\u043a\u0438\u043c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430,<\/li>\n<li>\u041a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441,<\/li>\n<li>\u041a\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430,<\/li>\n<li>\u041d\u0430 \u043a\u0430\u043a\u043e\u0439 \u0430\u0434\u0440\u0435\u0441 \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432\u044b\u0437\u043e\u0432\u044b \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/li>\n<\/ul>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0438 \u0435\u0441\u0442\u044c \u0432\u0435\u0441\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441. \u0423\u043a\u0430\u0437\u0430\u0432 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 WSDL-\u0444\u0430\u0439\u043b\u0430 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0437\u043d\u0430\u0442\u044c \u043e\u0431 \u043b\u044e\u0431\u043e\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0432\u0441\u0435! \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u043d\u0430\u043c \u043d\u0435 \u043d\u0430\u0434\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u0437\u043d\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u0433\u0434\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u0441\u0430\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0435\u0433\u043e WSDL-\u0444\u0430\u0439\u043b\u0430! \u0421\u043a\u043e\u0440\u043e \u043c\u044b \u0443\u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0441\u0442\u0440\u0430\u0448\u0435\u043d SOAP \u043a\u0430\u043a \u0435\u0433\u043e \u043c\u0430\u043b\u044e\u044e\u0442 (\u0441) \u0440\u0443\u0441\u0441\u043a\u0430\u044f \u043f\u043e\u0441\u043b\u043e\u0432\u0438\u0446\u044b.<\/p>\n<h2>3 \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 XML-Schema<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0437\u043d\u0430\u0435\u043c \u043e \u0442\u043e, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 SOAP, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0443 \u043d\u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u0438 \u0438\u043c\u0435\u0435\u043c \u043e\u0431\u0437\u043e\u0440\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u0435\u043a \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0435\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0430\u0435\u0442. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443, \u043f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e SOAP \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u044f\u0437\u044b\u043a \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 XML, \u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043c\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u043a\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c XML-\u0441\u0445\u0435\u043c.<\/p>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u0445\u0435\u043c\u044b \u2013 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c. \u0412\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 XML-\u0441\u0445\u0435\u043c\u0430\u0445 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 <i>\u043f\u0440\u043e\u0441\u0442\u044b\u0435<\/i> (\u0441\u043a\u0430\u043b\u044f\u0440\u043d\u044b\u0435) \u0438 <i>\u043a\u043e\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435<\/i> (\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b) \u0442\u0438\u043f\u044b. \u041a \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0442\u0438\u043f\u0430\u043c \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u0435 \u0442\u0438\u043f\u044b \u043a\u0430\u043a:  <\/p>\n<ul>\n<li>\u0441\u0442\u0440\u043e\u043a\u0430,<\/li>\n<li>\u0447\u0438\u0441\u043b\u043e,<\/li>\n<li>\u0431\u0443\u043b\u0435\u0432\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435,<\/li>\n<li>\u0434\u0430\u0442\u0430.<\/li>\n<\/ul>\n<p>  \u0427\u0442\u043e-\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435, \u0443 \u0447\u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0435\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439. \u0418\u0445 \u0430\u043d\u0442\u0438\u043f\u043e\u0434\u043e\u043c \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435 \u0442\u0438\u043f\u044b. \u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432\u0441\u0435\u043c \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u2013 \u043e\u0431\u044a\u0435\u043a\u0442\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043d\u0438\u0433\u0430. \u041a\u043d\u0438\u0433\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0441\u0432\u043e\u0439\u0441\u0442\u0432: <i>\u0430\u0432\u0442\u043e\u0440<\/i>, <i>\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435<\/i>, <i>\u0446\u0435\u043d\u0430<\/i>, <i>ISBN \u043d\u043e\u043c\u0435\u0440<\/i> \u0438 \u0442.\u0434. \u0418 \u044d\u0442\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u0442\u0438\u043f\u0430\u043c\u0438, \u0442\u0430\u043a \u0438 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u043c\u0438. \u0418 \u0437\u0430\u0434\u0430\u0447\u0430 XML-\u0441\u0445\u0435\u043c\u044b \u044d\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c.<\/p>\n<p>  \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0445\u043e\u0434\u0438\u0442\u044c \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c XML-\u0441\u0445\u0435\u043c\u0443 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f! \u041d\u0438\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e xml-\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"xml\">&lt;message&gt; \t&lt;phone&gt;71239876543&lt;\/phone&gt; \t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435&lt;\/text&gt; \t&lt;date&gt;2013-07-20T12:00:00&lt;\/date&gt; \t&lt;type&gt;12&lt;\/type&gt; &lt;\/message&gt; <\/code><\/pre>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"xml\">&lt;element name=&quot;message&quot; type=&quot;Message&quot; \/&gt; &lt;complexType name=&quot;Message&quot;&gt; \t&lt;sequence&gt; \t\t&lt;element name=&quot;phone&quot; type=&quot;string&quot; \/&gt; \t\t&lt;element name=&quot;text&quot; type=&quot;string&quot; \/&gt; \t\t&lt;element name=&quot;date&quot; type=&quot;dateTime&quot; \/&gt; \t\t&lt;element name=&quot;type&quot; type=&quot;decimal&quot; \/&gt; \t&lt;\/sequence&gt; &lt;\/complexType&gt; <\/code><\/pre>\n<p>  \u042d\u0442\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u00ab<i>message<\/i>\u00bb \u0442\u0438\u043f\u0430 \u00ab<i>Message<\/i>\u00bb \u0438 \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0439 \u0442\u0438\u043f \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00ab<i>Message<\/i>\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u00ab<i>phone<\/i>\u00bb \u0442\u0438\u043f\u0430 <i>string<\/i>, \u00ab<i>text<\/i>\u00bb \u0442\u0438\u043f\u0430 <i>string<\/i>, \u00ab<i>date<\/i>\u00bb \u0442\u0438\u043f\u0430 <i>dateTime<\/i>, \u00ab<i>type<\/i>\u00bb \u0442\u0438\u043f\u0430 <i>decimal<\/i>. \u042d\u0442\u0438 \u0442\u0438\u043f\u044b \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u0445\u0435\u043c\u044b. \u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u044e! \u041c\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043d\u0430\u0448\u0443 \u043f\u0435\u0440\u0432\u0443\u044e XML-\u0441\u0445\u0435\u043c\u0443!<\/p>\n<p>  \u0414\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u00ab<i>element<\/i>\u00bb \u0438 \u00ab<i>complexType<\/i>\u00bb \u0432\u0430\u043c \u0441\u0442\u0430\u043b\u043e \u0432\u0441\u0435 \u0431\u043e\u043b\u0435\u0435-\u043c\u0435\u043d\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u043d\u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u043e\u0441\u0442\u0440\u044f\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u043c\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442-\u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440 \u00ab<i>sequence<\/i>\u00bb. \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442-\u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440 \u00ab<i>sequence<\/i>\u00bb \u043c\u044b \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u043c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435 \u0432 \u043d\u0435\u0433\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432 \u0441\u0445\u0435\u043c\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u0441\u0435 \u0438\u0437 \u043d\u0438\u0445 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438. \u041d\u043e \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u0447\u0430\u0438\u0432\u0430\u0442\u044c\u0441\u044f! \u0412 XML-\u0441\u0445\u0435\u043c\u0430\u0445 \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u0434\u0432\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430-\u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0430: \u00ab<i>choice<\/i>\u00bb \u0438 \u00ab<i>all<\/i>\u00bb. \u041a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440 \u00ab<i>choice<\/i>\u00bb \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u043d\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0430 \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440 \u00ab<i>all<\/i>\u00bb \u2013 \u043b\u044e\u0431\u0430\u044f \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>  \u041a\u0430\u043a \u0432\u044b \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0442\u043e \u0432 \u043f\u0435\u0440\u0432\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u0442\u043e\u043f\u0438\u043a\u0430 \u043c\u044b \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438\u0441\u044c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 \u043f\u0430\u043a\u0435\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043e \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0441\u0442\u0438 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u0442\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 XML-\u0441\u0445\u0435\u043c\u0435. \u041e\u0431\u0449\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"xml\">&lt;messageList&gt; \t&lt;message&gt; \t\t&lt;phone&gt;71239876543&lt;\/phone&gt; \t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1&lt;\/text&gt; \t\t&lt;date&gt;2013-07-20T12:00:00&lt;\/date&gt; \t\t&lt;type&gt;12&lt;\/type&gt; \t&lt;\/message&gt; \t&lt;!-- ... --&gt; \t&lt;message&gt; \t\t&lt;phone&gt;71239876543&lt;\/phone&gt; \t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 N&lt;\/text&gt; \t\t&lt;date&gt;2013-07-20T12:00:00&lt;\/date&gt; \t\t&lt;type&gt;12&lt;\/type&gt; \t&lt;\/message&gt; &lt;\/messageList&gt; <\/code><\/pre>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code class=\"xml\">&lt;complexType name=&quot;Message&quot;&gt; \t&lt;sequence&gt; \t\t&lt;element name=&quot;phone&quot; type=&quot;string&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt; \t\t&lt;element name=&quot;text&quot; type=&quot;string&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt; \t\t&lt;element name=&quot;date&quot; type=&quot;dateTime&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt; \t\t&lt;element name=&quot;type&quot; type=&quot;decimal&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt; \t&lt;\/sequence&gt; &lt;\/complexType&gt;  &lt;element name=&quot;messageList&quot; type=&quot;MessageList&quot; \/&gt; &lt;complexType name=&quot;MessageList&quot;&gt; \t&lt;sequence&gt; \t\t&lt;element minOccurs=&quot;1&quot; maxOccurs=&quot;unbounded&quot; name=&quot;message&quot; type=&quot;Message&quot;\/&gt; \t&lt;\/sequence&gt; &lt;\/complexType&gt; <\/code><\/pre>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u043e\u043c \u0431\u043b\u043e\u043a\u0435 \u0438\u0434\u0435\u0442 \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0435 \u043d\u0430\u043c \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u00ab<i>Message<\/i>\u00bb. \u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0442\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0442\u0438\u043f\u0435, \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u0432 \u00ab<i>Message<\/i>\u00bb, \u0431\u044b\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u043e\u0432\u044b\u0435 \u0443\u0442\u043e\u0447\u043d\u044f\u044e\u0449\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u00ab<i>minOccurs<\/i>\u00bb \u0438 \u00ab<i>maxOccurs<\/i>\u00bb. \u041a\u0430\u043a \u043d\u0435 \u0442\u0440\u0443\u0434\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f \u0438\u0437 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f, \u043f\u0435\u0440\u0432\u044b\u0439 (<i>minOccurs<\/i>) \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u0442\u0438\u043f\u0430 \u00ab<i>phone<\/i>\u00bb, \u00ab<i>text<\/i>\u00bb, \u00ab<i>date<\/i>\u00bb \u0438 \u00ab<i>type<\/i>\u00bb, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 (<i>maxOccurs<\/i>) \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043d\u0430\u043c \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u0442\u0430\u043a\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u043d\u0430\u0448\u0435\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u043f\u043e-\u043e\u0434\u043d\u043e\u043c\u0443. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u0441\u0432\u043e\u0438 \u0441\u0445\u0435\u043c\u044b \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0448\u0438\u0440\u043e\u0447\u0430\u0439\u0448\u0438\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u043e \u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435!<\/p>\n<p>  \u0412\u0442\u043e\u0440\u043e\u0439 \u0431\u043b\u043e\u043a \u0441\u0445\u0435\u043c\u044b \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u0443\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u00ab<i>messageList<\/i>\u00bb \u0442\u0438\u043f\u0430 \u00ab<i>MessageList<\/i>\u00bb. \u0412\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u00ab<i>MessageList<\/i>\u00bb \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0439 \u0442\u0438\u043f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043e\u0434\u0438\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u00ab<i>message<\/i>\u00bb, \u043d\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0442\u0430\u043a\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043e!<\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u041b\u0438\u043a\u0411\u0435\u0437 \u043f\u043e \u0441\u0445\u0435\u043c\u0430\u043c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d \u0438 \u0434\u0430\u043b\u0435\u0435 \u043d\u0430\u0441 \u0436\u0434\u0435\u0442 \u0435\u0449\u0435 \u043e\u0434\u043d\u043e \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u2013 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 WSDL!<\/p>\n<h2>4 \u041f\u0438\u0448\u0435\u043c \u0441\u0432\u043e\u0439 WSDL<\/h2>\n<p>  \u0412\u044b \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e WSDL \u0438 \u0435\u0441\u0442\u044c \u043d\u0430\u0448 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441? \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u0435! \u041a\u0430\u043a \u043c\u044b \u0435\u0433\u043e \u043d\u0430\u043f\u0438\u0448\u0435\u043c, \u0442\u0430\u043a \u043d\u0430 \u043d\u0435\u043c \u043d\u0430\u0448 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441 \u0438 \u043f\u043e\u043f\u043b\u044b\u0432\u0435\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u043d\u0435 \u0445\u0430\u043b\u0442\u0443\u0440\u0438\u0442\u044c.<\/p>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435, \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443 \u043d\u0430\u0441 \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0443 WSDL-\u0444\u0430\u0439\u043b \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c MIME-\u0442\u0438\u043f\u043e\u043c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432\u0430\u0448 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2013 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c \u00ab*.wsdl\u00bb MIME-\u0442\u0438\u043f \u0440\u0430\u0432\u043d\u044b\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n<pre><code>application\/wsdl+xml <\/code><\/pre>\n<p>  \u041d\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u044f \u043e\u0431\u044b\u0447\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c PHP HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a\u00ab<i>text\/xml<\/i>\u00bb:<\/p>\n<pre><code class=\"php\">header(&quot;Content-Type: text\/xml; charset=utf-8&quot;); <\/code><\/pre>\n<p>  \u0438 \u0432\u0441\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p>  \u0425\u043e\u0447\u0443 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0434\u0438\u0442\u044c, \u043d\u0430\u0448 \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u043f\u0443\u0433\u0430\u0439\u0442\u0435\u0441\u044c, \u0442.\u043a. \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0442\u0435\u043a\u0441\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0432\u043e\u0434\u043e\u0439 \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0432 \u0435\u0435 \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443!<\/p>\n<p>  \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 WSDL \u2013 \u044d\u0442\u043e XML, \u0442\u043e \u0432 \u0441\u0430\u043c\u043e\u0439 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u044f\u043c\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u041a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0444\u0430\u0439\u043b\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u00ab<i>definitions<\/i>\u00bb:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;definitions&gt; &lt;\/definitions&gt; <\/code><\/pre>\n<p>  \u041e\u0431\u044b\u0447\u043d\u043e, WSDL \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 4-5 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432. \u0421\u0430\u043c\u044b\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u0431\u043b\u043e\u043a \u2013 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u2013 \u0442\u043e\u0447\u043a\u0438 \u0432\u0445\u043e\u0434\u0430.<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;definitions&gt;     &lt;!\u2014\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;service name=&quot;SmsService&quot;&gt;         &lt;port name=&quot;SmsServicePort&quot; binding=&quot;tns:SmsServiceBinding&quot;&gt;             &lt;soap:address location=&quot;http:\/\/localhost:80\/smsservice.php&quot; \/&gt;         &lt;\/port&gt;     &lt;\/service&gt; &lt;\/definitions&gt; <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u2013 \u00ab<i>SmsService<\/i>\u00bb. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0435 \u0438\u043c\u0435\u043d\u0430 \u0432 WSDL-\u0444\u0430\u0439\u043b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u0430\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 \u043a\u0430\u043a\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0436\u0435\u043b\u0430\u0435\u0442\u0435, \u0442.\u043a. \u043e\u043d\u0438 \u043d\u0435 \u0438\u0433\u0440\u0430\u044e\u0442 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0440\u043e\u043b\u0438.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u00ab<i>SmsService<\/i>\u00bb \u0435\u0441\u0442\u044c \u0442\u043e\u0447\u043a\u0430 \u0432\u0445\u043e\u0434\u0430 (\u00abport\u00bb), \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u00ab<i>SmsServicePort<\/i>\u00bb. \u0418\u043c\u0435\u043d\u043d\u043e \u0432 \u044d\u0442\u0443 \u0442\u043e\u0447\u043a\u0443 \u0432\u0445\u043e\u0434\u0430 \u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u0418 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 \u00ab<i>address<\/i>\u00bb \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0444\u0430\u0439\u043b-\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441 \u0438 \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0442\u043e\u0447\u043a\u0443 \u0432\u0445\u043e\u0434\u0430 \u2013 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;definitions&gt;     &lt;!\u2014\u0424\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;binding name=&quot;SmsServiceBinding&quot; type=&quot;tns:SmsServicePortType&quot;&gt;         &lt;soap:binding style=\u201drpc\u201d transport=&quot;http:\/\/schemas.xmlsoap.org\/soap\/http&quot; \/&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;soap:operation soapAction=&quot;&quot; \/&gt;             &lt;input&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/input&gt;             &lt;output&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/output&gt;         &lt;\/operation&gt;     &lt;\/binding&gt;     &lt;!\u2014\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;service name=&quot;SmsService&quot;&gt;         &lt;port name=&quot;SmsServicePort&quot; binding=&quot;tns:SmsServiceBinding&quot;&gt;             &lt;soap:address location=&quot;http:\/\/localhost:80\/smsservice.php&quot; \/&gt;         &lt;\/port&gt;     &lt;\/service&gt; &lt;\/definitions&gt; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0438 \u0432 \u043a\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u0443 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f. \u0422.\u0435. \u0434\u043b\u044f \u043f\u043e\u0440\u0442\u0430 \u00ab<i>SmsServicePort<\/i>\u00bb \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0430 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c \u00ab<i>SmsServiceBinding<\/i>\u00bb, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u043c\u0435\u0435\u0442 \u0442\u0438\u043f \u0432\u044b\u0437\u043e\u0432\u0430 \u00ab<i>rpc<\/i>\u00bb \u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 (\u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f HTTP. \u0422.\u043e., \u043c\u044b \u0437\u0434\u0435\u0441\u044c \u0443\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c RPC \u0432\u044b\u0437\u043e\u0432 \u043f\u043e\u0432\u0435\u0440\u0445 HTTP. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b (<i>operation<\/i>) \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0435. \u041c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0443 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u2013 \u00ab<i>sendSms<\/i>\u00bb. \u0427\u0435\u0440\u0435\u0437 \u044d\u0442\u0443 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0448\u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f! \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0431\u044b\u043b\u0430 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e, \u0447\u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 SOAP-\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u044b.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;definitions&gt;     &lt;!\u2014 \u041f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c --&gt;     &lt;portType name=&quot;SmsServicePortType&quot;&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;input message=&quot;tns:sendSmsRequest&quot; \/&gt;             &lt;output message=&quot;tns:sendSmsResponse&quot; \/&gt;         &lt;\/operation&gt;     &lt;\/portType&gt;     &lt;!\u2014\u0424\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;binding name=&quot;SmsServiceBinding&quot; type=&quot;tns:SmsServicePortType&quot;&gt;         &lt;soap:binding style=\u201drpc\u201d transport=&quot;http:\/\/schemas.xmlsoap.org\/soap\/http&quot; \/&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;soap:operation soapAction=&quot;&quot; \/&gt;             &lt;input&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/input&gt;             &lt;output&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/output&gt;         &lt;\/operation&gt;     &lt;\/binding&gt;     &lt;!\u2014 \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;service name=&quot;SmsService&quot;&gt;         &lt;port name=&quot;SmsServicePort&quot; binding=&quot;tns:SmsServiceBinding&quot;&gt;             &lt;soap:address location=&quot;http:\/\/localhost:80\/smsservice.php&quot; \/&gt;         &lt;\/port&gt;     &lt;\/service&gt; &lt;\/definitions&gt; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u0448\u0430 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 (\u00abbinding\u00bb) \u0438\u043c\u0435\u0435\u0442 \u0442\u0438\u043f \u00ab<i>SmsServicePortType<\/i>\u00bb \u0438 \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 \u00ab<i>portType<\/i>\u00bb \u0441 \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u044b\u043c \u0442\u0438\u043f\u0443 \u0438\u043c\u0435\u043d\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0443 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c. \u0418 \u0442\u0430\u043a, \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 (\u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443) \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u00ab<i>sendSmsRequest<\/i>\u00bb, \u0430 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 (\u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043a \u043a\u043b\u0438\u0435\u043d\u0442\u0443) \u00ab<i>sendSmsResponse<\/i>\u00bb. \u041a\u0430\u043a \u0438 \u0432\u0441\u0435 \u0438\u043c\u0435\u043d\u0430 \u0432 WSDL, \u0438\u043c\u0435\u043d\u0430 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u2013 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0430\u043c\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0442.\u0435. \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;definitions&gt;     &lt;!-- \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b sendSms --&gt;     &lt;message name=&quot;sendSmsRequest&quot;&gt;         &lt;part name=&quot;Request&quot; element=&quot;tns:Request&quot; \/&gt;     &lt;\/message&gt;     &lt;message name=&quot;sendSmsResponse&quot;&gt;         &lt;part name=&quot;Response&quot; element=&quot;tns:Response&quot; \/&gt;     &lt;\/message&gt;     &lt;!-- \u041f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c --&gt;     &lt;portType name=&quot;SmsServicePortType&quot;&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;input message=&quot;tns:sendSmsRequest&quot; \/&gt;             &lt;output message=&quot;tns:sendSmsResponse&quot; \/&gt;         &lt;\/operation&gt;     &lt;\/portType&gt;     &lt;!-- \u0424\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;binding name=&quot;SmsServiceBinding&quot; type=&quot;tns:SmsServicePortType&quot;&gt;         &lt;soap:binding style=\u201drpc\u201d transport=&quot;http:\/\/schemas.xmlsoap.org\/soap\/http&quot; \/&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;soap:operation soapAction=&quot;&quot; \/&gt;             &lt;input&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/input&gt;             &lt;output&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/output&gt;         &lt;\/operation&gt;     &lt;\/binding&gt;     &lt;!-- \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;service name=&quot;SmsService&quot;&gt;         &lt;port name=&quot;SmsServicePort&quot; binding=&quot;tns:SmsServiceBinding&quot;&gt;             &lt;soap:address location=&quot;http:\/\/localhost:80\/smsservice.php&quot; \/&gt;         &lt;\/port&gt;     &lt;\/service&gt; &lt;\/definitions&gt; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u00ab<i>message<\/i>\u00bb \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u00ab<i>sendSmsRequest<\/i>\u00bb \u0438 \u00ab<i>sendSmsResponse<\/i>\u00bb \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0412 \u043d\u0438\u0445 \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0430 \u0432\u0445\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u0438\u0439\u0442\u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0438\u043f\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u00ab<i>Request<\/i>\u00bb. \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445 \u2013 \u00ab<i>Response<\/i>\u00bb.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u043c\u0443\u044e \u043c\u0430\u043b\u043e\u0441\u0442\u044c \u2013 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0432 \u043d\u0430\u0448 WSDL-\u0444\u0430\u0439\u043b! \u0418 \u043a\u0430\u043a \u0432\u044b \u0434\u0443\u043c\u0430\u0435\u0442\u0435, \u043a\u0430\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 WSDL \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435? \u0414\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0432\u044b \u0443\u0436\u0435 \u0432\u0441\u0435 \u0434\u0430\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u043b\u0438 \u0438 \u0441\u043a\u0430\u0437\u0430\u043b\u0438 \u0441\u0430\u043c\u0438 \u0441\u0435\u0431\u0435, \u0447\u0442\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 XML-\u0441\u0445\u0435\u043c! \u0418 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043f\u0440\u0430\u0432\u044b!<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;definitions xmlns:soap=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/soap\/&quot;              xmlns:soapenc=&quot;http:\/\/schemas.xmlsoap.org\/soap\/encoding\/&quot;              xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;              xmlns:mime=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/mime\/&quot;              xmlns:tns=&quot;http:\/\/localhost\/&quot;              xmlns:xs=&quot;http:\/\/www.w3.org\/2001\/XMLSchema&quot;              xmlns:soap12=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/soap12\/&quot;              xmlns:http=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/http\/&quot;              name=&quot;SmsWsdl&quot;              xmlns=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/&quot;&gt;     &lt;types&gt;         &lt;xs:schema xmlns:tns=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/&quot;                    xmlns=&quot;http:\/\/www.w3.org\/2001\/XMLSchema&quot;                    xmlns:xs=&quot;http:\/\/www.w3.org\/2001\/XMLSchema&quot;                    elementFormDefault=&quot;qualified&quot;                    targetNamespace=&quot;http:\/\/localhost\/&quot;&gt;             &lt;complexType name=&quot;Message&quot;&gt;                 &lt;sequence&gt;                     &lt;element name=&quot;phone&quot; type=&quot;string&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                     &lt;element name=&quot;text&quot; type=&quot;string&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                     &lt;element name=&quot;date&quot; type=&quot;dateTime&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                     &lt;element name=&quot;type&quot; type=&quot;decimal&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                 &lt;\/sequence&gt;             &lt;\/complexType&gt;             &lt;complexType name=&quot;MessageList&quot;&gt;                 &lt;sequence&gt;                 &lt;element minOccurs=&quot;1&quot; maxOccurs=&quot;unbounded&quot; name=&quot;message&quot; type=&quot;Message&quot;\/&gt;                 &lt;\/sequence&gt;             &lt;\/complexType&gt;             &lt;element name=&quot;Request&quot;&gt;                 &lt;element name=&quot;messageList&quot; type=&quot;MessageList&quot; \/&gt;             &lt;\/element&gt;             &lt;element name=&quot;Response&quot;&gt;                 &lt;complexType&gt;                     &lt;sequence&gt;                         &lt;element name=&quot;status&quot; type=&quot;boolean&quot; \/&gt;                     &lt;\/sequence&gt;                 &lt;\/complexType&gt;             &lt;\/element&gt;         &lt;\/xs:schema&gt;     &lt;\/types&gt;     &lt;!-- \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b sendSms --&gt;     &lt;message name=&quot;sendSmsRequest&quot;&gt;         &lt;part name=&quot;Request&quot; element=&quot;tns:Request&quot; \/&gt;     &lt;\/message&gt;     &lt;message name=&quot;sendSmsResponse&quot;&gt;         &lt;part name=&quot;Response&quot; element=&quot;tns:Response&quot; \/&gt;     &lt;\/message&gt;     &lt;!-- \u041f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c --&gt;     &lt;portType name=&quot;SmsServicePortType&quot;&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;input message=&quot;tns:sendSmsRequest&quot; \/&gt;             &lt;output message=&quot;tns:sendSmsResponse&quot; \/&gt;         &lt;\/operation&gt;     &lt;\/portType&gt;     &lt;!-- \u0424\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;binding name=&quot;SmsServiceBinding&quot; type=&quot;tns:SmsServicePortType&quot;&gt;         &lt;soap:binding style=\u201drpc\u201d transport=&quot;http:\/\/schemas.xmlsoap.org\/soap\/http&quot; \/&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;soap:operation soapAction=&quot;&quot; \/&gt;             &lt;input&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/input&gt;             &lt;output&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/output&gt;         &lt;\/operation&gt;     &lt;\/binding&gt;     &lt;!-- \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;service name=&quot;SmsService&quot;&gt;         &lt;port name=&quot;SmsServicePort&quot; binding=&quot;tns:SmsServiceBinding&quot;&gt;             &lt;soap:address location=&quot;http:\/\/localhost:80\/smsservice.php&quot; \/&gt;         &lt;\/port&gt;     &lt;\/service&gt; &lt;\/definitions&gt; <\/code><\/pre>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043d\u0430\u0441 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u0438\u0442\u044c! \u041d\u0430\u0448 \u043f\u0435\u0440\u0432\u044b\u0439 WSDL \u0431\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d! \u0418 \u043c\u044b \u0435\u0449\u0435 \u043d\u0430 \u043e\u0434\u0438\u043d \u0448\u0430\u0433 \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u043b\u0438\u0441\u044c \u043a \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044e \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0446\u0435\u043b\u0438.<br \/>  \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 PHP \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<h2>5 \u041d\u0430\u0448 \u043f\u0435\u0440\u0432\u044b\u0439 SOAP-\u0441\u0435\u0440\u0432\u0435\u0440<\/h2>\n<p>  \u0420\u0430\u043d\u0435\u0435 \u044f \u043f\u0438\u0441\u0430\u043b, \u0447\u0442\u043e \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f SOAP-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 PHP \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 SoapServer. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u0438 \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438 \u0443 \u043c\u0435\u043d\u044f, \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u0439 PHP. \u0415\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0435\u0449\u0435 \u0442\u043e\u0447\u043d\u0435\u0435, \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u00abphp-soap\u00bb. \u041a\u0430\u043a \u0435\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u0432\u0430\u0448 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 PHP (\u0441\u043c. \u0441\u043f\u0438\u0441\u043e\u043a \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b).<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u0444\u0430\u0439\u043b \u00ab<i>smsservice.php<\/i>\u00bb \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c:<\/p>\n<pre><code class=\"php\">&lt;?php \/**  * smsservice.php  *\/ header(&quot;Content-Type: text\/xml; charset=utf-8&quot;); header('Cache-Control: no-store, no-cache'); header('Expires: '.date('r'));  \/**  * \u041f\u0443\u0442\u0438 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432  *\/ set_include_path(get_include_path()     .PATH_SEPARATOR.'classes'     .PATH_SEPARATOR.'objects');  \/**  * \u041f\u0443\u0442\u044c \u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443  *\/ const CONF_NAME = &quot;config.ini&quot;;  \/**  ** \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432  *\/ function __autoload($class_name){     include $class_name.'.class.php'; }  ini_set(&quot;soap.wsdl_cache_enabled&quot;, &quot;0&quot;); \/\/ \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 WSDL-\u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f  \/\/\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 SOAP-\u0441\u0435\u0440\u0432\u0435\u0440 $server = new SoapServer(&quot;http:\/\/{$_SERVER['HTTP_HOST']}\/smsservice.wsdl.php&quot;); \/\/\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a $server-&gt;setClass(&quot;SoapSmsGateWay&quot;); \/\/\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 $server-&gt;handle(); <\/code><\/pre>\n<p>  \u0422\u043e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u044b\u0448\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 \u00abini_set\u00bb, \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e. \u0422.\u043a. \u0442\u0430\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u0438\u0435 HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435. \u0412 \u0441\u0442\u0440\u043e\u0447\u043a\u0435 \u0441 \u00abini_set\u00bb \u043c\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 WSDL-\u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043d\u0435\u043c \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0432\u0441\u0442\u0443\u043f\u0430\u043b\u0438 \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443! \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u0432\u0435\u0441\u044c SOAP-\u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0442\u0440\u0438 \u0441\u0442\u0440\u043e\u043a\u0438! \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 SoapServer \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u043c\u0443 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0448\u0435\u0433\u043e WSDL-\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u0440\u043d\u0435 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0441 \u0433\u043e\u0432\u043e\u0440\u044f\u0449\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u00ab<i>smsservice.wsdl.php<\/i>\u00bb. \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u044b \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u043c SOAP-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043a\u0430\u043a\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0435\u0440\u0433\u0430\u0442\u044c \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u0432\u0448\u0438\u0439 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043a\u043e\u043d\u0432\u0435\u0440\u0442 \u0438 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043a\u043e\u043d\u0432\u0435\u0440\u0442 \u0441 \u043e\u0442\u0432\u0435\u0442\u043e\u043c. \u041a\u0430\u043a \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u044d\u0442\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d \u043d\u0430\u0448 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 <i>sendSms<\/i>. \u0412 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440! \u0412\u0441\u0435, \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u0433\u043e\u0442\u043e\u0432! \u0421 \u0447\u0435\u043c \u044f \u043d\u0430\u0441 \u0432\u0441\u0435\u0445 \u0438 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u044e!<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c WSDL-\u0444\u0430\u0439\u043b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0438\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430, \u043b\u0438\u0431\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0432\u043e\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0435\u0433\u043e \u00ab\u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00bb:<\/p>\n<pre><code class=\"php\">&lt;?php \/**  * smsservice.wsdl.php  *\/ header(&quot;Content-Type: text\/xml; charset=utf-8&quot;); echo &quot;&lt;?xml version=\\&quot;1.0\\&quot; encoding=\\&quot;utf-8\\&quot;?&gt;&quot;; ?&gt; &lt;definitions xmlns:soap=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/soap\/&quot;              xmlns:soapenc=&quot;http:\/\/schemas.xmlsoap.org\/soap\/encoding\/&quot;              xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;              xmlns:mime=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/mime\/&quot;              xmlns:tns=&quot;http:\/\/&lt;?=$_SERVER['HTTP_HOST']?&gt;\/&quot;              xmlns:xs=&quot;http:\/\/www.w3.org\/2001\/XMLSchema&quot;              xmlns:soap12=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/soap12\/&quot;              xmlns:http=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/http\/&quot;              name=&quot;SmsWsdl&quot;              xmlns=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/&quot;&gt;     &lt;types&gt;         &lt;xs:schema elementFormDefault=&quot;qualified&quot;                    xmlns:tns=&quot;http:\/\/schemas.xmlsoap.org\/wsdl\/&quot;                    xmlns:xs=&quot;http:\/\/www.w3.org\/2001\/XMLSchema&quot;                    targetNamespace=&quot;http:\/\/&lt;?=$_SERVER['HTTP_HOST']?&gt;\/&quot;&gt;             &lt;xs:complexType name=&quot;Message&quot;&gt;                 &lt;xs:sequence&gt;                     &lt;xs:element name=&quot;phone&quot; type=&quot;xs:string&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                     &lt;xs:element name=&quot;text&quot; type=&quot;xs:string&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                     &lt;xs:element name=&quot;date&quot; type=&quot;xs:dateTime&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                     &lt;xs:element name=&quot;type&quot; type=&quot;xs:decimal&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; \/&gt;                 &lt;\/xs:sequence&gt;             &lt;\/xs:complexType&gt;             &lt;xs:complexType name=&quot;MessageList&quot;&gt;                 &lt;xs:sequence&gt;                     &lt;xs:element name=&quot;message&quot; type=&quot;Message&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;unbounded&quot; \/&gt;                 &lt;\/xs:sequence&gt;             &lt;\/xs:complexType&gt;             &lt;xs:element name=&quot;Request&quot;&gt;                 &lt;xs:complexType&gt;                     &lt;xs:sequence&gt;                         &lt;xs:element name=&quot;messageList&quot; type=&quot;MessageList&quot; \/&gt;                     &lt;\/xs:sequence&gt;                 &lt;\/xs:complexType&gt;             &lt;\/xs:element&gt;             &lt;xs:element name=&quot;Response&quot;&gt;                 &lt;xs:complexType&gt;                     &lt;xs:sequence&gt;                         &lt;xs:element name=&quot;status&quot; type=&quot;xs:boolean&quot; \/&gt;                     &lt;\/xs:sequence&gt;                 &lt;\/xs:complexType&gt;             &lt;\/xs:element&gt;         &lt;\/xs:schema&gt;     &lt;\/types&gt;      &lt;!-- \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b sendSms --&gt;     &lt;message name=&quot;sendSmsRequest&quot;&gt;         &lt;part name=&quot;Request&quot; element=&quot;tns:Request&quot; \/&gt;     &lt;\/message&gt;     &lt;message name=&quot;sendSmsResponse&quot;&gt;         &lt;part name=&quot;Response&quot; element=&quot;tns:Response&quot; \/&gt;     &lt;\/message&gt;      &lt;!-- \u041f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c --&gt;     &lt;portType name=&quot;SmsServicePortType&quot;&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;input message=&quot;tns:sendSmsRequest&quot; \/&gt;             &lt;output message=&quot;tns:sendSmsResponse&quot; \/&gt;         &lt;\/operation&gt;     &lt;\/portType&gt;      &lt;!-- \u0424\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;binding name=&quot;SmsServiceBinding&quot; type=&quot;tns:SmsServicePortType&quot;&gt;         &lt;soap:binding transport=&quot;http:\/\/schemas.xmlsoap.org\/soap\/http&quot; \/&gt;         &lt;operation name=&quot;sendSms&quot;&gt;             &lt;soap:operation soapAction=&quot;&quot; \/&gt;             &lt;input&gt;             &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/input&gt;             &lt;output&gt;                 &lt;soap:body use=&quot;literal&quot; \/&gt;             &lt;\/output&gt;         &lt;\/operation&gt;     &lt;\/binding&gt;      &lt;!-- \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 --&gt;     &lt;service name=&quot;SmsService&quot;&gt;         &lt;port name=&quot;SmsServicePort&quot; binding=&quot;tns:SmsServiceBinding&quot;&gt;             &lt;soap:address location=&quot;http:\/\/&lt;?=$_SERVER['HTTP_HOST']?&gt;\/smsservice.php&quot; \/&gt;         &lt;\/port&gt;     &lt;\/service&gt; &lt;\/definitions&gt; <\/code><\/pre>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0441 \u0434\u043e\u043b\u0436\u0435\u043d \u0443\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u0442.\u043a. \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0449\u0438\u0435 \u043a \u043d\u0435\u043c\u0443 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u044b \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0442\u043e\u043c \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u043a\u043b\u0438\u0435\u043d\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u043c \u0438 \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f!<\/p>\n<h2>6 SOAP-\u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0435<\/h2>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442. \u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u043c\u044b \u0435\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043a\u043e\u0440\u043d\u0435 \u0445\u043e\u0441\u0442\u0430 \u0438 \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u00ab<i>client.php<\/i>\u00bb, \u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code class=\"php\">&lt;?php \/**  * \/client.php  *\/ header(&quot;Content-Type: text\/html; charset=utf-8&quot;); header('Cache-Control: no-store, no-cache'); header('Expires: '.date('r'));   \/**  * \u041f\u0443\u0442\u0438 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432  *\/ set_include_path(get_include_path()     .PATH_SEPARATOR.'classes'     .PATH_SEPARATOR.'objects');  \/**  ** \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432  *\/ function __autoload($class_name){     include $class_name.'.class.php'; }  ini_set('display_errors', 1); error_reporting(E_ALL & ~E_NOTICE);  \/\/ \u0417\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 class Message{     public $phone;     public $text;     public $date;     public $type; }  class MessageList{     public $message; }  class Request{     public $messageList; }  \/\/ \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 $req = new Request(); $req-&gt;messageList = new MessageList(); $req-&gt;messageList-&gt;message = new Message(); $req-&gt;messageList-&gt;message-&gt;phone = '79871234567'; $req-&gt;messageList-&gt;message-&gt;text = '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1'; $req-&gt;messageList-&gt;message-&gt;date = '2013-07-21T15:00:00.26'; $req-&gt;messageList-&gt;message-&gt;type = 15;  $client = new SoapClient(   &quot;http:\/\/{$_SERVER['HTTP_HOST']}\/smsservice.wsdl.php&quot;,                             array( 'soap_version' =&gt; SOAP_1_2)); var_dump($client-&gt;sendSms($req)); <\/code><\/pre>\n<p>  \u041e\u043f\u0438\u0448\u0435\u043c \u043d\u0430\u0448\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b. \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u0438\u0441\u0430\u043b\u0438 WSDL \u0432 \u043d\u0435\u043c \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0438\u0441\u044c \u0442\u0440\u0438 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438: <i>Request<\/i>, <i>MessageList<\/i> \u0438 <i>Message<\/i>. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a\u043b\u0430\u0441\u0441\u044b <i>Request<\/i>, <i>MessageList<\/i> \u0438 <i>Message<\/i> \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u044d\u0442\u0438\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u043d\u0430\u0448\u0435\u043c PHP-\u0441\u043a\u0440\u0438\u043f\u0442\u0435.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 (<i>$req<\/i>), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0438\u0434\u0443\u0442 \u0434\u0432\u0435 \u0441\u0430\u043c\u044b\u0435 \u0437\u0430\u0432\u0435\u0442\u043d\u044b\u0435 \u0434\u043b\u044f \u043d\u0430\u0441 \u0441\u0442\u0440\u043e\u043a\u0438! \u041d\u0430\u0448 SOAP-\u043a\u043b\u0438\u0435\u043d\u0442! \u0412\u0435\u0440\u0438\u0442\u0435 \u0438\u043b\u0438 \u043d\u0435\u0442, \u043d\u043e \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0447\u0430\u043b\u0438 \u0441\u044b\u043f\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u0445 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b! \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 SoapClient \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0432 \u0435\u0433\u043e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0430\u0434\u0440\u0435\u0441 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f WSDL-\u0444\u0430\u0439\u043b\u0430, \u0430 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 SOAP \u0432\u0435\u0440\u0441\u0438\u0438 1.2. \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u044b \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u0435\u0442\u043e\u0434 <i>sendSms<\/i> \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <i>$client<\/i> \u0438 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442.<br \/>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e-\u0436\u0435 \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c!<\/p>\n<p>  \u041c\u043d\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442:<\/p>\n<pre><code>object(stdClass)[5]   public 'status' =&gt; boolean true <\/code><\/pre>\n<p>  \u0418 \u044d\u0442\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0442.\u043a. \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0435\u043c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0435\u0449\u0435 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f!<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043b\u043e\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0435\u0434\u0435\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435! \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u0438 \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u043d\u0435\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;env:Envelope xmlns:env=&quot;http:\/\/www.w3.org\/2003\/05\/soap-envelope&quot; xmlns:ns1=&quot;http:\/\/sms-service\/&quot;&gt; \t&lt;env:Body&gt; \t\t&lt;ns1:Request&gt; \t\t\t&lt;ns1:messageList&gt; \t\t\t\t&lt;message&gt; \t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1&lt;\/text&gt; \t\t\t\t\t&lt;date&gt;2013-07-21T15:00:00.26&lt;\/date&gt; \t\t\t\t\t&lt;type&gt;15&lt;\/type&gt; \t\t\t\t&lt;\/message&gt; \t\t\t&lt;\/ns1:messageList&gt; \t\t&lt;\/ns1:Request&gt; \t&lt;\/env:Body&gt; &lt;\/env:Envelope&gt; <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u043a\u043e\u043d\u0432\u0435\u0440\u0442. \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a \u043e\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442! \u041d\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043d\u0430 \u043d\u0435\u0433\u043e \u043b\u044e\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u043c \u0432\u0440\u044f\u0434 \u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u0435\u0441\u0435\u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u0437 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u0430 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u0441\u0435 \u043b\u0438 \u0443 \u043d\u0430\u0441 \u0445\u043e\u0440\u043e\u0448\u043e:<\/p>\n<pre><code>object(stdClass)[4]   public 'messageList' =&gt;      object(stdClass)[5]       public 'message' =&gt;          object(stdClass)[6]           public 'phone' =&gt; string '79871234567' (length=11)           public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1' (length=37)           public 'date' =&gt; string '2013-07-21T15:00:00.26' (length=22)           public 'type' =&gt; string '15' (length=2) <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u0435\u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0441 \u0447\u0435\u043c \u044f \u043d\u0430\u0441 \u0432\u0441\u0435\u0445 \u0445\u043e\u0447\u0443 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u0438\u0442\u044c! \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441 \u0436\u0434\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e! \u0410 \u0438\u043c\u0435\u043d\u043d\u043e \u2013 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u043e\u0434\u043d\u043e sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0430 \u0446\u0435\u043b\u0443\u044e \u043f\u0430\u0447\u043a\u0443 (\u0435\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0442\u043e\u0447\u043d\u0435\u0435, \u0442\u043e \u0446\u0435\u043b\u044b\u0445 \u0442\u0440\u0438)!<\/p>\n<h2>7 \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b<\/h2>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0443\u043c\u0430\u0435\u043c \u043d\u0430\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0436\u0435 \u043d\u0430\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0446\u0435\u043b\u0443\u044e \u043f\u0430\u0447\u043a\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435? \u041d\u0430\u0432\u0435\u0440\u043d\u043e, \u0441\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 messageList! \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u043c:<\/p>\n<pre><code class=\"php\">\/\/ \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 $req = new Request(); $req-&gt;messageList = new MessageList();  $msg1 = new Message(); $msg1-&gt;phone = '79871234567'; $msg1-&gt;text = '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1'; $msg1-&gt;date = '2013-07-21T15:00:00.26'; $msg1-&gt;type = 15;  $msg2 = new Message(); $msg2-&gt;phone = '79871234567'; $msg2-&gt;text = '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2'; $msg2-&gt;date = '2014-08-22T16:01:10'; $msg2-&gt;type = 16;  $msg3 = new Message(); $msg3-&gt;phone = '79871234567'; $msg3-&gt;text = '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3'; $msg3-&gt;date = '2014-08-22T16:01:10'; $msg3-&gt;type = 17;  $req-&gt;messageList-&gt;message[] = $msg1; $req-&gt;messageList-&gt;message[] = $msg2; $req-&gt;messageList-&gt;message[] = $msg3; <\/code><\/pre>\n<p>  \u0412 \u043d\u0430\u0448\u0438\u0445 \u043b\u043e\u0433\u0430\u0445 \u0447\u0438\u0441\u043b\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u0435\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0430:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;env:Envelope xmlns:env=&quot;http:\/\/www.w3.org\/2003\/05\/soap-envelope&quot; xmlns:enc=&quot;http:\/\/www.w3.org\/2003\/05\/soap-encoding&quot; xmlns:SOAP-ENC=&quot;http:\/\/schemas.xmlsoap.org\/soap\/encoding\/&quot; xmlns:ns1=&quot;http:\/\/sms-service\/&quot;&gt; \t&lt;env:Body&gt; \t\t&lt;ns1:Request&gt; \t\t\t&lt;ns1:messageList&gt; \t\t\t\t&lt;message&gt; \t\t\t\t\t&lt;SOAP-ENC:Struct&gt; \t\t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1&lt;\/text&gt; \t\t\t\t\t\t&lt;date&gt;2013-07-21T15:00:00.26&lt;\/date&gt; \t\t\t\t\t\t&lt;type&gt;15&lt;\/type&gt; \t\t\t\t\t&lt;\/SOAP-ENC:Struct&gt; \t\t\t\t\t&lt;SOAP-ENC:Struct&gt; \t\t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2&lt;\/text&gt; \t\t\t\t\t\t&lt;date&gt;2014-08-22T16:01:10&lt;\/date&gt; \t\t\t\t\t\t&lt;type&gt;16&lt;\/type&gt; \t\t\t\t\t&lt;\/SOAP-ENC:Struct&gt; \t\t\t\t\t&lt;SOAP-ENC:Struct&gt; \t\t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3&lt;\/text&gt; \t\t\t\t\t\t&lt;date&gt;2014-08-22T16:01:10&lt;\/date&gt; \t\t\t\t\t\t&lt;type&gt;17&lt;\/type&gt; \t\t\t\t\t&lt;\/SOAP-ENC:Struct&gt; \t\t\t\t&lt;\/message&gt; \t\t\t&lt;\/ns1:messageList&gt; \t\t&lt;\/ns1:Request&gt; \t&lt;\/env:Body&gt; &lt;\/env:Envelope&gt; <\/code><\/pre>\n<p>  \u0427\u0442\u043e \u0437\u0430 \u0435\u0440\u0443\u043d\u0434\u0430, \u0441\u043a\u0430\u0436\u0435\u0442\u0435 \u0432\u044b? \u0418 \u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u0440\u0430\u0432\u044b \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435, \u0442.\u043a. \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u043c\u044b \u0443\u0437\u043d\u0430\u043b\u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u0430\u043a\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0443\u0448\u0435\u043b \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0442\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432 \u0442\u043e\u043c \u0436\u0435 \u0432\u0438\u0434\u0435 \u043e\u043d \u043f\u0440\u0438\u0448\u0435\u043b \u043a \u043d\u0430\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u0432\u0438\u0434\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430. \u041f\u0440\u0430\u0432\u0434\u0430, sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0432 XML \u043d\u0435 \u0442\u0430\u043a, \u043a\u0430\u043a \u043d\u0430\u043c \u0431\u044b\u043b\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u2013 \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u043b\u0438 \u0431\u044b\u0442\u044c \u043e\u0431\u0435\u0440\u043d\u0443\u0442\u044b \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b <i>message<\/i>, \u0430 \u043d\u0435 \u0432 <i>Struct<\/i>. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 \u043a\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0442\u0430\u043a\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043c\u0435\u0442\u043e\u0434 <i>sendSms<\/i>:<\/p>\n<pre><code>object(stdClass)[6]   public 'messageList' =&gt;      object(stdClass)[7]       public 'message' =&gt;          object(stdClass)[8]           public 'Struct' =&gt;              array (size=3)               0 =&gt;                  object(stdClass)[9]                   public 'phone' =&gt; string '79871234567' (length=11)                   public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1' (length=37)                   public 'date' =&gt; string '2013-07-21T15:00:00.26' (length=22)                   public 'type' =&gt; string '15' (length=2)               1 =&gt;                  object(stdClass)[10]                   public 'phone' =&gt; string '79871234567' (length=11)                   public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2' (length=37)                   public 'date' =&gt; string '2014-08-22T16:01:10' (length=19)                   public 'type' =&gt; string '16' (length=2)               2 =&gt;                  object(stdClass)[11]                   public 'phone' =&gt; string '79871234567' (length=11)                   public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3' (length=37)                   public 'date' =&gt; string '2014-08-22T16:01:10' (length=19)                   public 'type' =&gt; string '17' (length=2) <\/code><\/pre>\n<p>  \u0427\u0442\u043e \u043d\u0430\u043c \u0434\u0430\u0435\u0442 \u044d\u0442\u043e \u0437\u043d\u0430\u043d\u0438\u0435? \u0422\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043d\u0430\u043c\u0438 \u043f\u0443\u0442\u044c \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u043d\u044b\u043c \u0438 \u043c\u044b \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u2013 \u00ab\u041a\u0430\u043a \u043d\u0430\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445?\u00bb. \u041d\u043e \u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u043d\u0435 \u043e\u0442\u0447\u0430\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043d\u0430\u0448 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a \u0442\u0438\u043f\u0443 <i>\u043e\u0431\u044a\u0435\u043a\u0442<\/i>:<\/p>\n<pre><code class=\"php\">$req-&gt;messageList-&gt;message = (object)$req-&gt;messageList-&gt;message; <\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442 \u0443\u0436\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u043d\u0432\u0435\u0440\u0442:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;env:Envelope xmlns:env=&quot;http:\/\/www.w3.org\/2003\/05\/soap-envelope&quot; xmlns:ns1=&quot;http:\/\/sms-service\/&quot;&gt; \t&lt;env:Body&gt; \t\t&lt;ns1:Request&gt; \t\t\t&lt;ns1:messageList&gt; \t\t\t\t&lt;message&gt; \t\t\t\t\t&lt;BOGUS&gt; \t\t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1&lt;\/text&gt; \t\t\t\t\t\t&lt;date&gt;2013-07-21T15:00:00.26&lt;\/date&gt; \t\t\t\t\t\t&lt;type&gt;15&lt;\/type&gt; \t\t\t\t\t&lt;\/BOGUS&gt; \t\t\t\t\t&lt;BOGUS&gt; \t\t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2&lt;\/text&gt; \t\t\t\t\t\t&lt;date&gt;2014-08-22T16:01:10&lt;\/date&gt; \t\t\t\t\t\t&lt;type&gt;16&lt;\/type&gt; \t\t\t\t\t&lt;\/BOGUS&gt; \t\t\t\t\t&lt;BOGUS&gt; \t\t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3&lt;\/text&gt; \t\t\t\t\t\t&lt;date&gt;2014-08-22T16:01:10&lt;\/date&gt; \t\t\t\t\t\t&lt;type&gt;17&lt;\/type&gt; \t\t\t\t\t&lt;\/BOGUS&gt; \t\t\t\t&lt;\/message&gt; \t\t\t&lt;\/ns1:messageList&gt; \t\t&lt;\/ns1:Request&gt; \t&lt;\/env:Body&gt; &lt;\/env:Envelope&gt; <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0439 \u0432 \u043c\u0435\u0442\u043e\u0434 <i>sendSms<\/i> \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443:<\/p>\n<pre><code>object(stdClass)[7]   public 'messageList' =&gt;      object(stdClass)[8]       public 'message' =&gt;          object(stdClass)[9]           public 'BOGUS' =&gt;              array (size=3)               0 =&gt;                  object(stdClass)[10]                   public 'phone' =&gt; string '79871234567' (length=11)                   public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1' (length=37)                   public 'date' =&gt; string '2013-07-21T15:00:00.26' (length=22)                   public 'type' =&gt; string '15' (length=2)               1 =&gt;                  object(stdClass)[11]                   public 'phone' =&gt; string '79871234567' (length=11)                   public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2' (length=37)                   public 'date' =&gt; string '2014-08-22T16:01:10' (length=19)                   public 'type' =&gt; string '16' (length=2)               2 =&gt;                  object(stdClass)[12]                   public 'phone' =&gt; string '79871234567' (length=11)                   public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3' (length=37)                   public 'date' =&gt; string '2014-08-22T16:01:10' (length=19)                   public 'type' =&gt; string '17' (length=2) <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u043f\u043e \u043c\u043d\u0435, \u0442\u043e \u00ab\u043e\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u044b \u043c\u0435\u0441\u0442 \u0441\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0445 \u2013 \u0441\u0443\u043c\u043c\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f\u00bb (\u0441). \u0427\u0442\u043e <i>BOGUS<\/i>, \u0447\u0442\u043e <i>Struct<\/i> \u2013 \u0446\u0435\u043b\u044c \u043d\u0430\u043c\u0438 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u0430! \u0410 \u0434\u043b\u044f \u0435\u0435 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u0438\u0445 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u0448\u0435 \u0440\u043e\u0434\u043d\u043e\u0435 <b>message<\/b>. \u041d\u043e \u043a\u0430\u043a \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f, \u0430\u0432\u0442\u043e\u0440\u0443 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435, \u0447\u0442\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u2013 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u0442 \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430. \u0414\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u043c\u044b \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432\u043c\u0435\u0441\u0442\u043e <i>message<\/i> \u0441\u0442\u0430\u043b <i>BOGUS<\/i>! \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"php\">\/\/ \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 $req = new Request();  $msg1 = new Message(); $msg1-&gt;phone = '79871234567'; $msg1-&gt;text = '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1'; $msg1-&gt;date = '2013-07-21T15:00:00.26'; $msg1-&gt;type = 15;  $msg2 = new Message(); $msg2-&gt;phone = '79871234567'; $msg2-&gt;text = '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2'; $msg2-&gt;date = '2014-08-22T16:01:10'; $msg2-&gt;type = 16;  $msg3 = new Message(); $msg3-&gt;phone = '79871234567'; $msg3-&gt;text = '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3'; $msg3-&gt;date = '2014-08-22T16:01:10'; $msg3-&gt;type = 17;  $req-&gt;messageList[] = $msg1; $req-&gt;messageList[] = $msg2; $req-&gt;messageList[] = $msg3; $req-&gt;messageList = (object)$req-&gt;messageList; <\/code><\/pre>\n<p>  \u0412\u0434\u0440\u0443\u0433 \u043d\u0430\u043c \u043f\u043e\u0432\u0435\u0437\u0435\u0442 \u0438 \u0438\u0437 \u0441\u0445\u0435\u043c\u044b \u043f\u043e\u0434\u0442\u044f\u043d\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435? \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0439 \u043a\u043e\u043d\u0432\u0435\u0440\u0442:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;env:Envelope xmlns:env=&quot;http:\/\/www.w3.org\/2003\/05\/soap-envelope&quot; xmlns:ns1=&quot;http:\/\/sms-service\/&quot;&gt; \t&lt;env:Body&gt; \t\t&lt;ns1:Request&gt; \t\t\t&lt;ns1:messageList&gt; \t\t\t\t&lt;BOGUS&gt; \t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1&lt;\/text&gt; \t\t\t\t\t&lt;date&gt;2013-07-21T15:00:00.26&lt;\/date&gt; \t\t\t\t\t&lt;type&gt;15&lt;\/type&gt; \t\t\t\t&lt;\/BOGUS&gt; \t\t\t\t&lt;BOGUS&gt; \t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2&lt;\/text&gt; \t\t\t\t\t&lt;date&gt;2014-08-22T16:01:10&lt;\/date&gt; \t\t\t\t\t&lt;type&gt;16&lt;\/type&gt; \t\t\t\t&lt;\/BOGUS&gt; \t\t\t\t&lt;BOGUS&gt; \t\t\t\t\t&lt;phone&gt;79871234567&lt;\/phone&gt; \t\t\t\t\t&lt;text&gt;\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3&lt;\/text&gt; \t\t\t\t\t&lt;date&gt;2014-08-22T16:01:10&lt;\/date&gt; \t\t\t\t\t&lt;type&gt;17&lt;\/type&gt; \t\t\t\t&lt;\/BOGUS&gt; \t\t\t&lt;\/ns1:messageList&gt; \t\t&lt;\/ns1:Request&gt; \t&lt;\/env:Body&gt; &lt;\/env:Envelope&gt; <\/code><\/pre>\n<p>  \u0414\u0430, \u0447\u0443\u0434\u0430 \u043d\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e! <i>BOGUS<\/i> \u2013 \u043d\u0435 \u043f\u043e\u0431\u0435\u0434\u0438\u043c! \u041f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0439 \u0432 <i>sendSms<\/i> \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code>object(stdClass)[6]   public 'messageList' =&gt;      object(stdClass)[7]       public 'BOGUS' =&gt;          array (size=3)           0 =&gt;              object(stdClass)[8]               public 'phone' =&gt; string '79871234567' (length=11)               public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 1' (length=37)               public 'date' =&gt; string '2013-07-21T15:00:00.26' (length=22)               public 'type' =&gt; string '15' (length=2)           1 =&gt;              object(stdClass)[9]               public 'phone' =&gt; string '79871234567' (length=11)               public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 2' (length=37)               public 'date' =&gt; string '2014-08-22T16:01:10' (length=19)               public 'type' =&gt; string '16' (length=2)           2 =&gt;              object(stdClass)[10]               public 'phone' =&gt; string '79871234567' (length=11)               public 'text' =&gt; string '\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 3' (length=37)               public 'date' =&gt; string '2014-08-22T16:01:10' (length=19)               public 'type' =&gt; string '17' (length=2) <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f \u2013 \u00ab\u041f\u043e\u0447\u0442\u0438\u00bb! \u041d\u0430 \u044d\u0442\u043e\u0439 (\u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e\u0439) \u043d\u043e\u0442\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u043f\u043e\u0442\u0438\u0445\u043e\u043d\u0435\u0447\u043a\u0443 \u0437\u0430\u043a\u0440\u0443\u0433\u043b\u044f\u0442\u044c\u0441\u044f \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0432\u044b\u0432\u043e\u0434\u044b.<\/p>\n<h2>8 \u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043c\u044b \u0434\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0441\u044e\u0434\u0430! \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u043c\u0435\u0435\u0442\u0435 \u0434\u0435\u043b\u0430\u0442\u044c:  <\/p>\n<ul>\n<li>\u0432\u0430\u043c \u043f\u043e \u0441\u0438\u043b\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 WSDL-\u0444\u0430\u0439\u043b;<\/li>\n<li>\u0432\u044b \u0431\u0435\u0437 \u0432\u0441\u044f\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u0439 \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 SOAP;<\/li>\n<li>\u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0431\u0449\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u043c \u043c\u0438\u0440\u043e\u043c \u043f\u043e SOAP;<\/li>\n<li>\u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432\u044b \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 (\u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u043c\u0438).<\/li>\n<\/ul>\n<p>  \u0422\u0430\u043a\u0436\u0435, \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432 \u0445\u043e\u0434\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f:  <\/p>\n<ul>\n<li>\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 SoapClient \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 XML;<\/li>\n<li>\u043f\u0440\u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0432 XML \u043e\u043d \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043b\u0438\u0448\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <i>Struct<\/i>;<\/li>\n<li>\u043f\u0440\u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 XML \u043e\u043d \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043b\u0438\u0448\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <i>BOGUS<\/i>;<\/li>\n<li><i>BOGUS<\/i> \u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u0437\u043b\u043e \u0447\u0435\u043c <i>Struct<\/i> \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043a\u043e\u043d\u0432\u0435\u0440\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0435\u0435 (\u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u043d\u0438\u0435 namespace&#8217;\u044b \u0432 XML \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430);<\/li>\n<li>\u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043a\u043b\u0430\u0441\u0441 SoapServer \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u0443\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430 \u043d\u0430\u0448\u0435\u0439 XML-\u0441\u0445\u0435\u043c\u043e\u0439 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u044e\u0442).<\/li>\n<\/ul>\n<h2>9 \u0421\u043f\u0438\u0441\u043e\u043a \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b<\/h2>\n<p>  <\/p>\n<ul>\n<li><a href=\"http:\/\/www.w3.org\/XML\/Schema\">www.w3.org\/XML\/Schema<\/a> \u2013 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0438 \u043f\u0440\u043e\u0447\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043f\u043e XML-\u0441\u0445\u0435\u043c\u0430\u043c<\/li>\n<li><a href=\"http:\/\/www.w3.org\/TR\/soap\">www.w3.org\/TR\/soap<\/a> \u2013 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 SOAP<\/li>\n<li><a href=\"http:\/\/ru.wikipedia.org\/wiki\/Remote_Procedure_Call\">ru.wikipedia.org\/wiki\/Remote_Procedure_Call<\/a> \u2013 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e RPC<\/li>\n<li><a href=\"http:\/\/ru.wikipedia.org\/wiki\/REST\">ru.wikipedia.org\/wiki\/REST<\/a> \u2013 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e REST<\/li>\n<li><a href=\"http:\/\/ru.wikipedia.org\/wiki\/XML\">ru.wikipedia.org\/wiki\/XML<\/a> \u2013 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e XML<\/li>\n<li><a href=\"http:\/\/ru.wikipedia.org\/wiki\/XML_Schema\">ru.wikipedia.org\/wiki\/XML_Schema<\/a> \u2013 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e XML-\u0441\u0445\u0435\u043c\u044b<\/li>\n<li><a href=\"http:\/\/ru.wikipedia.org\/wiki\/WSDL\">ru.wikipedia.org\/wiki\/WSDL<\/a> \u2013 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e WSDL<\/li>\n<li><a href=\"http:\/\/www.php.net\/manual\/ru\/book.soap.php\">www.php.net\/manual\/ru\/book.soap.php<\/a> \u2013 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u043d\u0443\u0430\u043b \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 SOAP \u0432 PHP<\/li>\n<li><a href=\"https:\/\/github.com\/hats\/soap-sms-service\">github.com\/hats\/soap-sms-service<\/a> \u2013 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u043a\u043e\u0434\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u0437 \u0442\u043e\u043f\u0438\u043a\u0430<\/li>\n<\/ul>\n<h5>P.S. \u0410\u0432\u0442\u043e\u0440 \u0441\u0442\u0430\u0442\u044c\u0438 \u0445\u043e\u0442\u0435\u043b \u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0432 SOAP \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439, \u043d\u043e \u0435\u043c\u0443 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u044d\u0442\u043e\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u0432 SoapServer \u0438 SoapClient. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043e\u043f\u044b\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0432 SOAP \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c PHP, \u0442\u043e \u043f\u0440\u043e\u0448\u0443 \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u0441\u0442\u0430\u0442\u044c\u0435, \u043b\u0438\u0431\u043e \u043c\u043d\u0435 \u0432 \u043b\u0438\u0447\u043a\u0443 \ud83d\ude42<\/h5>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/187390\/\"> http:\/\/habrahabr.ru\/post\/187390\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<br \/>  \u0422\u0430\u043a \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u044f \u0441\u0442\u0430\u043b \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u041d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0442\u043e\u043f\u0438\u043a \u043d\u0435 \u043e\u0431\u043e \u043c\u043d\u0435, \u0430 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 XML Web Service \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 SOAP 1.2.<\/p>\n<p>  \u042f \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u0442\u043e\u043f\u0438\u043a\u0430 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e:  <\/p>\n<ul>\n<li>\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f;<\/li>\n<li>\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f;<\/li>\n<li>\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 (WSDL);<\/li>\n<li>\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u044b \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/li>\n<\/ul>\n<p>  \u041a\u0430\u043a \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0432\u0441\u044f \u043c\u0430\u0433\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0442\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c PHP \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 SoapClient \u0438 SoapServer. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u0440\u043e\u043b\u0438\u043a\u0430 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-187390","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/187390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=187390"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/187390\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=187390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=187390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=187390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}