com.eviware.soapui.impl.wsdl
Class WsdlInterface
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.InterfaceConfig>
com.eviware.soapui.impl.wsdl.WsdlInterface
- All Implemented Interfaces:
- Interface, ModelItem, PropertyChangeNotifier
public class WsdlInterface
- extends AbstractWsdlModelItem<com.eviware.soapui.config.InterfaceConfig>
- implements Interface
WSDL implementation of Interface, maps to a WSDL Binding
- Author:
- Ole.Matzura
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem |
getConfig, getDescription, getIcon, getName, getParent, getSettings, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettings |
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem |
addAction, addAction, addPropertyChangeListener, addPropertyChangeListener, getActions, getPanelBuilder, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STYLE_DOCUMENT
public static final java.lang.String STYLE_DOCUMENT
- See Also:
- Constant Field Values
STYLE_RPC
public static final java.lang.String STYLE_RPC
- See Also:
- Constant Field Values
JBOSSWS_ACTIONS
public static final java.lang.String JBOSSWS_ACTIONS
- See Also:
- Constant Field Values
WSTOOLS_ACTIONS
public static final java.lang.String WSTOOLS_ACTIONS
- See Also:
- Constant Field Values
XML_ACTIONS
public static final java.lang.String XML_ACTIONS
- See Also:
- Constant Field Values
WsdlInterface
public WsdlInterface(WsdlProject project,
com.eviware.soapui.config.InterfaceConfig interfaceConfig)
getGenerateActions
public DefaultActionList getGenerateActions()
getEndpoints
public java.lang.String[] getEndpoints()
- Specified by:
getEndpoints
in interface Interface
getOperationAt
public WsdlOperation getOperationAt(int index)
- Specified by:
getOperationAt
in interface Interface
getOperationCount
public int getOperationCount()
- Specified by:
getOperationCount
in interface Interface
addNewOperation
public WsdlOperation addNewOperation(javax.wsdl.BindingOperation operation)
getProject
public WsdlProject getProject()
- Specified by:
getProject
in interface Interface
addEndpoint
public void addEndpoint(java.lang.String endpoint)
- Specified by:
addEndpoint
in interface Interface
changeEndpoint
public void changeEndpoint(java.lang.String oldEndpoint,
java.lang.String newEndpoint)
- Specified by:
changeEndpoint
in interface Interface
removeEndpoint
public void removeEndpoint(java.lang.String endpoint)
- Specified by:
removeEndpoint
in interface Interface
setDefinition
public void setDefinition(java.lang.String wsdlUrl,
boolean cache)
cacheDefinition
public com.eviware.soapui.config.DefinitionCacheConfig cacheDefinition(WsdlLoader loader)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDefinition
public java.lang.String getDefinition()
- Specified by:
getDefinition
in interface Interface
getWsdlContext
public WsdlContext getWsdlContext()
- Specified by:
getWsdlContext
in interface Interface
setWsdlContext
public void setWsdlContext(WsdlContext wsdlContext)
- Used by importer so we dont need to reload the context after importing..
- Parameters:
wsdlContext
-
getMessageBuilder
public SoapMessageBuilder getMessageBuilder()
- Specified by:
getMessageBuilder
in interface Interface
setSoapMessageBuilder
public void setSoapMessageBuilder(SoapMessageBuilder builder)
getBindingName
public javax.xml.namespace.QName getBindingName()
- Specified by:
getBindingName
in interface Interface
setBindingName
public void setBindingName(javax.xml.namespace.QName name)
getSoapVersion
public SoapVersion getSoapVersion()
setSoapVersion
public void setSoapVersion(SoapVersion version)
updateDefinition
public boolean updateDefinition(java.lang.String url,
boolean createRequests)
throws java.lang.Exception
- Throws:
java.lang.Exception
fireOperationAdded
public void fireOperationAdded(WsdlOperation operation)
fireOperationUpdated
public void fireOperationUpdated(WsdlOperation operation)
fireOperationRemoved
public void fireOperationRemoved(WsdlOperation operation)
fireRequestAdded
public void fireRequestAdded(WsdlRequest request)
fireRequestRemoved
public void fireRequestRemoved(WsdlRequest request)
addInterfaceListener
public void addInterfaceListener(InterfaceListener listener)
- Specified by:
addInterfaceListener
in interface Interface
removeInterfaceListener
public void removeInterfaceListener(InterfaceListener listener)
- Specified by:
removeInterfaceListener
in interface Interface
getEndpointURL
public java.lang.String getEndpointURL(java.lang.String endpoint)
- Gets the endpoint url for the specified endpoint (which may be a label)
- Parameters:
endpoint
- the endpoint to get for
- Returns:
- the endpoints url
getOperationByName
public WsdlOperation getOperationByName(java.lang.String name)
- Specified by:
getOperationByName
in interface Interface
isCached
public boolean isCached()
- Specified by:
isCached
in interface Interface
createWsdlLoader
public WsdlLoader createWsdlLoader()
- Specified by:
createWsdlLoader
in interface Interface
clearCache
public void clearCache()
getStyle
public java.lang.String getStyle()
release
public void release()
- Overrides:
release
in class AbstractWsdlModelItem<com.eviware.soapui.config.InterfaceConfig>
getOperations
public java.util.List<Operation> getOperations()
- Specified by:
getOperations
in interface Interface
Copyright © 2005-2007 eviware.com. All Rights Reserved.