Compiling and Publishing Web Services

The Personify WSD provides four different options for compiling and publishing. These options are available under the Build menu as shown below.

 compile1.png

1.    Build
This option will compile your project and generate the following necessary files needed by the Personify Data Services:

compile2.png

2.    Build (Debug)
This option will perform the same functionality as the first option (Build). In addition, it will generate all the metadata files as well as sources of the business model codes for the purpose for debugging. Please submit these debug files along with any build errors and output messages when you encounter any build issue. An example of a debug folder is as below:
compile3.png

3.    Build And Publish (Local)
This option will build your project in the same way as the first option (Build). Additionally, this will provide a process for publishing your compiled project to a local machine. This will publish the generated assemblies, the data service file (.svc), along with the sample web.config and XML schema file, to your local data service virtual directory.

Selecting the option “Include Personify dlls”, will also publish the Personify related assemblies to the data service virtual directory. You may configure to include the Customer layer API assemblies in the configuration file. Please see Configuring Personify API Validation Issues for further details. For example:
compile4.png

4.    Check In, Build And Publish (Server)
This option will first check in any checked out service elements of your project into source control. Then it will refresh your project to make sure it has all the latest service elements. Please see Web Services Designer Source Control and Layering for more details.

If successful, this option will continue to build your project in the same way as the first option (Build), then will provide a process for publishing your compiled project to the web server. This will publish the generated assemblies, the data service file (.svc), along with the sample web.config and XML schema file, to your hosted data service virtual directory.
compile5.png

Note.pngYou can configure the default values for the build options in the configuration file (see Web Services Designer Configuration). In addition, you can view the details of the build process messages, errors, and file output paths in the Output window. For example:
build1.png