Class WSDLExtensionUtils


  • public class WSDLExtensionUtils
    extends Object
    This utility class stores methods that can be used to fetch extension elements from wsdl and will be used from RespectBindingConfigurator on Client and Server.
    • Constructor Detail

      • WSDLExtensionUtils

        public WSDLExtensionUtils()
    • Method Detail

      • search

        public static void search​(javax.wsdl.WSDLElement element,
                                  Set<WSDLValidatorElement> set,
                                  List<QName> unusedExtensions)
        This method will search for all wsdl extensibility elements marked as required=true in wsdl:bindings As per the wsdl 2.2 specification section 2.5 here is how a wsdl:binding is defined: * <-- extensibility element (1) --> * * <-- extensibility element (2) --> * ? <-- extensibility element (3) --> ? <-- extensibility element (4) --> * * <-- extensibility element (5) --> * we will look for wsdl extensions in binding root, wsdl:operation, wsdl:input, wsdl:output and wsdl:fault. If the extensibility element is defines outside of these sections it will not be picked up by this method.
        Parameters:
        wsdlBinding - - WSDLBinding Object read from WSDL Definition.
        set - - Set that will be filled with list of required=true extension elements.
      • processExtensions

        public static void processExtensions​(EndpointDescription endpointDescription)