{"id":174109,"date":"2013-03-25T06:48:03","date_gmt":"2013-03-25T02:48:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=174109"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=174109","title":{"rendered":"<span class=\"post_title\">\u041f\u0438\u0448\u0435\u043c SOAP-\u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0430 C++, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f gSOAP<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0422\u0430\u043a \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 gSOAP \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u0430\u0431\u043e. \u0412\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c <a href=\"http:\/\/habrahabr.ru\/post\/121853\/\">\u043e\u0434\u0438\u043d \u043f\u043e\u0441\u0442<\/a>, \u0435\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0447\u0435\u0441\u0442\u043d\u044b\u043c. \u041d\u043e \u0442\u0430\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0430 \u043a\u0430\u043a \u0436\u0435 \u0431\u044b\u0442\u044c \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438? \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u043e \u043c\u043d\u043e\u0439 \u0432\u0441\u0442\u0430\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u043c\u0438 SOAP \u2014 \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e \u043e\u0431 \u044d\u0442\u043e\u043c. <br \/>  \u0422.\u043a. \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c wsdl-\u0444\u0430\u0439\u043b\u044b, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0432\u0435\u043b\u0430\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430, \u044f \u043d\u0435 \u043c\u043e\u0433\u0443 (NDA \u0438 \u0432\u0441\u0435 \u0442\u0430\u043a\u043e\u0435), \u0442\u043e \u044f \u0437\u0430\u0434\u0430\u043b\u0441\u044f \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u044b\u0445 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c\u0438 \u043c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0434\u0432\u0430:<\/p>\n<p>  <a href=\"http:\/\/www.webservicex.net\/ValidateEmail.asmx?WSDL\">http:\/\/www.webservicex.net\/ValidateEmail.asmx?WSDL<\/a><br \/>  <a href=\"http:\/\/www.webservicex.net\/country.asmx?WSDL\">http:\/\/www.webservicex.net\/country.asmx?WSDL<\/a><br \/>  <a name=\"habracut\"><\/a><br \/>  \u042f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u0433\u0434\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c wsdl-\u0444\u0430\u0439\u043b\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 ValidateEmail.wsdl \u0438 country.wsdl<br \/>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c gSOAP \u043c\u043e\u0436\u043d\u043e \u0442\u0443\u0442 \u2014 <a href=\"http:\/\/www.cs.fsu.edu\/~engelen\/soap.html\">http:\/\/www.cs.fsu.edu\/~engelen\/soap.html<\/a>. \u041f\u043e \u044d\u0442\u043e\u043c\u0443 \u0436\u0435 \u0430\u0434\u0440\u0435\u0441\u0443 \u043c\u043e\u0436\u043d\u043e \u0438 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e gSOAP.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u2014 2.8.14<\/p>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0440\u0430\u0431\u043e\u0442\u0435. \u0412 \u043f\u0430\u043f\u043a\u0435 gsoap\\bin\\win32\\ \u0436\u0438\u0432\u0443\u0442 \u0434\u0432\u0435 \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 wsdl2h.exe. \u0423\u0437\u043d\u0430\u0442\u044c \u043e \u043d\u0435\u0439 \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043f\u0440\u0430\u0432\u043a\u0438: <br \/>  <i>&gt;wsdlh2.exe -h<\/i><br \/>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0435\u0435 \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438: <br \/>  <i>wsdl2h.exe -o emailAndCountry.h ValidateEmail.wsdl country.wsdl<\/i><br \/>  \u0412\u0441\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u043c\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u043b\u0438\u0448\u044c \u0438\u043c\u044f \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0438 \u0441\u043f\u0438\u0441\u043e\u043a wsdl-\u0444\u0430\u0439\u043b\u043e\u0432, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0445\u043e\u0442\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a\u043e\u0434 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 C++:<br \/>  <i>soapcpp2.exe -C -dgSoap -j -L -x -I\u00abADDRESS_TO_GSOAP\\gsoap-2.8\\gsoap\\import\u00bb emailAndCountry.h<\/i><br \/>  \u041a\u043b\u044e\u0447 -C \u0433\u043e\u0432\u043e\u0440\u0438\u0442, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043a\u043e\u0434. <br \/>  -dgSoap \u043f\u0440\u043e\u0441\u0438\u0442 \u0441\u043b\u043e\u0436\u0438\u0442\u044c \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432 \u043f\u0430\u043f\u043a\u0443 gSoap (\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c). \u041c\u044b \u043d\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c lib-\u0444\u0430\u0439\u043b\u044b \u0438 \u043d\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u0441\u044f \u043e\u0442 soap-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b; \u043a\u043b\u044e\u0447 -x \u043f\u0440\u043e\u0441\u0438\u0442 \u043d\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c XML-\u0444\u0430\u0439\u043b\u044b \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0434\u043e \u043f\u0430\u043f\u043a\u0438 \u0441 gSOAP \u0438 \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u043c \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u0434.<br \/>  gSOAP \u0440\u0430\u0437\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0439 \u043a\u043e\u0434 (\u0447\u0442\u043e \u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u0432 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e), \u043f\u0440\u0438\u0447\u0435\u043c \u0434\u0430\u0436\u0435 \u0441\u043e\u0441\u0442\u0430\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f. \u042d\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u044b \u0432\u0434\u0440\u0443\u0433 \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c gSOAP-\u0444\u0430\u0439\u043bs \u043d\u0430 \u0431\u0438\u043b\u0434-\u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0430 \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0432 \u043f\u0430\u043f\u043a\u0435 gSoap \u0432\u0438\u0434\u0438\u043c \u043c\u043d\u043e\u0433\u043e \u043d\u043e\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432. \u042d\u0442\u043e \u043f\u043b\u044e\u0441\u043e\u0432\u044b\u0435 -h \u0438 -cpp \u0444\u0430\u0439\u043b\u0430, \u0430 \u0442\u0430\u043a \u0436\u0435 countrySoap.nsmap \u0438 ValidateEmailSoap.nsmap. \u041e\u043d\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0432 \u043e\u0434\u043d\u043e\u043c (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, namespaces.nsmap), \u0430 \u0438\u0445 \u0443\u0434\u0430\u043b\u0438\u0442\u044c. namespaces.nsmap \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0438\u043d\u043a\u043b\u0443\u0434\u0438\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442. \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432 \u043a\u0430\u043a\u043e\u043c-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0430\u0442\u044c \u0441 gSOAP. \u0414\u0430, \u0442\u0430\u043a\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 gSoap stdsoap2.h \u0438 stdsoap2.cpp \u2014 \u043e\u043d\u0438 \u0438\u043d\u043a\u043b\u0443\u0434\u044f\u0442\u0441\u044f \u0432 soapStub.h<\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c:)<br \/>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u043b\u0430\u0441\u0441\u044b soapcountrySoapProxy.cpp \u0438 soapValidateEmailSoapProxy.cpp; \u0432 \u043c\u0435\u0442\u043e\u0434\u0430\u0445 *_init(soap_mode imode, soap_mode omode) \u2014 \u0443\u0434\u0430\u043b\u044f\u0435\u043c namespases (\u043c\u044b \u0436\u0435 \u043d\u0435 \u0437\u0440\u044f \u0438\u043d\u043a\u043b\u0443\u0434\u0438\u043b\u0438 \u043d\u0430\u0448 namespaces.nsmap).<\/p>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0435-\u043c\u0435\u0439\u043b\u0430 \u2014 gSoap\/soapValidateEmailSoapProxy.h <br \/>  \u041d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 <br \/>  virtual int IsValidEmail(_ns1__IsValidEmail *ns1__IsValidEmail, _ns1__IsValidEmailResponse *ns1__IsValidEmailResponse)<\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:  <\/p>\n<pre><code>class SOAP_CMAC _ns1__IsValidEmail { public: \tstd::string *Email;\t\/* optional element of type xsd:string *\/ \tstruct soap *soap;\t\/* transient * \u2026.\/<\/code><\/pre>\n<p>  \u041f\u043e\u043b\u0435 *Email \u043d\u0430\u043c \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c   <\/p>\n<pre><code> \t_ns1__IsValidEmail isValidEmailRequest; \tstd::string CHECKED_E_MAIL(&quot;pisem@sovsem.net&quot;); \tisValidEmailRequest.Email = &CHECKED_E_MAIL;<\/code><\/pre>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:   <\/p>\n<pre><code>_ns1__IsValidEmailResponse isValidEmailResponse;<\/code><\/pre>\n<p>  \u041c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u0432 \u043f\u043e\u043b\u0435 bool IsValidEmailResult.<\/p>\n<p>  \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440:  <\/p>\n<pre><code>const int gSoapResult = validateEmailProxy.IsValidEmail(&isValidEmailRequest, &isValidEmailResponse);<\/code><\/pre>\n<p>  \u0421\u043d\u0438\u0444\u0444\u0435\u0440\u043e\u043c \u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438:  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; - &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http:\/\/www.w3.org\/2003\/05\/soap-envelope&quot; xmlns:SOAP-ENC=&quot;http:\/\/www.w3.org\/2003\/05\/soap-encoding&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xmlns:xsd=&quot;http:\/\/www.w3.org\/2001\/XMLSchema&quot; xmlns:ns1=&quot;http:\/\/www.webservicex.net&quot; xmlns:ns2=&quot;http:\/\/www.webserviceX.NET&quot;&gt; - &lt;SOAP-ENV:Body&gt; - &lt;ns1:IsValidEmail&gt; &lt;ns1:Email&gt;pisem@sovsem.net&lt;\/ns1:Email&gt; &lt;\/ns1:IsValidEmail&gt; &lt;\/SOAP-ENV:Body&gt; &lt;\/SOAP-ENV:Envelope&gt;<\/code><\/pre>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0442\u0432\u0435\u0442 \u2014 \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0432 \u043f\u043e\u043b\u0435 result \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f false. \u0421\u043d\u0438\u0444\u0444\u0435\u0440 \u044d\u0442\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442.<\/p>\n<p>  \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0434\u0440\u0443\u0433\u043e\u0439 \u0430\u0434\u0440\u0435\u0441 \u2014 press@fsb.ru<\/p>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u0437\u0430\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u0443\u043c\u0430\u0435\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e-\u0442\u0430\u043a\u0438 \u0434\u043e\u043b\u0433\u043e, \u043d\u043e \u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c\u044b\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u044d\u0442\u043e \u0432\u0440\u044f\u0434 \u043b\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043e.<br \/>  \u041d\u043e \u043e\u0442\u0432\u0435\u0442 \u0432\u0441\u0435 \u0436\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442, \u0438 \u044d\u0442\u043e\u0442 \u0430\u0434\u0440\u0435\u0441 \u0443 \u043d\u0430\u0441 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0432\u0430\u043b\u0438\u0434\u043d\u044b\u043c.<br \/>  \u0427\u0442\u043e \u0436, \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u201c\u043f\u043b\u043e\u0445\u043e\u0439\u201d \u0430\u0434\u0440\u0435\u0441 \u2014 \u201c1354@\u201d<\/p>\n<p>  \u0412\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u2014 \u0432\u0435\u0447\u043d\u043e\u0441\u0442\u044c. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e.<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043c\u0438\u043d\u0443\u0442\u0443 \u043c\u043d\u0435 \u0436\u0434\u0430\u0442\u044c \u043d\u0430\u0434\u043e\u0435\u043b\u043e, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u2014 adv@thematicmedia.ru<br \/>  \u041e\u043a, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u2014 false.<br \/>  adv@thematicmedia \u2014 false<br \/>  adv@l \u2014 false<br \/>  \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u0434\u0440\u0435\u0432\u043d\u0438\u0445 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u043e\u0432 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u043f\u044f\u0442\u044c \u0437\u0430\u0434\u0443\u043c\u0430\u043b\u0441\u044f. \u041d\u0430\u0434\u043e\u043b\u0433\u043e. \u041d\u043e \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u043e\u0442\u0432\u0435\u0442\u0438\u043b \u2014 false. <\/p>\n<p>  \u041d\u0443 \u0447\u0442\u043e \u0436, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043b\u0438\u0448\u044c \u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043d\u0430\u0448 \u043a\u043e\u0434 \u043e\u0442\u0432\u0435\u0442\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0432\u0435\u0440\u043d\u043e. \u041a\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u0435\u043d.<\/p>\n<p>  \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 \u2014 countrySoapProxy<br \/>  \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435, \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0445\u0438\u0434\u0435\u0440\u0435.<br \/>  \u0411\u0443\u0434\u0435\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 GetCountryByCountryCode:  <\/p>\n<pre><code> \t_ns2__GetCountryByCountryCode getCountryByCountryCodeRequest; \tstd::string COUNTRY_CODE(&quot;GB&quot;); \tgetCountryByCountryCodeRequest.CountryCode = &COUNTRY_CODE; \t_ns2__GetCountryByCountryCodeResponse getCountryByCountryCodeResponse; \tcountrySoapProxy countryProxy;  \tconst int gSoapResult = countryProxy.GetCountryByCountryCode(&getCountryByCountryCodeRequest, &getCountryByCountryCodeResponse); \tif (gSoapResult != SOAP_OK) \t{ \t\tstd::cout &lt;&lt; &quot;FAIL&quot; &lt;&lt; std::endl; \t\treturn 0; \t}<\/code><\/pre>\n<p>  \u041e\u0442\u0432\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d:  <\/p>\n<pre><code class=\"xml\">&lt;NewDataSet&gt;   &lt;Table&gt;     &lt;countrycode&gt;gb&lt;\/countrycode&gt;     &lt;name&gt;Great Britain&lt;\/name&gt;   &lt;\/Table&gt;   &lt;Table&gt;     &lt;countrycode&gt;gb&lt;\/countrycode&gt;     &lt;name&gt;Great Britain&lt;\/name&gt;   &lt;\/Table&gt; &lt;\/NewDataSet&gt;<\/code><\/pre>\n<p>  \u042f, \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u044c\u0441\u044f, \u043e\u0436\u0438\u0434\u0430\u043b, \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u0431\u0443\u0434\u0435\u0442 \u043b\u0438\u0448\u044c \u0441\u0442\u0440\u0430\u043d\u0430, \u0430 \u043d\u0435 \u0437\u0434\u043e\u0440\u043e\u0432\u044b\u0439 DataSet, \u043d\u0443 \u0434\u0430 \u044d\u0442\u043e \u043f\u0440\u0438\u0434\u0438\u0440\u043a\u0438. \u0421\u0442\u0440\u0430\u043d\u0443 \u0441 \u043a\u043e\u0434\u043e\u043c RU \u044d\u0442\u043e\u0442 \u0441\u0435\u0440\u0432\u0438\u0441 \u0442\u043e\u0436\u0435 \u0437\u043d\u0430\u0435\u0442, \u0443\u0440\u0430!<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u043c\u0435\u0442\u043e\u0434\u0443:  <\/p>\n<pre><code> \t_ns2__GetISD getISDRequest; \tstd::string COUNTRY_NAME(&quot;Russian Federation&quot;); \tgetISDRequest.CountryName = &COUNTRY_NAME; \t_ns2__GetISDResponse getISDResponse;  \tcountrySoapProxy countryProxy;  \tconst int gSoapResult = countryProxy.GetISD(&getISDRequest, &getISDResponse); <\/code><\/pre>\n<p>  \u0418 \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043d\u0430\u0434\u043e:<\/p>\n<pre><code class=\"xml\"> &lt;NewDataSet&gt;   &lt;Table&gt;     &lt;code&gt;7&lt;\/code&gt;     &lt;name&gt;Russian Federation&lt;\/name&gt;   &lt;\/Table&gt;   &lt;Table&gt;     &lt;code&gt;7&lt;\/code&gt;     &lt;name&gt;Russian Federation&lt;\/name&gt;   &lt;\/Table&gt; &lt;\/NewDataSet&gt; <\/code><\/pre>\n<p>  \u0427\u0442\u043e \u0436, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a\u0430\u043a \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c, \u0434\u043b\u044f \u0443\u0447\u0435\u0431\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439 \u043e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0439. \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043a\u0430 \u0438 \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u044c.<\/p>\n<p>  \u0422\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043e\u0434\u043d\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0430\u0434\u0440\u0435\u0441\u0443 \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<br \/>  \u041d\u043e \u043c\u044b \u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441 \u0433\u0434\u0435 \u0443\u0433\u043e\u0434\u043d\u043e \u0438 \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e!<br \/>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, gSoap \u0443\u043c\u0435\u0435\u0442 \u043c\u043d\u043e\u0433\u043e\u0435. \u0422\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0437\u0430\u0434\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0447\u0435\u0440\u0435\u0437 soap-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443. \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0439 basic-\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<pre><code>soap.userid = login; soap.passwd =password; <\/code><\/pre>\n<p>  \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 soap-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 stdsoap2.h:  <\/p>\n<pre><code>  const char *userid;\t\t\/* HTTP Basic authorization userid *\/   const char *passwd;\t\t\/* HTTP Basic authorization passwd *\/ <\/code><\/pre>\n<p>  \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u043c\u043e\u0436\u043d\u043e \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u0440\u0438 \u0441\u0430\u043c\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043b\u0438\u0431\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 SOAP-\u043f\u0440\u043e\u043a\u0441\u0438.<br \/>  \u0412\u0441\u0435 \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0441\u0430\u043c\u0438\u0445 \u0445\u0438\u0434\u0435\u0440\u043e\u0432:  <\/p>\n<pre><code> \tvirtual\tint GetISD(_ns2__GetISD *ns2__GetISD, _ns2__GetISDResponse *ns2__GetISDResponse) { return this-&gt;GetISD(NULL, NULL, ns2__GetISD, ns2__GetISDResponse); } \tvirtual\tint GetISD(const char *endpoint, const char *soap_action, _ns2__GetISD *ns2__GetISD, _ns2__GetISDResponse *ns2__GetISDResponse); <\/code><\/pre>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<pre><code> \tcountrySoapProxy countryProxy(&quot;http:\/\/www.webservicex.net\/country.asmx&quot;); <\/code><\/pre>\n<p>  \u0422\u043e\u0436\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438? \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 IP-\u0430\u0434\u0440\u0435\u0441 \u0441 \u043f\u043e\u0440\u0442\u043e\u043c.<\/p>\n<p>  \u0415\u0449\u0435 \u044f \u043d\u0435 \u0443\u0447\u0435\u043b, \u043a\u0430\u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u044d\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u044b. \u0422\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043d\u0435 ns1__IsValidEmail \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d \u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u0430 \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 email__IsValidEmail. \u041a\u043e\u0433\u0434\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043c\u043d\u043e\u0433\u043e, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0442\u0430\u0442\u044c\u0441\u044f. \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u0436\u0435 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b typeMap.dat c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430:<br \/>  myCustomNamespace = \u00ab<a href=\"http:\/\/www.webservicex.net\">www.webservicex.net<\/a>\u00bb<br \/>  \u0422.\u0435. \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u043d\u044d\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u0430 \u0438 \u0435\u0433\u043e \u0430\u0434\u0440\u0435\u0441. <\/p>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 gSoap \u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0441\u043e\u0431\u043e\u0439 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438. \u041d\u043e \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0442 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043d\u0438\u043c. \u0422\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0438 \u043b\u043e\u0433\u0438\u043d\u0430 \u0438 \u043f\u0430\u0440\u043e\u043b\u044f \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u0422.\u0435. \u043a\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<pre><code> \tcountrySoapProxy countryProxy(&quot;http:\/\/www.webservicex.net\/country.asmx&quot;); \tcountryProxy.soap-&gt;userid = &quot;login&quot;; \tcountryProxy.soap-&gt;passwd = &quot;password&quot;; \tcountryProxy.GetISD(&getISDRequest, &getISDResponse);\t \tcountryProxy.soap-&gt;userid = &quot;login&quot;; \tcountryProxy.soap-&gt;passwd = &quot;password&quot;; \tcountryProxy.GetISD(&anotherGetISDRequest, &anotherGetISDResponse); <\/code><\/pre>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e.<br \/>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044f \u0447\u0435\u0433\u043e-\u0442\u043e \u043d\u0435 \u0443\u0447\u0435\u043b, \u043d\u043e \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 gSOAP \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u0435 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435: \u0432\u044b\u0441\u043e\u043a\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u2014 \u0432\u0441\u0435 \u044d\u0442\u043e \u0432 \u043f\u043b\u044e\u0441. \u041d\u043e \u0432\u043e\u0442 \u043c\u0435\u0448\u0430\u043d\u0438\u043d\u0430 \u043a\u043e\u0434\u0430, \u0441\u043c\u0435\u0441\u044c \u0421 \u0438 \u0421++ \u2014 \u044d\u0442\u043e \u043c\u0438\u043d\u0443\u0441. \u041d\u043e \u044f \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u044e, \u0447\u0442\u043e \u044d\u0442\u043e \u043c\u0438\u043d\u0443\u0441 \u043d\u0435 \u0434\u043b\u044f \u0432\u0441\u0435\u0445, \u0430 \u043f\u043b\u044e\u0441\u043e\u0432 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0434\u043e\u0441\u0442\u043e\u0439\u043d\u044b\u0445 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432 gSOAP \u043c\u043d\u0435 \u043d\u0430\u0439\u0442\u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u2014 \u0445\u043e\u0442\u044f \u044f \u0438\u0441\u043a\u0430\u043b \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0434\u043e\u0432\u0435\u0440\u0438\u0432\u0448\u0438\u0441\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u043c\u0443 \u0432 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044e.<br \/>  \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0432\u043e\u0434\u043d\u0430\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043a\u0440\u0430\u0442\u043a\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043e \u043d\u0430\u0447\u0430\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 gSOAP. \u042f \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u043b \u0437\u0434\u0435\u0441\u044c \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u043d\u0435 \u0438\u0437\u0443\u0447\u0438\u043b \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0442 SOAP-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 (\u044d\u0442\u043e \u0436\u0435 \u0434\u043b\u044f \u0447\u0435\u0433\u043e-\u0442\u043e \u043d\u0443\u0436\u043d\u043e?). \u041d\u0435\u0440\u0430\u0441\u043a\u0440\u044b\u0442\u044b\u0445 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u044d\u043a\u0441\u043a\u0443\u0440\u0441 \u0432 gSOAP \u044f \u0432\u0441\u0435 \u0436\u0435 \u0434\u0430\u043b, \u043d\u0430\u0434\u0435\u044e\u0441\u044c. \u0423\u0434\u0430\u0447\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b! \t\t\t \t\t\t<\/p>\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\/174109\/\"> http:\/\/habrahabr.ru\/post\/174109\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0422\u0430\u043a \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 gSOAP \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u0430\u0431\u043e. \u0412\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c <a href=\"http:\/\/habrahabr.ru\/post\/121853\/\">\u043e\u0434\u0438\u043d \u043f\u043e\u0441\u0442<\/a>, \u0435\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0447\u0435\u0441\u0442\u043d\u044b\u043c. \u041d\u043e \u0442\u0430\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0430 \u043a\u0430\u043a \u0436\u0435 \u0431\u044b\u0442\u044c \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438? \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u043e \u043c\u043d\u043e\u0439 \u0432\u0441\u0442\u0430\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u043c\u0438 SOAP \u2014 \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e \u043e\u0431 \u044d\u0442\u043e\u043c. <br \/>  \u0422.\u043a. \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c wsdl-\u0444\u0430\u0439\u043b\u044b, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0432\u0435\u043b\u0430\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430, \u044f \u043d\u0435 \u043c\u043e\u0433\u0443 (NDA \u0438 \u0432\u0441\u0435 \u0442\u0430\u043a\u043e\u0435), \u0442\u043e \u044f \u0437\u0430\u0434\u0430\u043b\u0441\u044f \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u044b\u0445 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c\u0438 \u043c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0434\u0432\u0430:<\/p>\n<p>  <a href=\"http:\/\/www.webservicex.net\/ValidateEmail.asmx?WSDL\">http:\/\/www.webservicex.net\/ValidateEmail.asmx?WSDL<\/a><br \/>  <a href=\"http:\/\/www.webservicex.net\/country.asmx?WSDL\">http:\/\/www.webservicex.net\/country.asmx?WSDL<\/a>  <\/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-174109","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174109","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=174109"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174109\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=174109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=174109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}