I am a near beginner in java and certainly not familiar with webservices.
I have a problem where I have been asked to send over data to other parties in the form of an xml, and I am wondering if I really need to implement Webservices or a simpler solution would do?
The data I need to send is some customer information such as:
Name Ph No Add Car Owned
D.Xavier 1231312 xxxxx a
F.Ahmed 1231211 xxxxx b
C.Gibson 12312 xxxxx c
A.Fowler 1231 xxxxx a
Where each row is a record and might go as an element between user-defined tags in an xml.
The alternate simple solution that I am referring to could include:
Having a blank input table on my screen (created using html/jsf) , entering the values that are needed and bind the values to a List.
Iterate the list, pick and write these to an output file (.txt) with respective tags needed for the xml to be produced.
Let the caller fetch the text based xml file directly as a resource from my server address.
I am certain this sounds overly simplistic, however would appreciate if anyone could please help me understand the flaws in this approach.
Appreciate any help that can come.
P.S.: Given my clear lack of hold on the subject, it would be very helpful to know if there is a live chat option available (here or any other forum) to be able to interact with others from whom I can learn.
Thanks very much for the advice. The request from the client at this time is for a simple xml file, and it may well be best to solve it the most simple way by simply constructing the file in an off-hand manner.
As clearly I am a 'greenhorn' I am yet to learn a lot conceptually about the capabilities, complexities and limitations of WebServices.
As I had mentioned in my postscript, it would be very helpful to know of a live chat forum, where it would be possible to interact with adept programmers to seek help in clearing my concepts interactively.
Would be great if you could suggest any relevant forums or how best to get clarify my concepts.