<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Eric,<br>Several years ago I did some experimental <br>work with SOAP and REST inside the mapserv <br>engine.&nbsp; The archives may contain a few old <br>messages about the details, but what I was doing <br>was to consume (now defunct) ESRI ArcWeb <br>Services map images as raster backdrops for <br>added mapserver vector layers.&nbsp; I created<br>&nbsp;CONNECTIONTYPE ARCWEB and associated <br>mapserver mapfile constructs to ArcWeb <br>params.&nbsp; <br><br>The communication part was fairly easy to deal with:<br>I refit the existing OWS cURL code to access the ESRI<br>server.&nbsp; The construction of the SOAP xml was <br>cumbersome.&nbsp; The image that came back was slipped <br>into the existing raster output mechanism.<br><br>When I revisited the project a year or so later, I decided<br>it was best to stay OUT of mapserv cgi and opt instead<br>for doing the
 work in php-mapscript, where the SOAP<br>processing is more advanced.<br><br>Also, as I see it, the main problem of trying to consume<br>SOAP and REST services in mapserver is simply that it<br>is difficult to anticipate what kinds of functions you are<br>going to be using to access the SOAP/REST server, so<br>there's no generic way to associate mapfile constructs to<br>the foreign parameters, and there's no way to make the<br>construction of SOAP/REST requests generic either.<br><br>If someone REALLY needed to do this within mapserv cgi,<br>there might be some way to have&nbsp; WSDL-processing to<br>make things more generic, but I'd be skeptical about the<br>success of such a venture.<br><br>Robert H.<br><br><span style="text-decoration: underline;">original message:</span><br style="text-decoration: underline;"><br style="text-decoration: underline;"><div style="text-decoration: underline;" class="vcard">
            <div class="row">
            <div class="abook">From:<span class="email"> "Eric Weisbender" &lt;Weisbend@wapa.gov&gt;</span></div>
            <div class="details">
                    </div>
                    
                    </div><div class="row">
                
                <div class="details">To: mapserver-users@lists.osgeo.org</div></div></div><div style="padding: 5px; text-decoration: underline;"><div style="overflow: visible; visibility: visible;" id="yiv1745414760">
 
Is it possible to consume REST and/or SOAP services <br>in Mapserver somewhat like WMS and how?</div></div><br><input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div></td></tr></table>