{"id":770,"date":"2016-09-07T16:01:07","date_gmt":"2016-09-07T16:01:07","guid":{"rendered":"http:\/\/zappysys.com\/blog\/?p=770"},"modified":"2025-10-30T23:14:27","modified_gmt":"2025-10-30T23:14:27","slug":"ssis-extract-single-xml-node-using-xpath-soap-response","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/","title":{"rendered":"SSIS &#8211; Extract single XML node using XPath from SOAP response"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">In this post, you will learn how to extract a single XML node value from your XML web response (SOAP Web service call) using an XPath expression in <a target=\"_blank\" rel=\"noopener\"><em><span style=\"color: #248cc8;\">the SSIS REST API Web Service Task<\/span><\/em><\/a>\u00a0and the\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-parser-task\/\" target=\"_blank\" rel=\"noopener\">XML Parser Task<\/a>.<\/span><\/p>\n<p>This article assumes you have basic knowledge of how to call a REST API or a SOAP Web service in SSIS. If you are not familiar with that, then refer to the following articles.<\/p>\n<p><a title=\"Permalink to Calling SOAP Web Service in SSIS (XML Source)\" href=\"https:\/\/zappysys.com\/blog\/calling-soap-web-service-in-ssis-xml-source\/\" rel=\"bookmark\">Calling SOAP Web Service in SSIS (XML Source)<\/a><\/p>\n<p><a title=\"Permalink to Call REST API using SSIS Web Service Task \/ JSON \/ XML Source\" href=\"https:\/\/zappysys.com\/blog\/call-rest-api-using-ssis-web-service-task\/\" rel=\"bookmark\">Call REST API using SSIS Web Service Task \/ JSON \/ XML Source<\/a><\/p>\n<h2>Calling REST \/ SOAP Web service using the SSIS REST API Task<\/h2>\n<p>Refer to the following video on how to call a REST API web service.<\/p>\n<div id=\"attachment_11523\" style=\"width: 848px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11523\" class=\"size-full wp-image-11523\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png\" alt=\"\" width=\"838\" height=\"735\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png 838w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service-300x263.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service-768x674.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/a><p id=\"caption-attachment-11523\" class=\"wp-caption-text\">Calling REST API in SSIS using REST API Task, Pass headers, Body, Url Parameters<\/p><\/div>\n<h2>Extract the REST API Response into a file<\/h2>\n<p>Here is how you can save the response into a variable or a file. Go to the Response settings tab and select the check Response content option, as shown below. You can also Filter Response content (e.g., Extract only a single value from a node).<\/p>\n<div id=\"attachment_11595\" style=\"width: 848px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11595\" class=\"size-full wp-image-11595\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression.png\" alt=\"\" width=\"838\" height=\"735\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression.png 838w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression-300x263.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression-768x674.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/a><p id=\"caption-attachment-11595\" class=\"wp-caption-text\">SSIS Rest API Task &#8211; Extract data from a single XML node using XPath expression (Namespace used)<\/p><\/div>\n<h2>Extract a single XML Node using XPath (XML with Namespace)<\/h2>\n<p>To extract a single value from the Response XML, you can define an XPath expression on the REST API Response tab as follows. If your response XML document contains namespaces (e.g., the node looks like this: &lt;ns1:Body xmlns:ns1=&#8221;http:\/\/abc.com&#8221;&gt;&lt;ns1:Data&gt;abcdefg&lt;\/ns1:Data&gt;&lt;\/ns1:Body&gt;), then you have to write XPath in a particular way, as shown below. Notice we have not specified the Namespace prefix ns1<\/p>\n<p><strong>Sample XML Document (Or web response from SOAP Service)<\/strong><\/p>\n<pre class=\"lang:xhtml decode:true\">&lt;ns1:Body xmlns:ns1=\"http:\/\/abc.com\"&gt;\r\n\t&lt;ns1:Data&gt;abcdefg&lt;\/ns1:Data&gt;\r\n&lt;\/ns1:Body&gt;<\/pre>\n<p><strong>XPath Expression Example:<\/strong><\/p>\n<pre class=\"lang:default decode:true\">\/\/*[local-name()='Data']<\/pre>\n<p><strong>XPath Output:<\/strong><\/p>\n<p>The above expression will produce the following result<\/p>\n<pre class=\"lang:default decode:true\">abcdefg<\/pre>\n<h2>Extract Attribute Value using XPath local-name() function<\/h2>\n<p>Now, let&#8217;s find out how to extract the attribute value rather than the element.<\/p>\n<p>Consider the following XML. Let&#8217;s say we want to extract the id from the data node. In such a case, the previous XPath expression won&#8217;t work, so we need to use a slightly different XPath.<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">&lt;ns1:Body xmlns:ns1=\"http:\/\/abc.com\"&gt;\r\n\t&lt;ns1:Data id=\"12345\"&gt;abcdefg&lt;\/ns1:Data&gt;\r\n&lt;\/ns1:Body&gt;<\/pre>\n<p>Let&#8217;s use the <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-parser-task\/\" target=\"_blank\" rel=\"noopener\">XML Parser Task<\/a> to test XPath.<\/p>\n<h3>Expression 1 &#8211; Get value by direct attribute name<\/h3>\n<p>Write the following expression as below and click Test<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">\/\/@*[local-name()='id']<\/pre>\n<div id=\"attachment_11593\" style=\"width: 727px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-Use-local-name-function.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11593\" class=\"size-full wp-image-11593\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-Use-local-name-function.png\" alt=\"\" width=\"717\" height=\"572\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-Use-local-name-function.png 717w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-Use-local-name-function-300x239.png 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/a><p id=\"caption-attachment-11593\" class=\"wp-caption-text\">Extract XML Attribute Value using XPath expression (Use local-name function)<\/p><\/div>\n<h3>Expression 2 &#8211; Get specific element attribute value<\/h3>\n<p>If you want to be specific and read the value of the `id` attribute from a particular `data` element, you can use an expression like this:<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">\/\/*[local-name()='Data']\/@*[local-name()='id']<\/pre>\n<div id=\"attachment_11594\" style=\"width: 842px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11594\" class=\"size-full wp-image-11594\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-2.png\" alt=\"\" width=\"832\" height=\"583\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-2.png 832w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-2-300x210.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/Extract-XML-Attribute-Value-using-XPath-expression-2-768x538.png 768w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/a><p id=\"caption-attachment-11594\" class=\"wp-caption-text\">Extract XML Attribute Value using XPath expression 2<\/p><\/div>\n<h2>Configure the SSIS Rest API Task to filter XML Response using XPath<\/h2>\n<p>The screenshot below shows how to filter XML data using an XPath expression. You can save extracted data to an SSIS Variable or save it to a file.<\/p>\n<div id=\"attachment_11595\" style=\"width: 848px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11595\" class=\"size-full wp-image-11595\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression.png\" alt=\"\" width=\"838\" height=\"735\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression.png 838w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression-300x263.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/SSIS-Rest-API-Task-Extract-data-from-single-XML-node-using-XPath-expression-768x674.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/a><p id=\"caption-attachment-11595\" class=\"wp-caption-text\">SSIS Rest API Task &#8211; Extract data from a single XML node using XPath expression (Namespace used)<\/p><\/div>\n<h2>More Examples of XPath expressions<\/h2>\n<pre class=\"lang:xhtml highlight:0 decode:true \">XPath expression examples:\r\n============================\r\n\r\nExample1: Extract value of any element by node name (without namespace specified) \r\n\r\n&lt;ns1:AuthInfo&gt;&lt;ns1:Token&gt;aaaaa&lt;\/ns1:Token&gt;&lt;\/ns1:AuthInfo&gt;\r\n\r\nXPath Expression:  \/\/*[local-name() = 'Token']\r\nReturns: aaaaa\r\n----------------------------\r\nExample2: Extract text of element called Token \r\n\r\n&lt;AuthInfo&gt;&lt;Token&gt;aaaaa&lt;\/Token&gt;&lt;\/AuthInfo&gt;\r\n\r\nXPath Expression:  .\/AuthInfo\/Token\/text()\r\nReturns: aaaaa\r\n----------------------------\r\nExample3: Extract value of attribute called Version \r\n\r\n&lt;Doc&gt;&lt;Row Version=\"1\" \/&gt;&lt;\/Doc&gt;\r\n\r\nXPath Expression:  .\/Doc\/Row\/@Version\r\nReturns: 1\r\n----------------------------\r\nExample4: Extract value of following-sibling node or use preceding-sibling \r\n\r\n&lt;Response&gt;\r\n\t&lt;Prop&gt;\r\n\t\t&lt;PropName&gt;User&lt;\/PropName&gt;\r\n\t\t&lt;PropVal&gt;admin&lt;\/PropVal&gt;\r\n\t&lt;\/Prop&gt;\r\n\t&lt;Prop&gt;\r\n\t\t&lt;PropName&gt;SessionId&lt;\/PropName&gt;\r\n\t\t&lt;PropVal&gt;s_123456&lt;\/PropVal&gt;\r\n\t&lt;\/Prop&gt;\r\n&lt;\/Response&gt;\r\n\r\nExpression:  \/\/*[local-name()='PropName' and text()='SessionID']\/following-sibling::node()[local-name()='PropValue']\r\nReturns: s_123456\r\n----------------------------\r\nExample5: Extract node value with matching attribute \r\n\r\n&lt;Response&gt;&lt;Prop Name=\"SessionId\"&gt;s_1234&lt;\/Prop&gt;&lt;\/Response&gt;\r\n\r\nXPath Expression:  \/\/*[local-name()='Prop' and @Name='SessionId']\r\nReturns: s_1234\r\n----------------------------\r\nExample6: Extract attribute value by name (without namespace specified) \r\n\r\ns_1234\r\n\r\nXPath Expression:  \/\/@*[local-name()='token']\r\nReturns: 123456\r\n----------------------------\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this post, you will learn how to extract a single XML node value from your XML web response (SOAP Web service call) using an XPath expression in the SSIS REST API Web Service Task\u00a0and the\u00a0XML Parser Task. This article assumes you have basic knowledge of how to call a REST API or a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11523,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[3,67,12,4,144,140,7,143],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>SSIS - Extract single XML node using XPath from SOAP response | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Learn how to extract single XML node using XPath expression. Use SSIS REST Api Web service task to consume SOAP Web service or XML Web API in few clicks.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"SSIS - Extract single XML node using XPath from SOAP response | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Learn how to extract single XML node using XPath expression. Use SSIS REST Api Web service task to consume SOAP Web service or XML Web API in few clicks.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ZappySys\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2016-09-07T16:01:07+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2025-10-30T23:14:27+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"838\" \/>\r\n\t<meta property=\"og:image:height\" content=\"735\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zappysys\/\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/\",\"url\":\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/\",\"name\":\"SSIS - Extract single XML node using XPath from SOAP response | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png\",\"datePublished\":\"2016-09-07T16:01:07+00:00\",\"dateModified\":\"2025-10-30T23:14:27+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\"},\"description\":\"Learn how to extract single XML node using XPath expression. Use SSIS REST Api Web service task to consume SOAP Web service or XML Web API in few clicks.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png\",\"width\":838,\"height\":735,\"caption\":\"Calling REST API in SSIS using REST API Task, Pass headers, Body, Url Parameters\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSIS &#8211; Extract single XML node using XPath from SOAP response\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"sameAs\":[\"http:\/\/www.zappysys.com\/\",\"https:\/\/www.facebook.com\/ZappySys\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SSIS - Extract single XML node using XPath from SOAP response | ZappySys Blog","description":"Learn how to extract single XML node using XPath expression. Use SSIS REST Api Web service task to consume SOAP Web service or XML Web API in few clicks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/","og_locale":"en_US","og_type":"article","og_title":"SSIS - Extract single XML node using XPath from SOAP response | ZappySys Blog","og_description":"Learn how to extract single XML node using XPath expression. Use SSIS REST Api Web service task to consume SOAP Web service or XML Web API in few clicks.","og_url":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/","og_site_name":"ZappySys Blog","article_author":"https:\/\/www.facebook.com\/ZappySys\/","article_published_time":"2016-09-07T16:01:07+00:00","article_modified_time":"2025-10-30T23:14:27+00:00","og_image":[{"width":838,"height":735,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zappysys\/","twitter_misc":{"Written by":"ZappySys","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/","url":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/","name":"SSIS - Extract single XML node using XPath from SOAP response | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png","datePublished":"2016-09-07T16:01:07+00:00","dateModified":"2025-10-30T23:14:27+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82"},"description":"Learn how to extract single XML node using XPath expression. Use SSIS REST Api Web service task to consume SOAP Web service or XML Web API in few clicks.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/08\/SSIS-REST-Api-Task-HTTP-POST-SSIS-Call-Web-Service.png","width":838,"height":735,"caption":"Calling REST API in SSIS using REST API Task, Pass headers, Body, Url Parameters"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SSIS &#8211; Extract single XML node using XPath from SOAP response"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","caption":"ZappySys"},"sameAs":["http:\/\/www.zappysys.com\/","https:\/\/www.facebook.com\/ZappySys\/","https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/"],"url":"https:\/\/zappysys.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/770"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=770"}],"version-history":[{"count":15,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/770\/revisions"}],"predecessor-version":[{"id":11596,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/770\/revisions\/11596"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/11523"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}