Module com.sun.xml.ws
Package com.sun.xml.ws.wsdl.writer
Class W3CAddressingMetadataWSDLGeneratorExtension
java.lang.Object
com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension
com.sun.xml.ws.wsdl.writer.W3CAddressingMetadataWSDLGeneratorExtension
This extension class generates wsam:Action values for input, output and faults in the generated wsdl.
- Author:
- Rama Pulavarthi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOperationFaultExtension
(com.sun.xml.txw2.TypedXmlWriter fault, JavaMethod method, CheckedException ce) This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:fault
element can be generated.void
addOperationInputExtension
(com.sun.xml.txw2.TypedXmlWriter input, JavaMethod method) This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:input
element can be generated.void
addOperationOutputExtension
(com.sun.xml.txw2.TypedXmlWriter output, JavaMethod method) This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:output
element can be generated.protected static final String
getDefaultFaultAction
(JavaMethod method, CheckedException ce) protected static final String
getDefaultInputAction
(JavaMethod method) protected static final String
getDefaultOutputAction
(JavaMethod method) void
start
(WSDLGenExtnContext ctxt) Called at the very beginning of the process.Methods inherited from class com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension
addBindingExtension, addBindingOperationExtension, addBindingOperationFaultExtension, addBindingOperationInputExtension, addBindingOperationOutputExtension, addDefinitionsExtension, addFaultMessageExtension, addInputMessageExtension, addOperationExtension, addOutputMessageExtension, addPortExtension, addPortTypeExtension, addServiceExtension, end, start
-
Constructor Details
-
W3CAddressingMetadataWSDLGeneratorExtension
public W3CAddressingMetadataWSDLGeneratorExtension()
-
-
Method Details
-
start
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 classWSDLGeneratorExtension
- Parameters:
ctxt
- Provides the context for the generator extensions
-
addOperationInputExtension
Description copied from class:WSDLGeneratorExtension
This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:input
element can be generated.- Overrides:
addOperationInputExtension
in classWSDLGeneratorExtension
- 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
-
addOperationOutputExtension
Description copied from class:WSDLGeneratorExtension
This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:output
element can be generated.- Overrides:
addOperationOutputExtension
in classWSDLGeneratorExtension
- 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
-
addOperationFaultExtension
public void addOperationFaultExtension(com.sun.xml.txw2.TypedXmlWriter fault, JavaMethod method, CheckedException ce) Description copied from class:WSDLGeneratorExtension
This method is invoked so that extensions to awsdl:portType/wsdl:operation/wsdl:fault
element can be generated.- Overrides:
addOperationFaultExtension
in classWSDLGeneratorExtension
- Parameters:
fault
- This is the wsdl:portType/wsdl:operation/wsdl:fault element that the extension can be added to.method
-JavaMethod
which captures all the information to generate wsdl:portType/wsdl:operationce
-CheckedException
that abstracts wsdl:fault
-
getDefaultInputAction
-
getDefaultOutputAction
-
getDefaultFaultAction
-