Hi Justin,
            Well, i am using parsing filter 1.0. Yes, i am using the
OGCConfiguration class and the version that I am using is 2.4. Follows the
soucer code:


//Some imports

import org.geotools.filter.v1_0.OGCConfiguration;
import org.geotools.xml.Parser;
import org.opengis.filter.Filter;

InputStream xml = new StringInputStream(xmlOgcFilter);
org.geotools.xml.Configuration configuration = new OGCConfiguration();
org.geotools.xml.Parser parser = new Parser( configuration );

       //    parse
       Filter filter = null;
       try {
           filter = (Filter) parser.parse(xml);
       } catch (IOException e) {
           e.printStackTrace();
       } catch (SAXException e) {
           e.printStackTrace();
       } catch (ParserConfigurationException e) {
           e.printStackTrace();
       }

On 2/16/07, Justin Deoliveira <[EMAIL PROTECTED]> wrote:

Hi Fabio,

A couple of questions. Are you parsing filter 1.0, or filter 1.1. Can
you show me the code you are using to initalize the parser. Are you
using the OGCConfiguration class? Also which version are you working from?

Thanks,

-Justin

Fabio Luiz Leite wrote:
> Hi people, I would like to know if anyone uses geotools with web
> services and has dependency problems with picoconteiner. I'm trying to
> deploy a web service that uses geotools api for parsing of filters, but
> I'm getting the following error:
>
> JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught exception
> while handling request:
> _org.picocontainer.defaults.UnsatisfiableDependenciesException _:
> org.geotools.filter.v1_0.OGCFilterTypeBinding has unsatisfied
> dependency: interface org.opengis.filter.FilterFactory2 among
> unsatisfiable dependencies: [[interface
> org.opengis.filter.FilterFactory2]] where
> [EMAIL PROTECTED] was the leaf
> container being asked for dependencies.)
>
>
> Could someone help me ?
>
>
>
> Thanks in advance.
>
>
>
> --
> Fábio Luiz Leite Júnior !DSPAM:1004,45d5b4ca113971194215290!
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> !DSPAM:1004,45d5b4ca113971194215290!
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
> !DSPAM:1004,45d5b4ca113971194215290!


--
Justin Deoliveira
[EMAIL PROTECTED]
The Open Planning Project
http://topp.openplans.org




--
Fábio Luiz Leite Júnior
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to