Cloud Application Integration (On-Premises) : Service Development : Creating Client Code : Building a C/C++ Client : Generating C/C++ Client Code
Generating C/C++ Client Code
To generate C/C++ client code that invokes a service
1. In the Package Navigator view, open the service for which you want to generate client code.
2. In the editor, right click the service to view the context menu, and select Generate Code.
3. In the Code Generation window, select For calling this service from a client and click Next.
4. In the Language field, select the C/C++ platform for which you are creating client code and then click Next.
5. Specify the directory where you want Designer to place the generated client code.
Either select an existing directory or type the path for a new directory. If you type the path for a new directory, Designer creates the directory.
6. Click Finish.
Designer generates the file that contains the C client code (ServiceName.c), a file that contains compiling settings (ServiceName.mak), and a CReadme.txt file.
Modify the generated client code to meet your site’s needs. You can update the client code to invoke built-in services and to use the webMethods C API. For information about the built-in services that are available, see the webMethods Integration Server Built-In Services Reference. For documentation about the C API, see webMethods Integration Server C/C++ API Reference.
To complete your client application, refer to the CReadme.txt file located in the same directory as your client code.
Building a C/C++ Client
Prerequisites for Generating C/C++ Client Code
Limitations when Generating C/C++ Client Code
Files that Designer Generates for a C/C++ Client
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback