Class W3CAddressingWSDLGeneratorExtension


  • public class W3CAddressingWSDLGeneratorExtension
    extends WSDLGeneratorExtension
    Author:
    Arun Gupta, Rama Pulavarthi
    • Constructor Detail

      • W3CAddressingWSDLGeneratorExtension

        public W3CAddressingWSDLGeneratorExtension()
    • Method Detail

      • start

        public void start​(WSDLGenExtnContext ctxt)
        Description copied from class: WSDLGeneratorExtension
        Called at the very beginning of the process.
        This method is invoked so that the root element can be manipulated before any tags have been written. This allows to set e.g. namespace prefixes.
        Another purpose of this method is to let extensions know what model we are generating a WSDL for.
        Overrides:
        start in class WSDLGeneratorExtension
        Parameters:
        ctxt - Provides the context for the generator extensions
      • addOperationInputExtension

        public void addOperationInputExtension​(TypedXmlWriter input,
                                               JavaMethod method)
        Description copied from class: WSDLGeneratorExtension
        This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:input element can be generated.
        Overrides:
        addOperationInputExtension in class WSDLGeneratorExtension
        Parameters:
        input - This is the wsdl:portType/wsdl:operation/wsdl:input element that the extension can be added to.
        method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation
      • getDefaultAction

        protected static final String getDefaultAction​(JavaMethod method)
      • addOperationOutputExtension

        public void addOperationOutputExtension​(TypedXmlWriter output,
                                                JavaMethod method)
        Description copied from class: WSDLGeneratorExtension
        This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:output element can be generated.
        Overrides:
        addOperationOutputExtension in class WSDLGeneratorExtension
        Parameters:
        output - This is the wsdl:portType/wsdl:operation/wsdl:output element that the extension can be added to.
        method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation
      • addBindingExtension

        public void addBindingExtension​(TypedXmlWriter binding)
        Description copied from class: WSDLGeneratorExtension
        This method is invoked so that extensions to a wsdl:binding element can be generated.

        TODO: Some other information may need to be passed
        Overrides:
        addBindingExtension in class WSDLGeneratorExtension
        Parameters:
        binding - This is the wsdl:binding element that the extension can be added to.