[udig-devel] Spam: udig and deegree wfs

Jesse Eichar jeichar at refractions.net
Wed Oct 3 09:58:21 PDT 2007


It is a problem with Degree most likely.  The exception is saying  
that the schema specifies x number of children but the document  
coming does not match that.  For now I'm going to leave this issue  
because we have a new parser coming for a later version that is a bit  
more forgiving for this type of issue.

Jesse

On Oct 3, 2007, at 6:32 AM, Tore Halset wrote:

> Hello.
>
> I am a WFS newbie trying to connect from uDig to deegree WFS.
>
> http://demo.deegree.org/deegree-wfs/services? 
> REQUEST=GetCapabilities&version=1.1.0&service=WFS
>
> Adding this to uDig and uDig report "Connection parameters are  
> invalid". Attached is the output in .metadata/.log.
>
> Is this a problem with me, degree or uDig? :)
>
> Regards,
>  - Tore.
>
> !ENTRY net.refractions.udig.catalog.internal.wfs 4 0 2007-10-03  
> 15:31:25.940
> !MESSAGE Encountered SAXException
> !STACK 0
> org.xml.sax.SAXException: Too few children
>         at org.geotools.xml.XMLSAXHandler.endElement 
> (XMLSAXHandler.java:256)
>         at org.apache.xerces.parsers.AbstractSAXParser.endElement 
> (Unknown Source)
>         at  
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement 
> (Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl 
> $FragmentContentDispatcher.dispatch(Unknown Source)
>         at  
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument 
> (Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse 
> (Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse 
> (Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse 
> (Unknown Source)
>         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse 
> (Unknown Source)
>         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
>         at org.geotools.xml.DocumentFactory.getInstance 
> (DocumentFactory.java:140)
>         at org.geotools.data.wfs.WFSDataStore.findCapabilities 
> (WFSDataStore.java:225)
>         at org.geotools.data.wfs.WFSDataStore.<init> 
> (WFSDataStore.java:201)
>         at org.geotools.data.wfs.WFSDataStore.<init> 
> (WFSDataStore.java:161)
>         at  
> net.refractions.udig.catalog.internal.wfs.UDIGWFSDataStoreFactory 
> $UDIGWFSDataStore.<init>(UDIGWFSDataStoreFactory.java:129)
>         at  
> net.refractions.udig.catalog.internal.wfs.UDIGWFSDataStoreFactory.crea 
> teNewDataStore(UDIGWFSDataStoreFactory.java:102)
>         at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore 
> (WFSDataStoreFactory.java:132)
>         at  
> net.refractions.udig.catalog.internal.wfs.WFSServiceImpl.getDS 
> (WFSServiceImpl.java:180)
>         at  
> net.refractions.udig.catalog.internal.wfs.WFSServiceImpl.members 
> (WFSServiceImpl.java:117)
>         at  
> net.refractions.udig.catalog.ui.workflow.ConnectionState.run 
> (ConnectionState.java:135)
>         at net.refractions.udig.catalog.ui.workflow.Workflow.next 
> (Workflow.java:260)
>         at  
> net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog$1.run 
> (WorkflowWizardDialog.java:57)
>         at  
> net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog$3.run 
> (WorkflowWizardDialog.java:98)
>         at net.refractions.udig.ui.PlatformGIS$1.call 
> (PlatformGIS.java:90)
>         at java.util.concurrent.FutureTask$Sync.innerRun 
> (FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask 
> (ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:613)
> Caused by: org.xml.sax.SAXException: Too few children
>         at org.geotools.xml.wfs.WFSCapabilitiesComplexTypes 
> $OperationsType.getValue(WFSCapabilitiesComplexTypes.java:476)
>         at  
> org.geotools.xml.handlers.ComplexElementHandler.endElement 
> (ComplexElementHandler.java:185)
>         at org.geotools.xml.XMLSAXHandler.endElement 
> (XMLSAXHandler.java:249)
>         ... 30 more
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list