Cloud Application Integration (On-Premises) : Service Development : Building C/C++ Services : Compiling the C/C++ Source Code
Compiling the C/C++ Source Code
 
Performance When Compiling a C/C++ Service
When you save a C/C++ service, Designer automatically compiles the C/C++ service in the Service Development Project and on Integration Server.
Keep the following points in mind when you are compiling a C/C++ service:
*You must add any additional Java classes that the C/C++ service requires to both the Service Development Project and to Integration Server. For more information, see Adding Classes to the Service Development Project. For more information about adding classes to Integration Server, see information about managing IS packages and how Integration Server stores IS package information in webMethods Integration Server Administrator’s Guide.
*Make sure you have a C/C++ compiler installed on the host where Integration Server is installed.
*When compiling the C/C++ service locally, Designer uses the default Java compiler settings. You can update these settings by updating the Service Development Project’s Java Compiler properties.
*By default, the Service Development Project uses the default JRE that is configured for Designer. You can configure a different JRE using the Service Development Project’s Java Build Path properties and setting a new JRE on the Libraries tab.
To compile a C/C++ service
1. If the service is not open in the C/C++ service editor, open it by double clicking the C/C++ service in the Package Navigator view.
2. Select File > Save to save and compile the C/C++ service.
Designer displays compilation errors from compiling the service in:
*Problems view for compilation errors from locally compiling the service
If Problems view is not already open, you can open it by selecting Window > Show View > Problems.
To view the line of code that caused the error, double click on the error in the Problems view. Designer shifts focus to the C/C++ service editor, with the cursor positioned at the line of code that caused the error.
*Compiler Messages window for compilation errors from Integration Server
Designer writes the error messages from the server to the Designer log file, making them visible within the Error Log View.
If you receive errors because the Java compiler cannot be found in Integration Server, ensure you have a Java compiler installed on the same machine as Integration Server and that you have added the location of the Java compiler to the system path.
Performance When Compiling a C/C++ Service
Prerequisites for Building C/C++ Services
Service Development Projects in the Local Workspace
Creating a C/C++ Service
Editing an Existing C/C++ Service
Adding Classes to the Service Development Project
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback