|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.soa.esb.services.soapui.SoapUIClientService
public class SoapUIClientService
Soap UI Soap Client Service MBean.
| Field Summary |
|---|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
SoapUIClientService()
Public default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
buildFault(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.lang.String faultName,
java.util.Map params,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
|
java.lang.String |
buildRequest(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.util.Map params,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
Build a SOAP request for the specified operation on the specified WSDL. |
java.lang.String |
buildResponse(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.util.Map params,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
Use soapUI to build a SOAP response for the specified operation on the specified WSDL. |
java.lang.String |
getContentType(java.lang.String wsdl,
java.lang.String serviceName,
java.util.Properties httpClientProps)
Get the Content Type for the appropriate SOAP version of the 1st interface from the specified WSDL. |
java.lang.String |
getEndpoint(java.lang.String wsdl,
java.lang.String serviceName,
java.util.Properties httpClientProps)
Get the 1st endpoint from the specified WSDL. |
protected com.eviware.soapui.model.iface.Operation |
getOperation(java.lang.String wsdl,
java.lang.String operationName,
java.lang.String serviceName,
java.util.Properties httpClientProps,
boolean refresh)
|
java.lang.String |
getPropertyFile()
Get the property file. |
java.lang.String |
getSchemas()
Get the additional schema resources. |
java.lang.String |
getServerDataDir()
|
java.lang.String |
mergeResponseTemplate(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.lang.String response,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
Use soapUI to Merge a SOAP response for the specified operation on the specified WSDL with its template. |
void |
setPropertyFile(java.lang.String propertyFile)
Set the property file. |
void |
setSchemas(java.lang.String schemas)
Set the additional schemes. |
void |
setServerDataDir(java.lang.String datadir)
|
protected void |
startService()
|
protected void |
stopService()
|
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Constructor Detail |
|---|
public SoapUIClientService()
throws ConfigurationException
ConfigurationException| Method Detail |
|---|
protected void startService()
throws java.lang.Exception
startService in class org.jboss.system.ServiceMBeanSupportjava.lang.Exception
protected void stopService()
throws java.lang.Exception
stopService in class org.jboss.system.ServiceMBeanSupportjava.lang.Exceptionpublic java.lang.String getPropertyFile()
getPropertyFile in interface SoapUIClientServiceMBeanpublic void setPropertyFile(java.lang.String propertyFile)
setPropertyFile in interface SoapUIClientServiceMBeanpropertyFile - The name of the property file being used.public java.lang.String getSchemas()
getSchemas in interface SoapUIClientServiceMBeanpublic void setSchemas(java.lang.String schemas)
setSchemas in interface SoapUIClientServiceMBeanschemas - The additional schema resources to setup for SoapUI.
This needs support through the soapui-settings.xml filesetPropertyFile
public java.lang.String buildRequest(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.util.Map params,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
throws java.io.IOException,
java.lang.UnsupportedOperationException,
org.xml.sax.SAXException
buildRequest in interface SoapUIClientServiceMBeanwsdl - WSDL URL.operation - Operation name.serviceName - Service Name.params - Message parameter map.httpClientProps - HttpClient creation properties.smooksResource - Smooks transformation configuration resource. This is the actual
Smooks resource configuration XML, not a file name.
Null if no transformations are to be performed on the SOAP message before serializing it
for return.soapNs - optional SOAP namespace
java.io.IOException - Failed to load WSDL.
java.lang.UnsupportedOperationException - Operation not supported on specified WSDL.
org.xml.sax.SAXException - Failed to parse the SOAP UI generated request message.
public java.lang.String buildResponse(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.util.Map params,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
throws java.io.IOException,
java.lang.UnsupportedOperationException,
org.xml.sax.SAXException
buildResponse in interface SoapUIClientServiceMBeanwsdl - WSDL URLoperation - Operation name.serviceName - Service Name.params - Message parameter map.httpClientProps - HttpClient creation properties.smooksResource - Smooks transformation configuration resource file.
Null if no transformations are to be performed on the SOAP message before serializing it
for return.soapNs - optional SOAP namespace
java.io.IOException - Failed to load WSDL.
java.lang.UnsupportedOperationException - Operation not supported on specified WSDL.
org.xml.sax.SAXException - Failed to parse the SOAP UI generated request message.
public java.lang.String buildFault(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.lang.String faultName,
java.util.Map params,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
throws java.io.IOException,
java.lang.UnsupportedOperationException,
org.xml.sax.SAXException
buildFault in interface SoapUIClientServiceMBeanjava.io.IOException
java.lang.UnsupportedOperationException
org.xml.sax.SAXException
public java.lang.String getEndpoint(java.lang.String wsdl,
java.lang.String serviceName,
java.util.Properties httpClientProps)
throws java.io.IOException
getEndpoint in interface SoapUIClientServiceMBeanwsdl - WSDL URL.httpClientProps - HttpClient creation properties.serviceName - Service Name.
java.io.IOException - Failed to load WSDL.
public java.lang.String getContentType(java.lang.String wsdl,
java.lang.String serviceName,
java.util.Properties httpClientProps)
throws java.io.IOException
getContentType in interface SoapUIClientServiceMBeanwsdl - WSDL URL.httpClientProps - HttpClient creation properties.serviceName - Service Name.
java.io.IOException - Failed to load WSDL.
public java.lang.String mergeResponseTemplate(java.lang.String wsdl,
java.lang.String operation,
java.lang.String serviceName,
java.lang.String response,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
throws java.io.IOException,
java.lang.UnsupportedOperationException,
org.xml.sax.SAXException
mergeResponseTemplate in interface SoapUIClientServiceMBeanwsdl - WSDL URL.operation - Operation name.serviceName - Service Name.response - The actual response.smooksResource - Smooks transformation configuration resource file.
Null if no transformations are to be performed on the SOAP message before serializing it
for return.soapNs - optional SOAP namespace
java.io.IOException - Failed to load WSDL.
java.lang.UnsupportedOperationException - Operation not supported on specified WSDL.
org.xml.sax.SAXException - Failed to parse the SOAP UI generated request message.
protected com.eviware.soapui.model.iface.Operation getOperation(java.lang.String wsdl,
java.lang.String operationName,
java.lang.String serviceName,
java.util.Properties httpClientProps,
boolean refresh)
throws java.io.IOException
java.io.IOExceptionpublic void setServerDataDir(java.lang.String datadir)
setServerDataDir in interface SoapUIClientServiceMBeanpublic java.lang.String getServerDataDir()
getServerDataDir in interface SoapUIClientServiceMBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||