Hi Guys
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.
Cheers
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.