Spring Web Services Framework

org.springframework.ws.wsdl.wsdl11.builder
Class AbstractSoap11Wsdl4jDefinitionBuilder

java.lang.Object
  extended by org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder
      extended by org.springframework.ws.wsdl.wsdl11.builder.AbstractBindingWsdl4jDefinitionBuilder
          extended by org.springframework.ws.wsdl.wsdl11.builder.AbstractSoap11Wsdl4jDefinitionBuilder
All Implemented Interfaces:
Wsdl11DefinitionBuilder
Direct Known Subclasses:
XsdBasedSoap11Wsdl4jDefinitionBuilder

Deprecated. as of Spring Web Services 1.5: superseded by DefaultWsdl11Definition and the org.springframework.ws.wsdl.wsdl11.provider package

public abstract class AbstractSoap11Wsdl4jDefinitionBuilder
extends AbstractBindingWsdl4jDefinitionBuilder

Abstract base class for Wsdl11DefinitionBuilder implementations that use WSDL4J and contain a SOAP 1.1 binding. Requires the locationUri property to be set before use.

Since:
1.0.0
Author:
Arjen Poutsma
See Also:
setLocationUri(String)

Field Summary
static String DEFAULT_TRANSPORT_URI
          Deprecated. The default soap:binding transport attribute value.
 
Fields inherited from class org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder
logger
 
Constructor Summary
AbstractSoap11Wsdl4jDefinitionBuilder()
          Deprecated.  
 
Method Summary
protected  ExtensibilityElement createSoapExtension(Class parentType, String localName)
          Deprecated. Creates a SOAP extensibility element.
protected  void populateBinding(Binding binding, PortType portType)
          Deprecated. Calls AbstractBindingWsdl4jDefinitionBuilder.populateBinding(Binding, PortType), creates SOAPBinding, and calls populateSoapBinding(SOAPBinding).
protected  void populateBindingFault(BindingFault bindingFault, Fault fault)
          Deprecated. Creates a SOAPBody, and calls populateSoapBody(SOAPBody).
protected  void populateBindingInput(BindingInput bindingInput, Input input)
          Deprecated. Creates a SOAPBody, and calls populateSoapBody(SOAPBody).
protected  void populateBindingOperation(BindingOperation bindingOperation, Operation operation)
          Deprecated. Calls AbstractBindingWsdl4jDefinitionBuilder.populateBindingOperation(BindingOperation, Operation), creates a SOAPOperation, and calls populateSoapOperation(SOAPOperation).
protected  void populateBindingOutput(BindingOutput bindingOutput, Output output)
          Deprecated. Creates a SOAPBody, and calls populateSoapBody(SOAPBody).
protected  void populateDefinition(Definition definition)
          Deprecated. Adds the WSDL SOAP namespace to the definition.
protected  void populatePort(Port port, Binding binding)
          Deprecated. Creates a SOAPAddress, and calls populateSoapAddress(SOAPAddress).
protected  void populateSoapAddress(SOAPAddress soapAddress)
          Deprecated. Called after the SOAPAddress has been created.
protected  void populateSoapBinding(SOAPBinding soapBinding)
          Deprecated. Called after the SOAPBinding has been created.
protected  void populateSoapBody(SOAPBody soapBody)
          Deprecated. Called after the SOAPBody has been created.
protected  void populateSoapFault(BindingFault bindingFault, SOAPFault soapFault)
          Deprecated. Called after the SOAPFault has been created.
protected  void populateSoapOperation(SOAPOperation soapOperation)
          Deprecated. Called after the SOAPOperation has been created.
 void setLocationUri(String locationUri)
          Deprecated. Sets the value used for the soap:address location attribute value.
 void setTransportUri(String transportUri)
          Deprecated. Sets the value used for the soap:binding transport attribute value.
 
Methods inherited from class org.springframework.ws.wsdl.wsdl11.builder.AbstractBindingWsdl4jDefinitionBuilder
buildBindings, buildServices, populateService
 
Methods inherited from class org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder
buildBindings, buildDefinition, buildImports, buildImports, buildMessages, buildMessages, buildPortTypes, buildPortTypes, buildServices, buildTypes, buildTypes, createExtension, getDefinition, populateExtensionRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TRANSPORT_URI

public static final String DEFAULT_TRANSPORT_URI
Deprecated. 
The default soap:binding transport attribute value.

See Also:
Constant Field Values
Constructor Detail

AbstractSoap11Wsdl4jDefinitionBuilder

public AbstractSoap11Wsdl4jDefinitionBuilder()
Deprecated. 
Method Detail

setTransportUri

public void setTransportUri(String transportUri)
Deprecated. 
Sets the value used for the soap:binding transport attribute value.

See Also:
SOAPBinding.setTransportURI(String), DEFAULT_TRANSPORT_URI

setLocationUri

public void setLocationUri(String locationUri)
Deprecated. 
Sets the value used for the soap:address location attribute value.


populateDefinition

protected void populateDefinition(Definition definition)
                           throws WSDLException
Deprecated. 
Adds the WSDL SOAP namespace to the definition.

Overrides:
populateDefinition in class AbstractWsdl4jDefinitionBuilder
Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors
See Also:
AbstractWsdl4jDefinitionBuilder.buildDefinition()

populateBinding

protected void populateBinding(Binding binding,
                               PortType portType)
                        throws WSDLException
Deprecated. 
Calls AbstractBindingWsdl4jDefinitionBuilder.populateBinding(Binding, PortType), creates SOAPBinding, and calls populateSoapBinding(SOAPBinding).

Overrides:
populateBinding in class AbstractBindingWsdl4jDefinitionBuilder
Parameters:
binding - the WSDL4J Binding
portType - the corresponding PortType
Throws:
WSDLException - in case of errors

populateSoapBinding

protected void populateSoapBinding(SOAPBinding soapBinding)
                            throws WSDLException
Deprecated. 
Called after the SOAPBinding has been created. Default implementation sets the binding style to "document", and set the transport URI to the value set on this builder. Subclasses can override this behavior.

Parameters:
soapBinding - the WSDL4J SOAPBinding
Throws:
WSDLException - in case of errors
See Also:
SOAPBinding.setStyle(String), SOAPBinding.setTransportURI(String), setTransportUri(String), DEFAULT_TRANSPORT_URI

populateBindingOperation

protected void populateBindingOperation(BindingOperation bindingOperation,
                                        Operation operation)
                                 throws WSDLException
Deprecated. 
Calls AbstractBindingWsdl4jDefinitionBuilder.populateBindingOperation(BindingOperation, Operation), creates a SOAPOperation, and calls populateSoapOperation(SOAPOperation).

Overrides:
populateBindingOperation in class AbstractBindingWsdl4jDefinitionBuilder
Parameters:
bindingOperation - the WSDL4J BindingOperation
operation - the corresponding WSDL4J Operation
Throws:
WSDLException - in case of errors

populateSoapOperation

protected void populateSoapOperation(SOAPOperation soapOperation)
                              throws WSDLException
Deprecated. 
Called after the SOAPOperation has been created.

Default implementation set the SOAPAction uri to an empty string.

Parameters:
soapOperation - the WSDL4J SOAPOperation
Throws:
WSDLException - in case of errors
See Also:
SOAPOperation.setSoapActionURI(String)

populateBindingInput

protected void populateBindingInput(BindingInput bindingInput,
                                    Input input)
                             throws WSDLException
Deprecated. 
Creates a SOAPBody, and calls populateSoapBody(SOAPBody).

Overrides:
populateBindingInput in class AbstractBindingWsdl4jDefinitionBuilder
Parameters:
bindingInput - the WSDL4J BindingInput
input - the corresponding WSDL4J Input
Throws:
WSDLException - in case of errors

populateBindingOutput

protected void populateBindingOutput(BindingOutput bindingOutput,
                                     Output output)
                              throws WSDLException
Deprecated. 
Creates a SOAPBody, and calls populateSoapBody(SOAPBody).

Overrides:
populateBindingOutput in class AbstractBindingWsdl4jDefinitionBuilder
Parameters:
bindingOutput - the WSDL4J BindingOutput
output - the corresponding WSDL4J Output
Throws:
WSDLException - in case of errors

populateBindingFault

protected void populateBindingFault(BindingFault bindingFault,
                                    Fault fault)
                             throws WSDLException
Deprecated. 
Creates a SOAPBody, and calls populateSoapBody(SOAPBody).

Overrides:
populateBindingFault in class AbstractBindingWsdl4jDefinitionBuilder
Parameters:
bindingFault - the WSDL4J BindingFault
fault - the corresponding WSDL4J Fault
Throws:
WSDLException - in case of errors

populateSoapBody

protected void populateSoapBody(SOAPBody soapBody)
                         throws WSDLException
Deprecated. 
Called after the SOAPBody has been created. Default implementation sets the use style to "literal". Subclasses can override this behavior.

Parameters:
soapBody - the WSDL4J SOAPBody
Throws:
WSDLException - in case of errors
See Also:
SOAPBody.setUse(String)

populateSoapFault

protected void populateSoapFault(BindingFault bindingFault,
                                 SOAPFault soapFault)
                          throws WSDLException
Deprecated. 
Called after the SOAPFault has been created. Default implementation sets the use style to "literal", and sets the name equal to the binding fault. Subclasses can override this behavior.

Parameters:
bindingFault - the WSDL4J BindingFault
soapFault - the WSDL4J SOAPFault
Throws:
WSDLException - in case of errors
See Also:
SOAPFault.setUse(String)

populatePort

protected void populatePort(Port port,
                            Binding binding)
                     throws WSDLException
Deprecated. 
Creates a SOAPAddress, and calls populateSoapAddress(SOAPAddress).

Overrides:
populatePort in class AbstractBindingWsdl4jDefinitionBuilder
Parameters:
port - the WSDL4J Port
binding - the corresponding WSDL4J Binding
Throws:
WSDLException - in case of errors

populateSoapAddress

protected void populateSoapAddress(SOAPAddress soapAddress)
                            throws WSDLException
Deprecated. 
Called after the SOAPAddress has been created. Default implementation sets the location URI to the value set on this builder. Subclasses can override this behavior.

Parameters:
soapAddress - the WSDL4J SOAPAddress
Throws:
WSDLException - in case of errors
See Also:
SOAPAddress.setLocationURI(String), setLocationUri(String)

createSoapExtension

protected ExtensibilityElement createSoapExtension(Class parentType,
                                                   String localName)
                                            throws WSDLException
Deprecated. 
Creates a SOAP extensibility element.

Parameters:
parentType - a class object indicating where in the WSDL definition this extension will exist
localName - the local name of the extensibility element
Returns:
the extensibility element
Throws:
WSDLException - in case of errors
See Also:
ExtensionRegistry.createExtension(Class,javax.xml.namespace.QName)

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.