[mapguide-users] quick tip with the http api & setResource & MgInvalidArgumentException

Zac Spitzer zac.spitzer at gmail.com
Tue Aug 2 03:06:58 EDT 2011


just spent a while debugging this...

when doing a SETRESOURCE operation via the http mapagent, (rather
than via the php/java/.net api), you cannot pass username and password
as post variables, you must pass them at the http request level, otherwise
you get a cryptic MgInvalidArgumentException expection

some other operations allow this

-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list