Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-06 Thread beldar15
I don't know what else to do, I verified the entire code, also every path
that's on it. And everything is fine, but I don't know how to use this, to
create a layer. This is the GetCapabilities documente that I created, if
someone please, could check it out and tell me if there is something wrong,
I'll apreciate it for the rest of my life!

Workspace Name: GTR_TEST
Data Store Name: gtr_vehiculos

GetCapabilities.xml
http://osgeo-org.1560.x6.nabble.com/file/n5076508/GetCapabilities.xml  

S.O.S.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076508.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread Andrea Aime
On Thu, Sep 5, 2013 at 6:12 PM, beldar15 belda...@gmail.com wrote:

 Hi, I was trying to do something, but I don't know if it's possible, so I
 wanted to ask first to not waste more time.

 I was trying to create a GS layer from a WSF GetCapabilities Doc, which
 I've
 created in a PHP service. I created the GetCapabilities and GetFeatures
 documents. I've tried to read the GetFeatures gml from OpenLayers and it
 worked fine, drawing all the points in the map, but I don't know if I can
 create a WSF data store by this way, I got more than 100 errors trying, but
 I don't know if I am doing something wrong or it's not possible.


GeoServer needs a compliant WFS server to cascade. At the very minimum you
have to add support for the DescribeFeatureType call as well.
Not sure however how much more work it will be to make it compliant enough
so that GeoServer can cascade it

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread beldar15
I created a Workspace, the a POSTGIS store and I created a layer. Everything
worked well and fine, until that point. Then, I've used that GetCapabilities
document, but I changed the GetFeature Path on it (the online resource). But
it don't worked. So, it is possible? It can be done? or I'm wasting my time?

here's an example of what I've done:



Thank you very much!



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076288.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread beldar15
Ok, I created the three archives, GetCapabilities, DescribeFeatureType and
GetFeatures. I pointed in the GetCapabilities to their respective class. But
no, it doesn't work. I keeps thowing me the same error. I don't know if this
could be possible, I edited every single path that may be wrong or non
existant, but it doesn't work.. Any other ideas? Please! I don't know what
may be wrong... :(



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076325.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread beldar15
Many thanks for keep on this with me! Well I've validated the documents and
they are properly formed. I am creating the Vector Data Store. I select the
workspace, I put as GetCapabilities document the path to the respective
script and I save it. That works. Then I am in the Create Layer window, and
there is my data store listed. When I press 'Publish' it throws me the very
big error list:

erro_log_gs.txt
http://osgeo-org.1560.x6.nabble.com/file/n5076332/erro_log_gs.txt  

if you need anything else, please don't hesitate in asking me! Thanks
again...



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076332.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Creating Geoserver Layer from custom WFS

2013-09-05 Thread Andrea Aime
On Thu, Sep 5, 2013 at 9:20 PM, beldar15 belda...@gmail.com wrote:

 Ok, I created the three archives, GetCapabilities, DescribeFeatureType and
 GetFeatures. I pointed in the GetCapabilities to their respective class.
 But
 no, it doesn't work. I keeps thowing me the same error. I don't know if
 this
 could be possible, I edited every single path that may be wrong or non
 existant, but it doesn't work.. Any other ideas? Please! I don't know what
 may be wrong... :(


No idea, you're giving us nothing to go on.
First, take a schema validator and check if the documents you're generating
are schema valid.
Second, once they are, share the GeoServer logs generated when trying to
connect to your WFS server (enable the geotools developer logging profile
before doing so) and that might give us some pointers

Generally speaking, writing a valid WFS server is no picnic, it's an
endevour
taking several days of work, even in the simplest case where you just serve
a fixed set of hard-coded feature types.

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users