|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder
org.springframework.ws.wsdl.wsdl11.builder.AbstractBindingWsdl4jDefinitionBuilder
org.springframework.ws.wsdl.wsdl11.builder.AbstractSoap11Wsdl4jDefinitionBuilder
DefaultWsdl11Definition
and the org.springframework.ws.wsdl.wsdl11.provider
package
public abstract class AbstractSoap11Wsdl4jDefinitionBuilder
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.
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 |
---|
public static final String DEFAULT_TRANSPORT_URI
Constructor Detail |
---|
public AbstractSoap11Wsdl4jDefinitionBuilder()
Method Detail |
---|
public void setTransportUri(String transportUri)
SOAPBinding.setTransportURI(String)
,
DEFAULT_TRANSPORT_URI
public void setLocationUri(String locationUri)
protected void populateDefinition(Definition definition) throws WSDLException
populateDefinition
in class AbstractWsdl4jDefinitionBuilder
definition
- the WSDL4J Definition
WSDLException
- in case of errorsAbstractWsdl4jDefinitionBuilder.buildDefinition()
protected void populateBinding(Binding binding, PortType portType) throws WSDLException
AbstractBindingWsdl4jDefinitionBuilder.populateBinding(Binding, PortType)
, creates SOAPBinding
, and calls populateSoapBinding(SOAPBinding)
.
populateBinding
in class AbstractBindingWsdl4jDefinitionBuilder
binding
- the WSDL4J Binding
portType
- the corresponding PortType
WSDLException
- in case of errorsprotected void populateSoapBinding(SOAPBinding soapBinding) throws WSDLException
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.
soapBinding
- the WSDL4J SOAPBinding
WSDLException
- in case of errorsSOAPBinding.setStyle(String)
,
SOAPBinding.setTransportURI(String)
,
setTransportUri(String)
,
DEFAULT_TRANSPORT_URI
protected void populateBindingOperation(BindingOperation bindingOperation, Operation operation) throws WSDLException
AbstractBindingWsdl4jDefinitionBuilder.populateBindingOperation(BindingOperation, Operation)
,
creates a SOAPOperation
, and calls populateSoapOperation(SOAPOperation)
.
populateBindingOperation
in class AbstractBindingWsdl4jDefinitionBuilder
bindingOperation
- the WSDL4J BindingOperation
operation
- the corresponding WSDL4J Operation
WSDLException
- in case of errorsprotected void populateSoapOperation(SOAPOperation soapOperation) throws WSDLException
SOAPOperation
has been created.
Default implementation set the SOAPAction
uri to an empty string.
soapOperation
- the WSDL4J SOAPOperation
WSDLException
- in case of errorsSOAPOperation.setSoapActionURI(String)
protected void populateBindingInput(BindingInput bindingInput, Input input) throws WSDLException
SOAPBody
, and calls populateSoapBody(SOAPBody)
.
populateBindingInput
in class AbstractBindingWsdl4jDefinitionBuilder
bindingInput
- the WSDL4J BindingInput
input
- the corresponding WSDL4J Input
WSDLException
- in case of errorsprotected void populateBindingOutput(BindingOutput bindingOutput, Output output) throws WSDLException
SOAPBody
, and calls populateSoapBody(SOAPBody)
.
populateBindingOutput
in class AbstractBindingWsdl4jDefinitionBuilder
bindingOutput
- the WSDL4J BindingOutput
output
- the corresponding WSDL4J Output
WSDLException
- in case of errorsprotected void populateBindingFault(BindingFault bindingFault, Fault fault) throws WSDLException
SOAPBody
, and calls populateSoapBody(SOAPBody)
.
populateBindingFault
in class AbstractBindingWsdl4jDefinitionBuilder
bindingFault
- the WSDL4J BindingFault
fault
- the corresponding WSDL4J Fault
WSDLException
- in case of errorsprotected void populateSoapBody(SOAPBody soapBody) throws WSDLException
SOAPBody
has been created. Default implementation sets the use style to
"literal"
. Subclasses can override this behavior.
soapBody
- the WSDL4J SOAPBody
WSDLException
- in case of errorsSOAPBody.setUse(String)
protected void populateSoapFault(BindingFault bindingFault, SOAPFault soapFault) throws WSDLException
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.
bindingFault
- the WSDL4J BindingFault
soapFault
- the WSDL4J SOAPFault
WSDLException
- in case of errorsSOAPFault.setUse(String)
protected void populatePort(Port port, Binding binding) throws WSDLException
SOAPAddress
, and calls populateSoapAddress(SOAPAddress)
.
populatePort
in class AbstractBindingWsdl4jDefinitionBuilder
port
- the WSDL4J Port
binding
- the corresponding WSDL4J Binding
WSDLException
- in case of errorsprotected void populateSoapAddress(SOAPAddress soapAddress) throws WSDLException
SOAPAddress
has been created. Default implementation sets the location URI to the value
set on this builder. Subclasses can override this behavior.
soapAddress
- the WSDL4J SOAPAddress
WSDLException
- in case of errorsSOAPAddress.setLocationURI(String)
,
setLocationUri(String)
protected ExtensibilityElement createSoapExtension(Class parentType, String localName) throws WSDLException
parentType
- a class object indicating where in the WSDL definition this extension will existlocalName
- the local name of the extensibility element
WSDLException
- in case of errorsExtensionRegistry.createExtension(Class,javax.xml.namespace.QName)
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |