Web Services: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
m
fiddling
m (fiddling)
Line 22: Line 22:


By default [[Visual DataFlex]] publishes [http://www.ibm.com/developerworks/webservices/library/ws-docstyle.html Document Style] web services and unless you have a pressing reason to use the alternative ([http://en.wikipedia.org/wiki/Remote_procedure_call RPC] Style) you should adhere to this.  This means that, except in the simplest cases (such as the much-cited example of serving up a stock price), you will need to [[Web_Service_Basics#Defining_XML_Documents|define the documents]] which are to be passed to and from the service's operations.
By default [[Visual DataFlex]] publishes [http://www.ibm.com/developerworks/webservices/library/ws-docstyle.html Document Style] web services and unless you have a pressing reason to use the alternative ([http://en.wikipedia.org/wiki/Remote_procedure_call RPC] Style) you should adhere to this.  This means that, except in the simplest cases (such as the much-cited example of serving up a stock price), you will need to [[Web_Service_Basics#Defining_XML_Documents|define the documents]] which are to be passed to and from the service's operations.


===VDF Web Service Clients===
===VDF Web Service Clients===
Line 29: Line 27:


----
----
==Original Article==
(will be removed when the above is complete)


Cornerstone of a modern [[SOA|service oriented architecture]]
Cornerstone of a modern [[SOA|service oriented architecture]]
Line 39: Line 40:
The generated webservice client may use [[Call By Reference]] to return results.
The generated webservice client may use [[Call By Reference]] to return results.


= Coding webservices =
===Coding webservices===


Usually , when coding webservices there are two approaches - "contract first" and "model first".
Usually , when coding webservices there are two approaches - "contract first" and "model first".

Navigation menu