Menu

wsdl11

redmitry

WSDL 1.1 to WSDL 2.0 converter

Converting WSDL 1.1 definitions into WSDL 2.0 descriptions is a very complicated and error-prone task.
The converter is implemented within a single class:

org.inb.bsc.wsdl20.converter.WSDLConverter

It relies on wsdl4j and tinyXMLSchema which is based on Apache XML Schema 2 library.

WSDLConverter class has only one public method:

public static Description convert(Definition definition) throws Exception

The exception is generally WSDLException and is risen when there is a serious WSDL 1.1 validation error.
The message contains WSDL 1.1-like Element Identifiers (with no namespaces) to help localize the error within the WSLD 1.1 definition.

The converter algorithm goes through Service, Binding, PortType first to provide better conversion for concrete services, rather abstract interfaces.

It supports both SOAP and HTTP bindings.

things that doesn't work
  1. Operation overloading. Renaming the operation to something like op1, op2... would change a contract.
  2. Does anyone know what to do with WSDL 1.1 5.4 mime:multipartRelated?

Related

Wiki: Home
Wiki: schema

MongoDB Logo MongoDB