public class SOAPMessageComposer extends BaseMessageComposer<SOAPBindingData>
| Constructor and Description |
|---|
SOAPMessageComposer() |
| Modifier and Type | Method and Description |
|---|---|
Message |
compose(SOAPBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
SOAPBindingData |
decompose(Exchange exchange,
SOAPBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
javax.wsdl.Port |
getWsdlPort()
Get the WSDL Port used by this message composer.
|
Boolean |
isCopyNamespaces()
Check if composer has set copyNamespaces.
|
Boolean |
isDocumentStyle()
Check if the WSDL used is of 'document' style.
|
Boolean |
isMtomEnabled()
Check if MTOM is enabled.
|
Boolean |
isUnwrapped()
Check if composer has set unwrap.
|
Boolean |
isXopExpand()
Check if XOP message should expanded.
|
void |
setCopyNamespaces(Boolean copyNamespaces)
Set copyNamespaces flag.
|
void |
setDocumentStyle(Boolean style)
Set that the WSDL used is of 'document' style.
|
void |
setMtomEnabled(Boolean enabled)
Set MTOM enabled/disabled.
|
void |
setUnwrapped(Boolean unwrapped)
Set unwrap flag.
|
void |
setWsdlPort(javax.wsdl.Port wsdlPort)
Set the WSDL Port used by this message composer.
|
void |
setXopExpand(Boolean expand)
Set XOP expansion.
|
getContextMapper, getMessageType, setContextMapperpublic Message compose(SOAPBindingData source, Exchange exchange) throws Exception
source - the source objectexchange - the exchange to useException - if a problem happenspublic SOAPBindingData decompose(Exchange exchange, SOAPBindingData target) throws Exception
exchange - the exchange to usetarget - the target objectException - if a problem happenspublic javax.wsdl.Port getWsdlPort()
public void setWsdlPort(javax.wsdl.Port wsdlPort)
wsdlPort - WSDL portpublic Boolean isDocumentStyle()
public void setDocumentStyle(Boolean style)
style - true or falsepublic Boolean isMtomEnabled()
public void setMtomEnabled(Boolean enabled)
enabled - true or falsepublic Boolean isXopExpand()
public void setXopExpand(Boolean expand)
expand - true or falsepublic Boolean isUnwrapped()
public void setUnwrapped(Boolean unwrapped)
unwrapped - true or falsepublic Boolean isCopyNamespaces()
public void setCopyNamespaces(Boolean copyNamespaces)
copyNamespaces - true or falseCopyright © 2013–2018 JBoss by Red Hat. All rights reserved.