Hi Ryan, As you noted the object model that geotools uses for WFS is not jaxb based, but EMF (eclipse modeling framework) based.
If you look in the geotools sources there are clases which will parse and encode instances of the model into xml: http://svn.osgeo.org/geotools/trunk/modules/extension/xsd/xsd-wfs/ You could probably make use of that. Without knowing much about SOAP I think you could just wrap up output from the encoder in a SOAP envelope or whatever (not sure how exactly this works). Hope that helps. -Justin Ryan Moquin wrote: > Hello, > > I was wondering if anyone give me an opinion on the best way to handle > the following. I'd like to the ability to transport a WFS query to a > SOAP webservice. I'm currently using CXF for the Web Service and JAXB > for the class generation. Is there a way to tie in the geotools WFS > objects to a JAXB object model? I'd like to use the WFS generated > objects that geotools has, but I don't think they are JAXB. I don't > really want to deal with the hassle of generating a whole new set of > objects, considering that the WFS schema is made up of a whole bunch of > other schemas all of which need to be available to my build if i want to > generate the objects (and who knows what hassles need to be dealt with > to make the generation work). Anyhow, I just simply want to transport a > WFS query and then use it in the web service. Anyone have any > suggestions on how I might be able to utilize geotools to make this a > little easier? > > Thanks for any help! > Ryan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
