public class WsdlInterface extends AbstractInterface<WsdlInterfaceConfig>
Modifier and Type | Class and Description |
---|---|
static class |
WsdlInterface.BindingTuple |
Modifier and Type | Field and Description |
---|---|
static String |
JBOSSWS_ACTIONS |
static String |
STYLE_DOCUMENT |
static String |
STYLE_RPC |
static String |
WSTOOLS_ACTIONS |
static String |
XML_ACTIONS |
DEFINITION_PROPERTY, ENDPOINT_PROPERTY, UPDATING_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WsdlInterface(WsdlProject project,
WsdlInterfaceConfig interfaceConfig) |
Modifier and Type | Method and Description |
---|---|
void |
addExternalDependencies(List<ExternalDependency> dependencies) |
WsdlOperation |
addNewOperation(javax.wsdl.BindingOperation operation) |
DefinitionCacheConfig |
cacheDefinition(WsdlLoader loader) |
void |
deleteOperation(String bindingOperationName) |
javax.wsdl.BindingOperation |
findBindingOperation(javax.wsdl.Definition definition,
String bindingOperationName,
String inputName,
String outputName) |
List<AbstractWsdlModelItem<?>> |
getAllMessages() |
String |
getAnonymous() |
javax.wsdl.Binding |
getBinding() |
QName |
getBindingName() |
String |
getDefinition()
Return the URL for the current definition (ie a WSDL or WADL url)
|
WsdlContext |
getDefinitionContext() |
String |
getInterfaceType() |
SoapMessageBuilder |
getMessageBuilder() |
WsdlOperation |
getOperationAt(int index) |
WsdlOperation |
getOperationByName(String name) |
int |
getOperationCount() |
List<Operation> |
getOperationList() |
Map<String,Operation> |
getOperations() |
WsdlProject |
getProject()
Gets the project that this ModelItem object is part of.
|
SoapVersion |
getSoapVersion() |
String |
getStyle() |
String |
getTechnicalId() |
String |
getType() |
String |
getWsaVersion() |
WsdlContext |
getWsdlContext() |
boolean |
isCached() |
boolean |
isDefinitionShareble() |
boolean |
isUpdating() |
WsdlInterface.BindingTuple |
prepareUpdateDefinition(String url) |
void |
processPolicy(Policy policy)
Method for processing policy on interface level it should include
processing of all types of policies, but for now there's only Addressing
policy implemented
|
void |
release() |
void |
removeOperation(WsdlOperation wsdlOperation) |
void |
resolve(ResolveContext<?> context) |
void |
setAnonymous(String anonymous) |
void |
setBindingName(QName name) |
void |
setDefinition(String wsdlUrl) |
void |
setDefinition(String wsdlUrl,
boolean updateCache) |
void |
setSoapMessageBuilder(SoapMessageBuilder builder) |
void |
setSoapVersion(SoapVersion version) |
void |
setUpdating(boolean updating) |
void |
setWsaVersion(String wsAddressing) |
void |
setWsdlContext(WsdlContext wsdlContext)
Used by importer so we dont need to reload the context after importing..
|
void |
transferEndpoints(javax.wsdl.Port port) |
void |
transferOperations(javax.wsdl.Binding binding,
boolean createRequests) |
boolean |
updateDefinition(String url,
boolean createRequests) |
void |
updateDefinition(WsdlInterface.BindingTuple tuple) |
addEndpoint, addInterfaceListener, changeEndpoint, fireOperationAdded, fireOperationRemoved, fireOperationUpdated, fireRequestAdded, fireRequestRemoved, getAllOperations, getChildren, getConfig, getEndpoints, removeEndpoint, removeInterfaceListener
afterLoad, beforeSave, dependsOn, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getIcon, getId, getName, getParent, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String STYLE_DOCUMENT
public static final String STYLE_RPC
public static final String JBOSSWS_ACTIONS
public static final String WSTOOLS_ACTIONS
public static final String XML_ACTIONS
public WsdlInterface(WsdlProject project, WsdlInterfaceConfig interfaceConfig)
public WsdlOperation getOperationAt(int index)
public int getOperationCount()
public WsdlOperation addNewOperation(javax.wsdl.BindingOperation operation)
public WsdlProject getProject()
ModelItem
Workspace
object, an UnsupportedOperationException
is thrown.getProject
in interface Interface
getProject
in interface ModelItem
getProject
in class AbstractInterface<WsdlInterfaceConfig>
public void setDefinition(String wsdlUrl, boolean updateCache) throws Exception
Exception
public DefinitionCacheConfig cacheDefinition(WsdlLoader loader) throws Throwable
Throwable
public String getDefinition()
AbstractInterface
getDefinition
in class AbstractInterface<WsdlInterfaceConfig>
public String getType()
getType
in class AbstractInterface<WsdlInterfaceConfig>
public boolean isDefinitionShareble()
isDefinitionShareble
in class AbstractInterface<WsdlInterfaceConfig>
public WsdlContext getWsdlContext()
public void setWsdlContext(WsdlContext wsdlContext)
wsdlContext
- public SoapMessageBuilder getMessageBuilder()
public void setSoapMessageBuilder(SoapMessageBuilder builder)
public QName getBindingName()
public void setBindingName(QName name)
public SoapVersion getSoapVersion()
public void setSoapVersion(SoapVersion version)
public boolean updateDefinition(String url, boolean createRequests) throws Exception
Exception
public WsdlInterface.BindingTuple prepareUpdateDefinition(String url) throws Exception
Exception
public void updateDefinition(WsdlInterface.BindingTuple tuple) throws Exception
Exception
public javax.wsdl.BindingOperation findBindingOperation(javax.wsdl.Definition definition, String bindingOperationName, String inputName, String outputName)
public javax.wsdl.Binding getBinding()
public void transferOperations(javax.wsdl.Binding binding, boolean createRequests)
public void transferEndpoints(javax.wsdl.Port port)
public void deleteOperation(String bindingOperationName)
public void removeOperation(WsdlOperation wsdlOperation)
public WsdlOperation getOperationByName(String name)
public boolean isCached()
public String getStyle()
public void release()
release
in interface Releasable
release
in class AbstractInterface<WsdlInterfaceConfig>
public boolean isUpdating()
public void setUpdating(boolean updating)
public List<AbstractWsdlModelItem<?>> getAllMessages()
public void addExternalDependencies(List<ExternalDependency> dependencies)
addExternalDependencies
in class AbstractWsdlModelItem<WsdlInterfaceConfig>
public void resolve(ResolveContext<?> context)
resolve
in class AbstractWsdlModelItem<WsdlInterfaceConfig>
public String getInterfaceType()
public String getTechnicalId()
public String getWsaVersion()
public void setWsaVersion(String wsAddressing)
public void setAnonymous(String anonymous)
public String getAnonymous()
public WsdlContext getDefinitionContext()
getDefinitionContext
in interface Interface
getDefinitionContext
in class AbstractInterface<WsdlInterfaceConfig>
Copyright © 2019. All Rights Reserved.