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
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 which 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).
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.
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.
=> Navigate to the Integration Tab
=> Go to Manage Middleware WSDLs Link => Create WSDL for Interface => Select API mode
=> 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:
=> 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.
=> 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.