4D v14.3

Web/Web Services page

Home

 
4D v14.3
Web/Web Services page

Web/Web Services page  


 

 

You use the options on this page to activate and configure Web services for the 4D database, both for their publishing (server side) and their subscription (client side).

For more information about the support of Web Services in 4D, refer to the Publication and use of Web Services chapter.

This area contains various options related to the use of 4D as a Web Services “server,” i.e., publishing project methods in the form of Web Services.  

  • Allow Web Services Requests: This option lets you “initialize” the publication of Web Services. If this option has not been checked, 4D refuses SOAP requests and does not generate a WSDL — even if the methods have the Offered as a Web Service attribute. When this option is checked, 4D creates the WSDL file.
  • Web Service Name: This area lets you change the “generic name” of the Web Service. This name is used to differentiate the services both at the SOAP server level (when the server publishes several different Web Services), as well as in the Web Services directories. By default, 4D uses the name A_WebService. 
  • Web Services Namespace: This area is used to change the namespace of the Web Services published by 4D.
    Each Web Service published on the Internet must be unique. The uniqueness of the names of Web Services is ensured by using XML namespaces. A namespace is an arbitrary character string used to identify a set of XML tags in a unique way. Typically, the namespace begins with the URL of the company (http://mycompany.com/mynamespace). In this case, it is not indispensable to have anything in particular at the URL indicated; what matters is that the character string used is unique.
    By default, 4D uses the following namespace: http://www.4d.com/namespace/default.
    Note: In conformity with the XML standard for tag names, the character strings used must not contain spaces nor start with a number. Moreover, to avoid any risk of incompatibility, we recommend that you do not use any extended characters (such as accented characters).

This area contains various options related to the use of 4D as a Web Services “client,” i.e., subscribing to services published on the network.

  • Wizard Method Prefix: This area lets you change the prefix that is added automatically by 4D to the name of proxy methods generated by the Web Services Wizard. Proxy project methods form a link between the 4D application and the Web Services server.
    By default, 4D uses the prefix “proxy_”.

 
PROPERTIES 

Product: 4D
Theme: Database settings

 
ARTICLE USAGE

4D Design Reference ( 4D v14 R2)
4D Design Reference ( 4D v12.4)
4D Design Reference ( 4D v13.4)
4D Design Reference ( 4D v14 R3)
4D Design Reference ( 4D v14.3)
4D Design Reference ( 4D v14 R4)