Web Services: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 6: Line 6:


[[Visual DataFlex Studio]] has a tool to use a [[Web Service]] class from dataflex code ( [[VDF Webservice Class]] )
[[Visual DataFlex Studio]] has a tool to use a [[Web Service]] class from dataflex code ( [[VDF Webservice Class]] )
The generated webservice client may use [[Call By Reference]] to return results.
= Coding webservices =
Usually , when coding webservices there are two approaches - "contract first" and "model first".


The generated webservice client may use [[Call By Reference]] to return results.
When using "Contract first" you usually get a [[WSDL]] file that your webservice must adhere to. When using "Code first" you typically write the code first and use a tool to generate the [[WDSL]] from the code.
 
The standard approach using [[Visual DataFlex]] is to use "code first".




[[Category:Web Services]]
[[Category:Web Services]]

Revision as of 10:30, 9 November 2007

Cornerstone of a service oriented architecture


Visual DataFlex Studio has a tool to use a Web Service class from dataflex code ( VDF Webservice Class ) The generated webservice client may use Call By Reference to return results.


Coding webservices

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

When using "Contract first" you usually get a WSDL file that your webservice must adhere to. When using "Code first" you typically write the code first and use a tool to generate the WDSL from the code.

The standard approach using Visual DataFlex is to use "code first".