| java.lang.Object org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder org.springframework.ws.wsdl.wsdl11.builder.AbstractBindingWsdl4jDefinitionBuilder
All known Subclasses: org.springframework.ws.wsdl.wsdl11.builder.AbstractSoap11Wsdl4jDefinitionBuilder,
AbstractBindingWsdl4jDefinitionBuilder | abstract public class AbstractBindingWsdl4jDefinitionBuilder extends AbstractWsdl4jDefinitionBuilder (Code) | | Abstract base class for Wsdl11DefinitionBuilder implementations that use WSDL4J and contain a concrete
part. Creates a binding that matches any present portType , and a service containing
port s that match the binding s. Lets subclasses populate these through template methods.
author: Arjen Poutsma since: 1.0.0 |
Method Summary | |
public void | buildBindings(Definition definition) Creates a Binding for each PortType in the definition, and calls
populateBinding with it. | public void | buildServices(Definition definition) Creates a single Service , and calls populateService() with it. | protected void | populateBinding(Binding binding, PortType portType) Called after the Binding has been created, but before any sub-elements are added. | protected void | populateBindingFault(BindingFault bindingFault, Fault fault) Called after the BindingFault has been created. | protected void | populateBindingInput(BindingInput bindingInput, Input input) Called after the BindingInput has been created. | protected void | populateBindingOperation(BindingOperation bindingOperation, Operation operation) Called after the BindingOperation has been created, but before any sub-elements are added. | protected void | populateBindingOutput(BindingOutput bindingOutput, Output output) Called after the BindingOutput has been created. | protected void | populatePort(Port port, Binding binding) Called after the Port has been created, but before any sub-elements are added. | protected void | populateService(Service service) Called after the Binding has been created, but before any sub-elements are added. |
buildServices | public void buildServices(Definition definition) throws WSDLException(Code) | | Creates a single Service , and calls populateService() with it. Creates a corresponding
Port for each Binding , which is passed to populatePort() .
Parameters: definition - the WSDL4J Definition throws: WSDLException - in case of errors See Also: javax.wsdl.Service See Also: javax.wsdl.Port See Also: AbstractBindingWsdl4jDefinitionBuilder.populatePort(javax.wsdl.Port,javax.wsdl.Binding) |
populateBinding | protected void populateBinding(Binding binding, PortType portType) throws WSDLException(Code) | | Called after the Binding has been created, but before any sub-elements are added. Subclasses can
implement this method to define the binding name, or add extensions to it.
Default implementation sets the binding name to the port type name with the suffix Binding appended
to it.
Parameters: binding - the WSDL4J Binding Parameters: portType - the corresponding PortType throws: WSDLException - in case of errors |
populateBindingFault | protected void populateBindingFault(BindingFault bindingFault, Fault fault) throws WSDLException(Code) | | Called after the BindingFault has been created. Subclasses can implement this method to define the
name, or add extensions to it.
Default implementation set the name of the binding fault to the name of the fault.
Parameters: bindingFault - the WSDL4J BindingFault Parameters: fault - the corresponding WSDL4J Fault throws: WSDLException - in case of errors |
populateBindingInput | protected void populateBindingInput(BindingInput bindingInput, Input input) throws WSDLException(Code) | | Called after the BindingInput has been created. Subclasses can implement this method to define the
name, or add extensions to it.
Default implementation set the name of the binding input to the name of the input.
Parameters: bindingInput - the WSDL4J BindingInput Parameters: input - the corresponding WSDL4J Input throws: WSDLException - in case of errors |
populateBindingOperation | protected void populateBindingOperation(BindingOperation bindingOperation, Operation operation) throws WSDLException(Code) | | Called after the BindingOperation has been created, but before any sub-elements are added.
Subclasses can implement this method to define the binding name, or add extensions to it.
Default implementation sets the name of the binding operation to the name of the operation.
Parameters: bindingOperation - the WSDL4J BindingOperation Parameters: operation - the corresponding WSDL4J Operation throws: WSDLException - in case of errors |
populateBindingOutput | protected void populateBindingOutput(BindingOutput bindingOutput, Output output) throws WSDLException(Code) | | Called after the BindingOutput has been created. Subclasses can implement this method to define the
name, or add extensions to it.
Default implementation set the name of the binding output to the name of the output.
Parameters: bindingOutput - the WSDL4J BindingOutput Parameters: output - the corresponding WSDL4J Output throws: WSDLException - in case of errors |
populatePort | protected void populatePort(Port port, Binding binding) throws WSDLException(Code) | | Called after the Port has been created, but before any sub-elements are added. Subclasses can
implement this method to define the port name, or add extensions to it.
Default implementation sets the port name to the port type name with the suffix Port appended to
it.
Parameters: port - the WSDL4J Port Parameters: binding - the corresponding WSDL4J Binding throws: WSDLException - in case of errors |
populateService | protected void populateService(Service service) throws WSDLException(Code) | | Called after the Binding has been created, but before any sub-elements are added. Subclasses can
implement this method to define the binding name, or add extensions to it.
Default implementation is empty.
Parameters: service - the WSDL4J Service throws: WSDLException - in case of errors |
Fields inherited from org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder | final protected Log logger(Code)(Java Doc)
|
|
|