<div dir="ltr">No, the WMS layer shows as expected. Just the WFS created one does not. I got the "Origin null" figured out...for now. The issue was I was trying to run it locally and not on a web server, and that was on purpose because the final product will be an application on Android via PhoneGap and so I wanted to remove the web server from the equation, but I will worry about that later and just get everything to work on localhost web server right now. <div>
<br></div><div>However, I am now getting another error (below):</div><div><br></div><div><div class="" style="clear:right;border-top-width:1px;border-top-style:solid;border-top-color:rgb(240,240,240);padding:1px 22px 1px 0px;margin-left:24px;min-height:16px;color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12px">
<ol class="" tabindex="0" style="font-size:inherit;list-style-type:none;margin:0px;outline:none;padding-left:0px;line-height:12px"><li title="" class="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word">
<span class="" style="white-space:pre-wrap;color:red!important"><span style>POST <a href="http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin" class="" title="http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin" style="color:rgb(84,84,84)">http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin</a> 559 (MgStreamIoException)</span> <a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js:220" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">XMLHttpRequest.js:220</a></span></li>
<ol class="" style="margin:0px;min-width:100%;list-style-type:none;font-size:inherit;padding:0px 0px 0px 12px!important"><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><div style><span class="" style="white-space:pre-wrap;color:red!important">fXMLHttpRequest_send</span><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js:220" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">XMLHttpRequest.js:220</a></div>
</li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><div style><span class="" style="white-space:pre-wrap;color:red!important">cXMLHttpRequest.send</span><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js:262" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">XMLHttpRequest.js:262</a></div>
</li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><div style><span class="" style="white-space:pre-wrap;color:red!important">(anonymous function)</span><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js:240" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">Request.js:240</a></div>
</li></ol></ol></div><div class="" style="clear:right;border-top-width:1px;border-top-style:solid;border-top-color:rgb(240,240,240);padding:1px 22px 1px 0px;margin-left:24px;min-height:16px;color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12px">
<ol class="" tabindex="0" style="font-size:inherit;list-style-type:none;margin:0px;padding-left:0px;line-height:12px"><li title="" class="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><span class="" style="white-space:pre-wrap;color:blue"><span style>XHR finished loading: "<a href="http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin" class="" title="http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin" style="color:rgb(84,84,84)">http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin</a>".</span> <a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js:220" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">XMLHttpRequest.js:220</a></span></li>
<ol class="" style="margin:0px;min-width:100%;list-style-type:none;font-size:inherit;padding:0px 0px 0px 12px!important"><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><div style><span class="" style="white-space:pre-wrap;color:blue">fXMLHttpRequest_send</span><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js:220" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">XMLHttpRequest.js:220</a></div>
</li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><div style><span class="" style="white-space:pre-wrap;color:blue">cXMLHttpRequest.send</span><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request/XMLHttpRequest.js:262" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">XMLHttpRequest.js:262</a></div>
</li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><div style><span class="" style="white-space:pre-wrap;color:blue">(anonymous function)</span><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js:240" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">Request.js:240</a><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js:240" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)"><br>
</a><a href="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js" class="" title="http://localhost/mapguide/RBAC%20Mobile%20GIS/lib/OpenLayers/Request.js:240" style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)"><br>
</a></div></li></ol></ol></div><div class="gmail_extra"><br></div><div class="gmail_extra" style>I looked at the MapGuide logs and didn't see anything about this. I am also going to post this in the MapGuide list in case it is MapGuide related.</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Any thoughts?</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>Thanks,</div><div class="gmail_extra" style>Rich</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 11:30 AM, Mark Prins <span dir="ltr"><<a href="mailto:mc.prins@gmail.com" target="_blank">mc.prins@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">2013/6/17 Rich Bauer <<a href="mailto:rdbauer@gmail.com" target="_blank">rdbauer@gmail.com</a>>:<br>
<div>> Thanks for the info. I looked and from what I can tell, MapGuide does<br>
> support this. I can return a XML output using something like this:<br>
><br>
> <a href="http://localhost/mapguide/mapagent/mapagent.fcgi?request=GetFeature&service=WFS&version=1.1.0&typeName=ns34414117:Parcels&MaxFeatures=10" target="_blank">http://localhost/mapguide/mapagent/mapagent.fcgi?request=GetFeature&service=WFS&version=1.1.0&typeName=ns34414117:Parcels&MaxFeatures=10</a><br>
><br>
> I have simplified the data being loaded to the WMS layer above and the WFS<br>
> layer created from it. The error I get is:<br>
><br>
> OPTIONS<br>
> <a href="http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin" target="_blank">http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin</a><br>
> Origin null is not allowed by Access-Control-Allow-Origin.<br>
> XMLHttpRequest.js:220<br>
><br>
> fXMLHttpRequest_sendXMLHttpRequest.js:220<br>
> cXMLHttpRequest.sendXMLHttpRequest.js:262<br>
> (anonymous function)Request.js:233<br>
><br>
> XMLHttpRequest cannot load<br>
> <a href="http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin" target="_blank">http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Password=admin</a>.<br>
> Origin null is not allowed by Access-Control-Allow-Origin. index.html:1<br>
<br>
</div>this because chrome handles localhost special:<br>
<a href="https://code.google.com/p/chromium/issues/detail?id=67743" target="_blank">https://code.google.com/p/chromium/issues/detail?id=67743</a> There are<br>
various ways around this CORS problem<br>
<br>
i'm guessing that you're not even seeing the WMS images in the map (or<br>
on the wire).<br>
<span><font color="#888888"><br>
Mark<br>
</font></span><div><div><br>
<br>
--<br>
Disclaimer;<br>
This message is just a reflection of what I thought at the time of<br>
sending. The message may contain information that is not intended for<br>
you or that you don't understand.<br>
</div></div></blockquote></div><br></div></div></div>