|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.orchestra.ws.WSDeployer
org.ow2.orchestra.axis.AxisDeployer
public class AxisDeployer
Axis engine WS deployer.
| Field Summary | |
|---|---|
static java.lang.String |
ANT_ENV
utility variable to define ant environment. |
static java.lang.String |
JDK_VERSION
jdkVersion used to compile generated java files. |
static java.lang.String |
MESSAGE_STYLE
wsdd style attribute message value. |
static java.lang.String |
NEW_WSDD_SUFFIX
utility var to rename wsdd file with a suffix. |
static java.lang.String |
SCOPE
scope of the wsdd generated. |
static java.lang.String |
WSDD_DEPLOY_FILE_NAME
deploy.wsdd. |
static java.lang.String |
WSDD_NS
axis deployment namespace. |
static java.lang.String |
WSDD_SERVICE
wsdd root element name. |
static java.lang.String |
WSDD_SERVICE_PROVIDER_ATTR
wsdd root element provider attribute name. |
static java.lang.String |
WSDD_SERVICE_STYLE_ATTR
wsdd root element style attribute name. |
static java.lang.String |
WSDD_UNDEPLOY_FILE_NAME
undeploy.wsdd. |
| Fields inherited from class org.ow2.orchestra.ws.WSDeployer |
|---|
DEFAULT_SOAP_BINDING_STYLE, processQName, SOAP_HTTP_TRANSPORT_URI, URI_WSDL11_SOAP11, URI_WSDL11_SOAP12 |
| Constructor Summary | |
|---|---|
AxisDeployer(org.ow2.orchestra.definition.BpelProcess bpelProcess)
Default constructor. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
checkOperationStyle(java.lang.String operationStyle)
return null if operation style is supported by Axis engine. |
protected java.lang.String |
checkOperationType(javax.wsdl.OperationType operationType)
return null if operation type is supported by Axis engine. |
protected java.lang.String |
checkSoapBody(javax.wsdl.extensions.ExtensibilityElement soapBody)
return null if soapBody attributes are supported by Axis engine. |
protected java.lang.String |
checkSoapFault(javax.wsdl.extensions.ExtensibilityElement soapFault)
|
protected java.lang.String |
checkSoapVersion(javax.wsdl.extensions.ExtensibilityElement soapBinding)
return null if soapVersion is supported by Axis engine. |
protected java.lang.String |
checkTransport(javax.wsdl.extensions.ExtensibilityElement soapBinding)
return null if transport is supported by Axis engine. |
protected java.lang.String |
checkUse(javax.wsdl.extensions.ExtensibilityElement element)
return null if use is supported by Axis engine. |
protected void |
checkWSEngineIsAvailable()
Check if WS engine is available. |
protected void |
deployServices(java.util.List<javax.wsdl.Service> services)
This method will deploy the specified WS Service on the choosen ws engine. |
static java.lang.String |
getDirectoryFromPackage(java.lang.String packag)
Returns the directory structure corresponding to the given package. |
static java.lang.String |
getPackageFromNamespace(java.lang.String ns)
Returns the java package that maps to the given namespace. |
void |
redeployServices(java.util.List<javax.wsdl.Service> services)
|
protected void |
undeployServices(java.util.List<javax.wsdl.Service> services)
This method will undeploy the specified WS Service from the choosen ws engine. |
| Methods inherited from class org.ow2.orchestra.ws.WSDeployer |
|---|
addProblem, addProblem, addProblem, addProblem, checkBinding, checkOperation, checkSupport, deploy, getAddressFromPort, getFromList, getProcessQName, getSoapBindingFromBinding, getSoapBodyFromElement, getSoapFaultFromElement, getSoapOperationFromBindingOperation, getSOAPStyle, printProblems, setProcessQName, undeploy, verifySoapBody, verifySoapFault, verifyThereIsOnlyOnePart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String WSDD_DEPLOY_FILE_NAME
public static final java.lang.String WSDD_UNDEPLOY_FILE_NAME
public static final java.lang.String WSDD_NS
public static final java.lang.String WSDD_SERVICE
public static final java.lang.String WSDD_SERVICE_STYLE_ATTR
public static final java.lang.String WSDD_SERVICE_PROVIDER_ATTR
public static final java.lang.String MESSAGE_STYLE
public static final java.lang.String NEW_WSDD_SUFFIX
public static final java.lang.String SCOPE
public static final java.lang.String JDK_VERSION
public static final java.lang.String ANT_ENV
| Constructor Detail |
|---|
public AxisDeployer(org.ow2.orchestra.definition.BpelProcess bpelProcess)
wsId - -
id of the WS : in our case, processNamewsdlUrl - -
url of the wsdl file to deploy.orchestraDirectory - -
Absolute path to the orchestra directory.| Method Detail |
|---|
protected java.lang.String checkOperationStyle(java.lang.String operationStyle)
checkOperationStyle in class org.ow2.orchestra.ws.WSDeployeroperationStyle - -
operationStyle to check
protected java.lang.String checkOperationType(javax.wsdl.OperationType operationType)
checkOperationType in class org.ow2.orchestra.ws.WSDeployeroperationType - -
operationType to check
protected java.lang.String checkSoapVersion(javax.wsdl.extensions.ExtensibilityElement soapBinding)
checkSoapVersion in class org.ow2.orchestra.ws.WSDeployersoapBinding - -
soapBinding to check
protected java.lang.String checkTransport(javax.wsdl.extensions.ExtensibilityElement soapBinding)
checkTransport in class org.ow2.orchestra.ws.WSDeployersoapBinding - -
soapBinding to check
protected java.lang.String checkUse(javax.wsdl.extensions.ExtensibilityElement element)
checkUse in class org.ow2.orchestra.ws.WSDeployersoapBody - -
soapBody to check
protected java.lang.String checkSoapBody(javax.wsdl.extensions.ExtensibilityElement soapBody)
checkSoapBody in class org.ow2.orchestra.ws.WSDeployersoapBody - -
soapBody to check
protected java.lang.String checkSoapFault(javax.wsdl.extensions.ExtensibilityElement soapFault)
checkSoapFault in class org.ow2.orchestra.ws.WSDeployerprotected void checkWSEngineIsAvailable()
checkWSEngineIsAvailable in class org.ow2.orchestra.ws.WSDeployerprotected void deployServices(java.util.List<javax.wsdl.Service> services)
deployServices in class org.ow2.orchestra.ws.WSDeployerdef - -
Definition object that represents a WS Service to deploy.protected void undeployServices(java.util.List<javax.wsdl.Service> services)
undeployServices in class org.ow2.orchestra.ws.WSDeployerdef - -
Definition object that represents a WS Service to undeploy.public void redeployServices(java.util.List<javax.wsdl.Service> services)
public static java.lang.String getPackageFromNamespace(java.lang.String ns)
ns - -
ns
public static java.lang.String getDirectoryFromPackage(java.lang.String packag)
packag - -
packag
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||