Generate Metadata #
The Export function creates an export file for each format(xsd, wsdl, json Schema, swagger and openApI), and that export files are consolidated into that specific format. You can use the same file if you want to use the files as import files (for example, when importing file to create msg type by importing function). Skyvva provide flexible export. SKYVVA provides a feature of exporting metadata where we can find in the message type.
Middleware: Software that provides a link between separate software applications. Middleware is sometimes called plumbing because it connects two applications and passes data between them. Middleware allows data contained in one database to be accessed through another.
Middleware is especially integral to modern information technology based on XML, SOAP, Web services, and service-oriented architecture.
Endpoint: Simply put, an endpoint is one end of a communication channel. When an API interacts with another system, the touchpoints of this communication are considered endpoints. For APIs, an endpoint can include a URL of a server or service. … The place that APIs send requests and where the resource lives are called an endpoint.
targetNamespace annotation is on a service implementation bean that does reference a service endpoint interface (through the endpoint interface attribute), the targetNamespace is used for only the WSDL: service(and associated XML elements).
Prerequisite: #
Step1: We have to create one integration. Please refer our tutorial to create integration()
Step2: We have to create an interface.
Note: Mapping is not mandatory here.
Export metadata from Integration. #
To process the message type-based interface we have to follow the given steps:
Step1: We have to Create a hierarchical Message type.
There is some pre-requisite to creating a message type.
- Create a metadata provider.
- Create IStructure repository in metadata provider
- We can manually create a message type or we also can use the upload file feature to create a message type.
Step2: We have to create Integration.
- Go to detail tab of integration
- Click on customLink “Generate Metadata.
- Select Interface -> choosing a format file = XSD -> and click export button.
- After we click the Export button, we will receive the message “file generated successfully,” and we will see the XSD file in the class file. Click the View button to download the XSD file.
- Here’s the XSD file that we have generated.