Forums Register Login

Readonly Web services

+Pie Number of slices to send: Send
Hello Guys,

What is the technology which I can accomplish such feature, have a readonly webservice? JAXWS or JAXRS(RESTfull)?

I'm working on TeamDoctor assignment and I have a requirement to to just read from web services and I don't know how to design such solution, any idea?

Thank you!
+Pie Number of slices to send: Send
A WS is an API that works over HTTP - if you don't want the API to be able to change anything, then don't provide methods that do that.
+Pie Number of slices to send: Send
The choice between SOAP WS and RESTful WS depends on how strongly you want the contract between the consumer and producer to defined.

If your WS is intented for B2B exchanges and can be used potentially by other external companies I would go for SOAP which strongly
defined the contract via WSDL.
If your WS is intented for internal use only in your company and the interface is simple enough like in your case, there is no
need for the SOAP overhead and I would go for RESTful WS.

I discarded here the social type of B2B integration where for example the MSN website calls the Facebook RESTful API to display
you facebook status in MSN. That's a particular case.
+Pie Number of slices to send: Send
I have just downloaded 10 min ago my assignment and it is teamdoctor as well !
I guess I'll be facing the same design issue as you
+Pie Number of slices to send: Send
This might help:

http://www.ajaxonomy.com/2008/xml/web-services-part-1-soap-vs-rest

esp. see pros/cons part.
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1068 times.
Similar Threads
XSLT problem with javaScript removeAttribute()
What is EAI Web Services?
Servlets vs Web Services
non-editable in textarea
how to get the value from the readonly field?????
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:38:18.