Official Content

In order to facilitate the interchange of information between systems, the most common practice is the use of  Web Services.

For that reason, if you have a Data Provider object which returns any information, in GeneXus you can easily enable it to be published as a Web Service.

The only thing you have to do is change the Data Provider Expose as Web Service property to True.

Note that when you choose the value True for the Expose as Web Service property, the Exposed namespace property is automatically enabled with the name of the KB. You can change it if you want.

The WSDL of a Web Service generated by GeneXus can be inspected, depending on the language with which it has been generated, as follow.

.NET
If the web application is here:
http://localhost/MyWebApp.NetEnvironment/

The wsdl of a web service called MyWebService, is obtained from:
http://localhost/MyWebApp.NetEnvironment/mywebservice.aspx?wsdl

Java
If the web application is here:
http://localhost:8080/MyWebAppJavaEnvironment/

The wsdl of a web service called MyWebService, is obtained from:
http://localhost:8080/MyWebAppJavaEnvironment/servlet/mywebservice?wsdl






Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant