|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.control.LyController
leon.control.LyAreaController
leon.control.LyUserInputController
leon.control.LyWebServiceController
public class LyWebServiceController
Implementation for web service controller
Nested Class Summary | |
---|---|
class |
LyWebServiceController.LyWebServiceMetaModel
Extension of LyMetamodel to build the web service model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static int |
FIELD_TYPE_ARRAY
FIELD TYPE ARRAY |
static int |
FIELD_TYPE_CHOICE
FIELD TYPE CHOICE |
static int |
FIELD_TYPE_DATE
FIELD TYPE DATE |
static int |
FIELD_TYPE_FILE
FIELD TYPE FILE |
static int |
FIELD_TYPE_NUMBER
FIELD TYPE NUMBER |
static int |
FIELD_TYPE_RELATION
FIELD TYPE RELATION |
static int |
FIELD_TYPE_STRUCT
FIELD TYPE STRUCT |
static int |
FIELD_TYPE_TEXT
FIELD TYPE TEXT |
Fields inherited from class leon.control.LyAreaController |
---|
DEFAULT_MENU_ITEM_IMAGE_SIZE, DEMAND_APPLY, DEMAND_CANCEL, DEMAND_CLOSE, DEMAND_CREATE_CHART, DEMAND_DELETE_CHART, DEMAND_DELETE_OBJECTINFOS, DEMAND_DELETE_PREFERENCE, DEMAND_UPDATE_VIEW, DEMAND_VALIDATE |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyWebServiceController(LySession session,
LyController parent,
LyAction action)
Constructor LyWebServiceController |
|
LyWebServiceController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo)
Constructor LyWebServiceController |
|
LyWebServiceController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList context)
Constructor LyWebServiceController |
|
LyWebServiceController(LySession session,
LyController parent,
LyAction action,
LyObjectList context)
Constructor LyWebServiceController |
Method Summary | |
---|---|
void |
addNewAttribute(java.lang.String name)
Add attribute to the list of attributes of the selected operation. |
void |
createModelClassInfo()
Create the model classInfo. |
void |
createWsdlDefinition(java.lang.String wsdlUrl)
Read the WDSL and create the definition. |
javax.wsdl.Definition |
createWsdlDefinitionTwo(java.lang.String wsdlUrl)
Read the WSDL and create the definition. |
void |
freeClassInfo()
freeClassInfo Free the created class info use to show the web services result. |
java.util.Hashtable<java.lang.String,java.lang.String> |
getAttributesList()
Get the list of attributes of the selected operation. |
java.util.List<java.lang.String> |
getListOfNameSpaces()
Get the list of name spaces from the WSDL definition |
java.util.Map<java.lang.String,java.lang.String> |
getListOfOperationAttribute()
Get list attributes of the selected operation. |
java.util.Map<java.lang.String,java.lang.String> |
getListOfOperationAttribute(javax.wsdl.Operation operation)
Get list attributes of a given operation name. |
java.util.Map<java.lang.String,java.lang.String> |
getListOfOperationAttributeOutPut(javax.wsdl.Operation operation)
Get list attributes of a given operation name. |
java.util.List<java.lang.String> |
getListOfOperations()
Get the list of operations from the wsdl definition |
java.util.List<java.lang.String> |
getListOfPorts()
Get the list of Ports from the WSDL definition |
java.util.List<java.lang.String> |
getListOfServices()
Get the list of services from the wsdl definition |
javax.wsdl.Operation |
getOperation()
Get the selected operation. |
javax.wsdl.Operation |
getOperation(java.lang.String operationName)
Search and return the ight operation by a given name. |
javax.wsdl.Port |
getPort()
Get the selected operation. |
javax.wsdl.Service |
getService()
Get the selected service. |
java.lang.String |
getTargetNameSpace()
Get the selected target namespace |
java.lang.String |
getWsdlUrl()
Return the url of the WSDL. |
void |
invokeWebService(java.util.Hashtable<java.lang.String,java.lang.String> parametersList,
java.lang.String operationName)
invokeWebService Invoke the selected WebService. |
void |
putAttributeValue(java.lang.String name,
java.lang.String value)
Add attribute to the list of attributes of the selected operation. |
void |
selectOperation(java.lang.String operationName)
Set the operation by name. |
void |
selectPort(java.lang.String portName)
Select the port to use. |
void |
selectService(java.lang.String service)
Select the service to use. |
void |
setOperation(javax.wsdl.Operation operation)
Set the selected operation. |
void |
setPort(javax.wsdl.Port port)
Set the selected port. |
void |
setService(javax.wsdl.Service service)
Set the service. |
void |
setTargetNameSpace(java.lang.String targetNameSpace)
Set the target namespace to use |
void |
setWsdlUrl(java.lang.String wsdlUrl)
Set the url of the WSDL. |
Methods inherited from class leon.control.LyUserInputController |
---|
actionDemand, addBoolean, addBoolean, addChoice, addChoice, addDate, addDate, addFile, addFile, addLabel, addLabel, addList, addList, addNumber, addNumber, addRelation, addRelation, addText, addText, addText, getBehaviorInterface, getClassInfo, getComponent, getFormComponent, getImage, getInputId, getTitleBar, getViewController, isDialog, isViewResizable, reset, setBehavior, setBuilder, setDialog, setImage, setInputId, setTitleBar |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, selectionDemand, setBuilderClass, setLastModified, setName, setUserData, showError, showError, showWarning, updateViewFromValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int FIELD_TYPE_ARRAY
public static int FIELD_TYPE_CHOICE
public static int FIELD_TYPE_DATE
public static int FIELD_TYPE_FILE
public static int FIELD_TYPE_NUMBER
public static int FIELD_TYPE_RELATION
public static int FIELD_TYPE_STRUCT
public static int FIELD_TYPE_TEXT
Constructor Detail |
---|
public LyWebServiceController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList context)
session
- parent
- action
- classInfo
- context
- public LyWebServiceController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo)
session
- parent
- action
- classInfo
- public LyWebServiceController(LySession session, LyController parent, LyAction action)
session
- parent
- action
- public LyWebServiceController(LySession session, LyController parent, LyAction action, LyObjectList context)
session
- parent
- action
- context
- Method Detail |
---|
public java.lang.String getWsdlUrl()
public void setWsdlUrl(java.lang.String wsdlUrl)
wsdlUrl
- public void createWsdlDefinition(java.lang.String wsdlUrl)
wsdlUrl
- The wsdl location.public javax.wsdl.Definition createWsdlDefinitionTwo(java.lang.String wsdlUrl)
wsdlUrl
- The wsdl location.
public java.util.List<java.lang.String> getListOfNameSpaces()
public java.util.List<java.lang.String> getListOfPorts()
public void selectPort(java.lang.String portName)
portName
- the port to usepublic java.util.List<java.lang.String> getListOfOperations()
public java.util.List<java.lang.String> getListOfServices()
public void selectService(java.lang.String service)
service
- the service to usepublic java.util.Map<java.lang.String,java.lang.String> getListOfOperationAttribute()
public java.util.Map<java.lang.String,java.lang.String> getListOfOperationAttribute(javax.wsdl.Operation operation)
operation
- operation
public java.util.Map<java.lang.String,java.lang.String> getListOfOperationAttributeOutPut(javax.wsdl.Operation operation)
operation
- operation
public void selectOperation(java.lang.String operationName)
operationName
- public javax.wsdl.Operation getOperation(java.lang.String operationName)
operationName
-
public void addNewAttribute(java.lang.String name)
name
- public void putAttributeValue(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic void invokeWebService(java.util.Hashtable<java.lang.String,java.lang.String> parametersList, java.lang.String operationName)
parametersList
- operationName
- public void createModelClassInfo()
public void freeClassInfo()
public javax.wsdl.Service getService()
public void setService(javax.wsdl.Service service)
service
- the service to usepublic java.lang.String getTargetNameSpace()
public void setTargetNameSpace(java.lang.String targetNameSpace)
targetNameSpace
- public javax.wsdl.Port getPort()
public void setPort(javax.wsdl.Port port)
port
- the port to selectpublic javax.wsdl.Operation getOperation()
public void setOperation(javax.wsdl.Operation operation)
operation
- The operation to selectpublic java.util.Hashtable<java.lang.String,java.lang.String> getAttributesList()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |