|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder org.springframework.ws.wsdl.wsdl11.builder.AbstractBindingWsdl4jDefinitionBuilder org.springframework.ws.wsdl.wsdl11.builder.AbstractSoap12Wsdl4jDefinitionBuilder
DefaultWsdl11Definition
and the org.springframework.ws.wsdl.wsdl11.provider
package
public abstract class AbstractSoap12Wsdl4jDefinitionBuilder
Abstract base class for Wsdl11DefinitionBuilder
implementations that use WSDL4J and contain a SOAP 1.2
binding. Requires the locationUri
property to be set before use.
setLocationUri(String)
Field Summary | |
---|---|
static String |
DEFAULT_TRANSPORT_URI
Deprecated. The default soap12:binding transport attribute value. |
Fields inherited from class org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder |
---|
logger |
Constructor Summary | |
---|---|
AbstractSoap12Wsdl4jDefinitionBuilder()
Deprecated. |
Method Summary | |
---|---|
protected ExtensibilityElement |
createSoapExtension(Class parentType,
String localName)
Deprecated. Creates a SOAP 1.2 extensibility element. |
protected void |
populateBinding(Binding binding,
PortType portType)
Deprecated. Calls AbstractBindingWsdl4jDefinitionBuilder.populateBinding(Binding, PortType) , creates SOAP12Binding , and calls populateSoapBinding(SOAP12Binding) . |
protected void |
populateBindingFault(BindingFault bindingFault,
Fault fault)
Deprecated. Creates a SOAP12Body , and calls populateSoapBody(SOAP12Body) . |
protected void |
populateBindingInput(BindingInput bindingInput,
Input input)
Deprecated. Creates a SOAP12Body , and calls populateSoapBody(SOAP12Body) . |
protected void |
populateBindingOperation(BindingOperation bindingOperation,
Operation operation)
Deprecated. Calls AbstractBindingWsdl4jDefinitionBuilder.populateBindingOperation(BindingOperation, Operation) ,
creates a SOAP12Operation , and calls populateSoapOperation(SOAP12Operation) . |
protected void |
populateBindingOutput(BindingOutput bindingOutput,
Output output)
Deprecated. Creates a SOAP12Body , and calls populateSoapBody(SOAP12Body) . |
protected void |
populateDefinition(Definition definition)
Deprecated. Adds the WSDL SOAP namespace to the definition. |
protected void |
populatePort(Port port,
Binding binding)
Deprecated. Creates a SOAP12Address , and calls populateSoapAddress(SOAP12Address) . |
protected void |
populateSoapAddress(javax.wsdl.extensions.soap12.SOAP12Address soapAddress)
Deprecated. Called after the SOAP12Address has been created. |
protected void |
populateSoapBinding(javax.wsdl.extensions.soap12.SOAP12Binding soapBinding)
Deprecated. Called after the SOAP12Binding has been created. |
protected void |
populateSoapBody(javax.wsdl.extensions.soap12.SOAP12Body soapBody)
Deprecated. Called after the SOAP12Body has been created. |
protected void |
populateSoapFault(BindingFault bindingFault,
javax.wsdl.extensions.soap12.SOAP12Fault soapFault)
Deprecated. Called after the SOAP12Fault has been created. |
protected void |
populateSoapOperation(javax.wsdl.extensions.soap12.SOAP12Operation soapOperation)
Deprecated. Called after the SOAP12Operation has been created. |
void |
setLocationUri(String locationUri)
Deprecated. Sets the value used for the soap12:address location attribute value. |
void |
setTransportUri(String transportUri)
Deprecated. Sets the value used for the soap12: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 AbstractSoap12Wsdl4jDefinitionBuilder()
Method Detail |
---|
public void setTransportUri(String transportUri)
SOAP12Binding.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 SOAP12Binding
, and calls populateSoapBinding(SOAP12Binding)
.
populateBinding
in class AbstractBindingWsdl4jDefinitionBuilder
binding
- the WSDL4J Binding
portType
- the corresponding PortType
WSDLException
- in case of errorsprotected void populateSoapBinding(javax.wsdl.extensions.soap12.SOAP12Binding soapBinding) throws WSDLException
SOAP12Binding
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 SOAP12Binding
WSDLException
- in case of errorsSOAP12Binding.setStyle(String)
,
SOAP12Binding.setTransportURI(String)
,
setTransportUri(String)
,
DEFAULT_TRANSPORT_URI
protected void populateBindingOperation(BindingOperation bindingOperation, Operation operation) throws WSDLException
AbstractBindingWsdl4jDefinitionBuilder.populateBindingOperation(BindingOperation, Operation)
,
creates a SOAP12Operation
, and calls populateSoapOperation(SOAP12Operation)
.
populateBindingOperation
in class AbstractBindingWsdl4jDefinitionBuilder
bindingOperation
- the WSDL4J BindingOperation
operation
- the corresponding WSDL4J Operation
WSDLException
- in case of errorsprotected void populateSoapOperation(javax.wsdl.extensions.soap12.SOAP12Operation soapOperation) throws WSDLException
SOAP12Operation
has been created.
Default implementation set the SOAPAction
uri to an empty string.
soapOperation
- the WSDL4J SOAP12Operation
WSDLException
- in case of errorsSOAP12Operation.setSoapActionURI(String)
protected void populateBindingInput(BindingInput bindingInput, Input input) throws WSDLException
SOAP12Body
, and calls populateSoapBody(SOAP12Body)
.
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
SOAP12Body
, and calls populateSoapBody(SOAP12Body)
.
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
SOAP12Body
, and calls populateSoapBody(SOAP12Body)
.
populateBindingFault
in class AbstractBindingWsdl4jDefinitionBuilder
bindingFault
- the WSDL4J BindingFault
fault
- the corresponding WSDL4J Fault
WSDLException
- in case of errorsprotected void populateSoapBody(javax.wsdl.extensions.soap12.SOAP12Body soapBody) throws WSDLException
SOAP12Body
has been created. Default implementation sets the use style to
"literal"
. Subclasses can override this behavior.
soapBody
- the WSDL4J SOAP12Body
WSDLException
- in case of errorsSOAP12Body.setUse(String)
protected void populateSoapFault(BindingFault bindingFault, javax.wsdl.extensions.soap12.SOAP12Fault soapFault) throws WSDLException
SOAP12Fault
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 errorsSOAP12Fault.setUse(String)
protected void populatePort(Port port, Binding binding) throws WSDLException
SOAP12Address
, and calls populateSoapAddress(SOAP12Address)
.
populatePort
in class AbstractBindingWsdl4jDefinitionBuilder
port
- the WSDL4J Port
binding
- the corresponding WSDL4J Binding
WSDLException
- in case of errorsprotected void populateSoapAddress(javax.wsdl.extensions.soap12.SOAP12Address soapAddress) throws WSDLException
SOAP12Address
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 errorsSOAP12Address.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 |