Class W3CAddressingMetadataExtensionHandler


public class W3CAddressingMetadataExtensionHandler extends AbstractExtensionHandler
This extension parses the WSDL Metadata extensibility elements in the wsdl definitions.

This class looks for wsam:Action attribute on wsdl:input, wsdl:output, wsdl:fault elements and sets the action value in the wsdl model so that it can be used to generate correpsonding annotations on SEI.

Author:
Rama Pulavarthi
  • Constructor Details

  • Method Details

    • getNamespaceURI

      public String getNamespaceURI()
      Description copied from class: TWSDLExtensionHandler
      Gives the namespace of an extensibility element.
      For example a soap 1.1 XXExtensionHandler would return ""http://schemas.xmlsoap.org/wsdl/soap/"
      Overrides:
      getNamespaceURI in class TWSDLExtensionHandler
    • handleInputExtension

      public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
      Description copied from class: TWSDLExtensionHandler
      Callback for wsdl:input
      Overrides:
      handleInputExtension in class TWSDLExtensionHandler
      Parameters:
      context - Parser context that will be passed on by the wsdl parser
      parent - The Parent element within which the extensibility element is defined
      e - The extensibility elemenet
      Returns:
      false if there was some error during the extension handling otherwise returns true. If returned false then the WSDL parser can abort if the wsdl extensibility element had required attribute set to true
    • handleOutputExtension

      public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
      Description copied from class: TWSDLExtensionHandler
      Callback for wsdl:output
      Overrides:
      handleOutputExtension in class TWSDLExtensionHandler
      Parameters:
      context - Parser context that will be passed on by the wsdl parser
      parent - The Parent element within which the extensibility element is defined
      e - The extensibility elemenet
      Returns:
      false if there was some error during the extension handling otherwise returns true. If returned false then the WSDL parser can abort if the wsdl extensibility element had required attribute set to true
    • handleFaultExtension

      public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
      Description copied from class: TWSDLExtensionHandler
      Callback for wsdl:fault
      Overrides:
      handleFaultExtension in class TWSDLExtensionHandler
      Parameters:
      context - Parser context that will be passed on by the wsdl parser
      parent - The Parent element within which the extensibility element is defined
      e - The extensibility elemenet
      Returns:
      false if there was some error during the extension handling otherwise returns true. If returned false then the WSDL parser can abort if the wsdl extensibility element had required attribute set to true