Designer 10.15 | webMethods Service Development Help | Working with gRPC Descriptors | Creating a gRPC Provider Descriptor
 
Creating a gRPC Provider Descriptor
Before creating a gRPC provider descriptor, make sure to complete the following prerequisites:
*The WmGRPC package is installed and enabled on the Integration Server on which you want to create the gRPC provider descriptor. Additionally, to ensure that all third party jar files in WmGRPC/code/jars/static have been added to the server classpath, Integration Server must have been started since WmGRPC package installation.
*A gRPC channel exists and is enabled.
*The proto file containing the gRPC service for which you want to create the gRPC descriptor must exist and be accessible by Designer.
*The proto file must contain at least one gRPC service and at least one RPC method.
*If the proto file for the gRPC service imports other proto files that are not in the same directory as the base proto file, the imported proto files must reside in a directory accessible to Designer.
*To create a gRPC provider descriptor
1. In the Package Navigator view of Designer, click File > New > gRPC descriptor.
2. In the New gRPC descriptor dialog box, select the folder in which you want to save the gRPC provider descriptor.
3. In the Element name field, type a name for the gRPC descriptor using any combination of letters, numbers, and/or the underscore character. Click Next.
4. In Proto file location, specify the location of the proto file containing the gRPC services for which you want to create a gRPC provider descriptor.
5. In Directories for imported proto files, if the proto file for the gRPC service imports any proto files from a different directory, click Add to navigate to and select the directory containing the imported files. Designer uses the directory information to resolve any imported proto files declarations. Click Next.
6. On Select the gRPC channel, Designer selects the GRPCDefault channel. This channel will be used for listening for requests for gRPC method flow services in the resulting gRPC provider descriptor.
7. Click Finish.
Designer creates the gRPC provider descriptor and its associated elements. Designer displays an error message if the descriptor cannot be created.