WSDL

The Web Services Description Language (WSDL) is an XML-based language for describing Web services and how to access them.

Before a Uniface application can call a Web service (call-out), it needs to import the WSDL file of this Web service using the WSDL Import facility.

When a Uniface service is published as a Web service (call-in), its interface needs to be exported into a WSDL file using the WSDL Export facility.

Binding Styles

A WSDL document can have different binding styles to define the message format and how the service is bound to a protocol. There are four binding styles, each suited to a specific situation. Some styles are compliant with WS-I Basic Profile 1.1 and Simple SOAP Binding Profile 1.0.

All the binding styles are supported by Uniface Web service call-out. For Web service call-in, the default binding style of Uniface WSDL files is the Document/Literal Wrapped style, which is the style best suited to most situations. You can also use the RPC Encoded style.

Uniface Support for Binding Styles

Binding Style

Compliant with WS-I Basic Profile 1.1 and Simple SOAP Binding Profile 1.0

Supported by Uniface SOAP Connector

Uniface Exported WSDL

RPC/Encoded

No

U1.0

This version is still available for backward compatibility. For new applications, it is best to use U2.0.

With /rpcencoded subswitch

RPC/literal

Yes

U2.0

No

Document/literal Wrapped

Yes

U2.0

Yes

Document/literal Bare

Yes

U2.0

No

For more information on these styles, see https://www.ibm.com/developerworks/library/ws-whichwsdl/ and ttp://www.ws-i.org/.

Related Topics