Package com.sun.xml.ws.wsdl.writer
Class W3CAddressingWSDLGeneratorExtension
- java.lang.Object
-
- com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension
-
- com.sun.xml.ws.wsdl.writer.W3CAddressingWSDLGeneratorExtension
-
public class W3CAddressingWSDLGeneratorExtension extends WSDLGeneratorExtension
- Author:
- Arun Gupta, Rama Pulavarthi
-
-
Constructor Summary
Constructors Constructor Description W3CAddressingWSDLGeneratorExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBindingExtension(TypedXmlWriter binding)This method is invoked so that extensions to awsdl:bindingelement can be generated.voidaddOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:faultelement can be generated.voidaddOperationInputExtension(TypedXmlWriter input, JavaMethod method)This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:inputelement can be generated.voidaddOperationOutputExtension(TypedXmlWriter output, JavaMethod method)This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:outputelement can be generated.protected static StringgetDefaultAction(JavaMethod method)voidstart(WSDLGenExtnContext ctxt)Called at the very beginning of the process.-
Methods inherited from class com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension
addBindingOperationExtension, addBindingOperationFaultExtension, addBindingOperationInputExtension, addBindingOperationOutputExtension, addDefinitionsExtension, addFaultMessageExtension, addInputMessageExtension, addOperationExtension, addOutputMessageExtension, addPortExtension, addPortTypeExtension, addServiceExtension, end, start
-
-
-
-
Method Detail
-
start
public void start(WSDLGenExtnContext ctxt)
Description copied from class:WSDLGeneratorExtensionCalled 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:
startin classWSDLGeneratorExtension- Parameters:
ctxt- Provides the context for the generator extensions
-
addOperationInputExtension
public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method)
Description copied from class:WSDLGeneratorExtensionThis method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:inputelement can be generated.- Overrides:
addOperationInputExtensionin classWSDLGeneratorExtension- Parameters:
input- This is the wsdl:portType/wsdl:operation/wsdl:input element that the extension can be added to.method-JavaMethodwhich 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:WSDLGeneratorExtensionThis method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:outputelement can be generated.- Overrides:
addOperationOutputExtensionin classWSDLGeneratorExtension- Parameters:
output- This is the wsdl:portType/wsdl:operation/wsdl:output element that the extension can be added to.method-JavaMethodwhich captures all the information to generate wsdl:portType/wsdl:operation
-
addOperationFaultExtension
public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)
Description copied from class:WSDLGeneratorExtensionThis method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:faultelement can be generated.- Overrides:
addOperationFaultExtensionin classWSDLGeneratorExtension- Parameters:
fault- This is the wsdl:portType/wsdl:operation/wsdl:fault element that the extension can be added to.method-JavaMethodwhich captures all the information to generate wsdl:portType/wsdl:operationce-CheckedExceptionthat abstracts wsdl:fault
-
addBindingExtension
public void addBindingExtension(TypedXmlWriter binding)
Description copied from class:WSDLGeneratorExtensionThis method is invoked so that extensions to awsdl:bindingelement can be generated.
TODO: Some other information may need to be passed- Overrides:
addBindingExtensionin classWSDLGeneratorExtension- Parameters:
binding- This is the wsdl:binding element that the extension can be added to.
-
-