• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Web Service
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Web Service


  • Subject: Web Service
  • From: Jeff Pearson <email@hidden>
  • Date: Fri, 08 Apr 2005 12:15:01 -0700

Forgive the beginner question.

I am a Java Developer trying to migrate to using WebObjects.

What I would like to create is a simple web service.

I have an xml file with info for US States. Sample follows:

	<state>
		<abbreviation>AL</abbreviation>
		<capitalcity>Montgomery</capitalcity>
		<dateofstatehood>1819.12.14</dateofstatehood>
		<name>Alabama</name>
	</state>
	<state>
		<abbreviation></abbreviation>
		<capitalcity>Juneau</capitalcity>
		<dateofstatehood>1959.1.3</dateofstatehood>
		<name>Alaska</name>
	</state>

I would like to use this xml file as a data source for the web service. For example, I would like an application to connect to this web service to get a list of the state names and their abbreviations for populating a drop down list.

I had in mind that I could use the EOModeler to build the state objects directly from the xml file. But I dno't really see anyone else doing this. It seems a waste to use a full db engine for a static list (as in the values would NEVER change) such as this.

In my novice ignorance:

1) CAN you use an xml file directly as the datasource for EOModeler?
2) If so, can someone point me to some examples so I can get moving on this learning curve.....


Any help is greatly appreciated.

Jeff Pearson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Web Service
      • From: Jacky Gagnon <email@hidden>
  • Prev by Date: Re: Deploying wolips application
  • Next by Date: Re: Web Service
  • Previous by thread: Re: Best Practice on Uncommitted Changes in EC
  • Next by thread: Re: Web Service
  • Index(es):
    • Date
    • Thread