Is it possible to generate a WSDL document from a Web Service Integration?
Question
Can WSDL document be generated from a Web Service Integration?
Applicable to
BarTender 2016 and later
Answer
Generating a WSDL document is currently not supported in Integration Builder.
A WSDL document is an xml file which defines the functioning of a web service by providing a description of client/server communication. This allows callers to discover web service interface schemas and is useful for understanding complex, well specified web services.
However, Web Service Integrations are built on the REST architectural principle which opts for a flexible and simplified design and eschews a strict request, response, and procedure call structure. This means however, that it is not possible to automatically generate a WSDL document from a Web Service Integration as REST APIs are by definition ambigiuous.
Integration Builder uses only two HTTP methods: GET and PUT.
- The GET method consists of a URL request.
- The PUT method consists of the URL with one or more variables.
Both the URL and the variables may be defined according to the user's needs and are thus not required to conform to any predefined specifications. Below you can find an example request.
http://localhost:80/Integration/WebServiceIntegration/Execute?var1=1&var2=2&var3=3