Meaningless Drivel is fun!
The moose likes Web Services and the fly likes XML HELP... Sigh.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "XML HELP... Sigh.." Watch "XML HELP... Sigh.." New topic

XML HELP... Sigh..

Ling Min Lee

Joined: Aug 12, 2004
Posts: 10

I am supposed to code a XML file for my web services project. It is supposed to get the exposed web services interfaces (Database is in the web services) and mapped it to another file using SAX.
Its something like a search page. How shld i start my coding with XML?

Because after reading all the tutorials, i can't find any useful examples or codes to help me start my XML coding.

All i can find are something like this:

<ingred_amt>1 cup</ingred_amt> <ingred>flour</ingred>
<ingred_amt>1 tsp.</ingred_amt> <ingred>salt</ingred>
<ingred_amt>1/2 cup</ingred_amt> <ingred>water</ingred>
<element>Mix flour and salt.</element>
<element>Slowly stir in water until dough is moist.</element>
<element>Put in microwave safe bowl.</element>
<element><method>Microwave</method> on <temp>high</temp> for <time>10 minutes</time></element>

I do not want to insert any data into my XML file because all datas should be extracted from the webservice's database.

I am using JWSDP for developing this whole project and not .NET and so on..
Thanks alot for u help!! Really need help now..
Deadline is drawing very very near.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I'm afraid I don't understand what you want to accomplish. Could you elaborate a bit?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: XML HELP... Sigh..
jQuery in Action, 3rd edition