{"id":366,"date":"2011-03-10T15:52:51","date_gmt":"2011-03-10T20:52:51","guid":{"rendered":"http:\/\/osric.com\/chris\/accidental-developer\/?p=366"},"modified":"2016-05-28T12:54:18","modified_gmt":"2016-05-28T17:54:18","slug":"using-sharepoints-imaging-web-service-to-access-publishing-images","status":"publish","type":"post","link":"https:\/\/osric.com\/chris\/accidental-developer\/2011\/03\/using-sharepoints-imaging-web-service-to-access-publishing-images\/","title":{"rendered":"Using SharePoint&#8217;s Imaging Web Service to access Publishing Images"},"content":{"rendered":"<p>I spent a fair amount of time yesterday trying to access the images in the Images list (also known as Publishing Images) of a SharePoint site using the SOAP-based Imaging web service. Every time it failed, usually with an uninformative error message.<\/p>\n<p>Finally, I used <a href=\"http:\/\/curl.haxx.se\/\">cURL<\/a> to send the SOAP requests so that I could see every last detail of the transaction. The SOAP response was pretty clear at that point:<\/p>\n<blockquote><p>The list PublishingImages is not found<\/p><\/blockquote>\n<p>or<\/p>\n<blockquote><p>The list Images is not found<\/p><\/blockquote>\n<p>I tried other Picture Libraries on the site, and that worked fine. That&#8217;s when it dawned on me: the SharePoint Images (or PublishingImages) list is a Document Library, not a Picture Library. That makes absolutely no sense whatsoever, but fine, it wouldn&#8217;t be the first time I&#8217;ve run into something nonsensical in SharePoint.<\/p>\n<p>I was hoping to use the <em>download<\/em> method of the Imaging web service. I don&#8217;t have an alternative solution at this time, but I hope to find one soon using one of the other SharePoint web services.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent a fair amount of time yesterday trying to access the images in the Images list (also known as Publishing Images) of a SharePoint site using the SOAP-based Imaging web service. Every time it failed, usually with an uninformative error message. Finally, I used cURL to send the SOAP requests so that I could &hellip; <a href=\"https:\/\/osric.com\/chris\/accidental-developer\/2011\/03\/using-sharepoints-imaging-web-service-to-access-publishing-images\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Using SharePoint&#8217;s Imaging Web Service to access Publishing Images<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[180],"tags":[168,178,177,179,160,175,176],"class_list":["post-366","post","type-post","status-publish","format-standard","hentry","category-sharepoint-2","tag-api","tag-document-library","tag-images","tag-picture-library","tag-sharepoint","tag-soap","tag-web-service"],"_links":{"self":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/comments?post=366"}],"version-history":[{"count":5,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/366\/revisions"}],"predecessor-version":[{"id":1492,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/366\/revisions\/1492"}],"wp:attachment":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/media?parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/categories?post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/tags?post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}