|
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
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
The default soap:binding transport attribute value. |
Fields inherited from class org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder |
---|
logger |
Constructor Summary | |
---|---|
AbstractSoap11Wsdl4jDefinitionBuilder()
|
Method Summary | |
---|---|
protected ExtensibilityElement |
createSoapExtension(Class parentType,
String localName)
Creates a SOAP extensibility element. |
protected void |
populateBinding(Binding binding,
PortType portType)
Calls populateBindingInternal() , creates SOAPBinding , and calls
populateSoapBinding() . |
protected void |
populateBindingFault(BindingFault bindingFault,
Fault fault)
Creates a SOAPBody , and calls populateSoapBody() . |
protected void |
populateBindingInput(BindingInput bindingInput,
Input input)
Creates a SOAPBody , and calls populateSoapBody() . |
protected void |
populateBindingOperation(BindingOperation bindingOperation,
Operation operation)
Calls getBindingOperationName() , creates a SOAPOperation , and calls
populateSoapOperation() . |
protected void |
populateBindingOutput(BindingOutput bindingOutput,
Output output)
Creates a SOAPBody , and calls populateSoapBody() . |
protected void |
populateDefinition(Definition definition)
Adds the WSDL SOAP namespace to the definition. |
protected void |
populatePort(Port port,
Binding binding)
Creates a SOAPAddress , and calls populateSoapAddress() . |
protected void |
populateSoapAddress(SOAPAddress soapAddress)
Called after the SOAPAddress has been created. |
protected void |
populateSoapBinding(SOAPBinding soapBinding)
Called after the SOAPBinding has been created. |
protected void |
populateSoapBody(SOAPBody soapBody)
Called after the SOAPBody has been created. |
protected void |
populateSoapFault(BindingFault bindingFault,
SOAPFault soapFault)
Called after the SOAPFault has been created. |
protected void |
populateSoapOperation(SOAPOperation soapOperation)
Called after the SOAPOperation has been created. |
void |
setLocationUri(String locationUri)
Sets the value used for the soap:address location attribute value. |
void |
setTransportUri(String transportUri)
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
populateBindingInternal()
, creates SOAPBinding
, and calls
populateSoapBinding()
.
populateBinding
in class AbstractBindingWsdl4jDefinitionBuilder
binding
- the WSDL4J Binding
portType
- the corresponding PortType
WSDLException
- in case of errorsSOAPBinding
,
populateSoapBinding(javax.wsdl.extensions.soap.SOAPBinding)
protected 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
getBindingOperationName()
, creates a SOAPOperation
, and calls
populateSoapOperation()
.
populateBindingOperation
in class AbstractBindingWsdl4jDefinitionBuilder
bindingOperation
- the WSDL4J BindingOperation
operation
- the corresponding WSDL4J Operation
WSDLException
- in case of errorsSOAPOperation
,
populateSoapOperation(javax.wsdl.extensions.soap.SOAPOperation)
protected 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()
.
populateBindingInput
in class AbstractBindingWsdl4jDefinitionBuilder
bindingInput
- the WSDL4J BindingInput
input
- the corresponding WSDL4J Input
WSDLException
- in case of errorsSOAPOperation
,
populateSoapBody(javax.wsdl.extensions.soap.SOAPBody)
protected void populateBindingOutput(BindingOutput bindingOutput, Output output) throws WSDLException
SOAPBody
, and calls populateSoapBody()
.
populateBindingOutput
in class AbstractBindingWsdl4jDefinitionBuilder
bindingOutput
- the WSDL4J BindingOutput
output
- the corresponding WSDL4J Output
WSDLException
- in case of errorsSOAPOperation
,
populateSoapBody(javax.wsdl.extensions.soap.SOAPBody)
protected void populateBindingFault(BindingFault bindingFault, Fault fault) throws WSDLException
SOAPBody
, and calls populateSoapBody()
.
populateBindingFault
in class AbstractBindingWsdl4jDefinitionBuilder
bindingFault
- the WSDL4J BindingFault
fault
- the corresponding WSDL4J Fault
WSDLException
- in case of errorsSOAPOperation
,
populateSoapBody(javax.wsdl.extensions.soap.SOAPBody)
protected 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 errorsSOAPBody.setUse(String)
protected void populatePort(Port port, Binding binding) throws WSDLException
SOAPAddress
, and calls populateSoapAddress()
.
populatePort
in class AbstractBindingWsdl4jDefinitionBuilder
port
- the WSDL4J Port
binding
- the corresponding WSDL4J Binding
WSDLException
- in case of errorsSOAPAddress
,
populateSoapBody(javax.wsdl.extensions.soap.SOAPBody)
protected 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 |