Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8717905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:24:09+00:00 2026-06-13T06:24:09+00:00

This is probably a very simple question but I just can’t seem to figure

  • 0

This is probably a very simple question but I just can’t seem to figure it out.

I am writing a Javascript app to retrieve layer information from a WFS server using a GetCapabilities request using GeoExt. GetCapabilities returns information about the WFS server — the server’s name, who runs it, etc., in addition to information on the data layers it has on offer.

My basic code looks like this:

var store = new GeoExt.data.WFSCapabilitiesStore({ url: serverURL });

store.on('load', successFunction);
store.on('exception', failureFunction);
store.load();

This works as expected, and when the loading completes, successFunction is called.

successFunction looks like this:

successFunction = function(dataProxy, records, options) { 
   doSomeStuff();
}

dataProxy is a Ext.data.DataProxy object, records is a list of records, one for each layer on the WFS server, and options is empty.

And here is where I’m stuck: In this function, I can get access to all the layer information regarding data offered by the server. But I also want to extract the server information that is contained in the XML fetched during the store.load() (see below). But I can’t figure out how to get it out of the dataProxy object, where I’m sure it must be squirreled away.

Any ideas?


The fields I want are contained in this snippet:

<ows:ServiceIdentification>
  <ows:Title>G_WIS_testIvago</ows:Title>
  <ows:Abstract/>
  <ows:Keywords>
     <ows:Keyword/>
  </ows:Keywords>
  <ows:ServiceType>WFS</ows:ServiceType>
  <ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion>
  <ows:Fees/>
  <ows:AccessConstraints/>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:24:11+00:00Added an answer on June 13, 2026 at 6:24 am

    Apparently,GeoExt currently discards the server information, undermining the entire premise of my question.

    Here is a code snippet that can be used to tell GeoExt to grab it. I did not write this code, but have tested it, and found it works well for me:

    https://github.com/opengeo/gxp/blob/master/src/script/plugins/WMSSource.js#L37

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is probably a very simple question, but I just can't figure it out.
This is probably a very simple question so please forgive my ignorance, but can
This is probably a very simple question for somebody with experience, but I just
This is probably a very simple question but I'm a little confused how this
I know this is probably a very simple question but how would I do
This is another probably very simple question, but I haven't been able to find
I'm new to Xcode. This is probably a very simple question to you, but
This is probably very easy to do but for some reason I can't seem
This is a very simple, probably too simple question but I'm afraid my limited
there is probably a very simple answer to this very simple question, but i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.