This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'm new to XML and need to create a web app needs to do the following:
1. Read a couple of parameters (username and password) from the request
2. Dynamically create some xml code with those params
3. Send the xml code to another web service for validation
I am struggling with steps 2 and 3. Have been reading a lot on XML and SAX but the possible solutions I'm looking at seem really heavy. Is there a simple / straightforward way of doing what I need? Any code samples/snippets would be much appreciated.