Nguyen, Your post helped me figure out where I was going wrong, thanks.
It seems if the program can't load WFSSchema it defaults to another java class, which doesn't know about WFS schemas so was throwing exceptions. I was trying to slim down the required files for delivery via an applet, and didn't realize this, and troubleshooting this was very difficult since it didn't throw any class not found exceptions. Drew -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 12:58 AM To: Jody Garnett Cc: Simpson; David Zwiers; [email protected] Subject: Re: [Geotools-gt2-users] WFS SAXException I add this line: org.geotools.xml.wfs.WFSSchema to this file: /Geotools2.1/module/main/src/META-INF/services/org.geotools.xml.schema.Schem a then WFSDemo works I guess the problem stems from class /Geotools2.1/module/main/src/org/geotools/xml/SchemaFactory.java when this class can not find nessessary hard-corded WFSschema, GMLSchema, or FilterSchema Any elaboration ?? Nguyen duy Hung RS&GIS Asian institute of tech Quoting Jody Garnett <[EMAIL PROTECTED]>: > Simpson wrote: > > I tried to hit several WFS servers out on the Web: > > > > > http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap?version=1.0.0&request=getcapab > > ilities&service=wfs > > > http://excise.pyr.ec.gc.ca/cgi-bin/mapserv.exe?map=/LocalApps/Mapsurfer/PYRW > > QMP.map&version=1.0.0&service=WFS&request=GetCapabilities > > > http://map.ns.ec.gc.ca/MapServer/mapserv.exe?map=/mapserver/services/envdat/ > > config.map&service=WFS&version=1.0.0&request=GetCapabilities > > > http://gws2.pcigeomatics.com/wfs1.0.0/wfs?service=WFS&request=getcapabilitie > > s"); > > > > None of them worked, so I am starting to think I've got something else > wrong > > with my GeoTools. > > Is there a test WFS I can hit that is confirmed to work with GeoTools > 2.1.0? > > > geoserver - download it and play. > > There is a this one > (http://www.refractions.net:8080/geoserver/wfs/GetCapabilities) > mentioned in the udig walkthrough 1 > (http://udig.refractions.net/confluence/display/UDIG/Walkthrough+1). > You can always download uDig and see the WFS code in action. > > I am even more impressed after seeing some of the commercial > implementations recently. > Jody > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ---------------------------------------------------------- This mail sent through AIT WebMail : http://www.ait.ac.th/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
