Tutorial

  1. Home
  2. Docs
  3. Tutorial
  4. 47. How to export the interface meta data in different format as xsd, json schema, WSDL 1.1 & 2.0, swagger 2.0 and openApi 3.x?

47. How to export the interface meta data in different format as xsd, json schema, WSDL 1.1 & 2.0, swagger 2.0 and openApi 3.x?

Learning Objectives

After completing this unit, you’ll be able to:

  • Describe whatManageMiddlewareWSDL feature is .
  • Comfortably export the interface meta data in different format as xsd, json schema, WSDL 1.1 & 2.0, swagger 2.0 and openApi 3.x

Introduction

Skyvva provide ManageMiddlewareWSDL feature. We can use this feature to export the interface meta data in different format as xsd, json schema, WSDL 1.1 & 2.0, swagger 2.0 and openApi 3.x.

What Is ManageMiddlewareWSDL feature?

ManageMiddlewareWSDL is feature wwhich allow user to to export the interface meta data in different format as xsd, json schema, WSDL 1.1 & 2.0, swagger 2.0 and openApi 3.x.

We should know some terms:

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, is called an endpoint.

targetNamespace annotation is on a service implementation bean that does reference a service endpoint interface (through the endpointInterface attribute), the targetNamespace is used for only the wsdl:service(and associated XML elements).

Pre-requiste:

Step1:

1-Create metadata provider
2-Create istructure repository
3-Create istructure for Repository
4-Create hierarchical message type e.g: Account, Contact, Asset these message types are parent and child.

Step2:

1-Create an integration. Please refer our tutorial to create integration
2-Create an outbound interface (request) processing mode = synchronous


3-Create an inbound interface (response)

4- Copy inbound interface Id        

5- When use with outbound interface message type is at the right side e.g. the target data structure. In this case the left side e.g. the source side is the Salesforce sObjects.

Note: Mapping is not mandatory here.

Step4:

=> Navigate to the Integration Tab
=> Go to Manage Middleware WSDLs Link => Create WSDL for Interface => Select API mode

  1. XSD

=> click on Create XSD button.
=> Scroll down the page to see the exported xsd file.

Click on view to download the file.

Exported xsd file looks like:

2. WSDL:

=> click on Create WSDL button. And select which wsdl file you want to export wsdl1.1 or wsdl2.0


=> Scroll down the page to see the exported wsdl file.

 

3.JSON Schema:

=> click on Create JSON Schema button.
=> Scroll down the page to see the exported JSON Schema file.

4. Create swagger:

=> Click on Create swagger button. Select the option which you want export Swagger2.0 or OpenAPI 3.0


=> Scroll down the page to see the exported swager 2.0 or OpenAPI 3.0 file.

  

Was this article helpful to you? Yes No

How can we help?