|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SoapUIClientServiceMBean
Soap UI Soap Client Service.
Embeds the soapui tool, using it to generate a valid soap requests, as well as unmarshal response data from a valid soap response.
Field Summary |
---|
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 |
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 mockService 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 interface (for the named service) from the specified WSDL. |
java.lang.String |
getEndpoint(java.lang.String wsdl,
java.lang.String serviceName,
java.util.Properties httpClientProps)
Get the named endpoint from the specified WSDL. |
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 mockService 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)
|
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Method Detail |
---|
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
wsdl
- WSDL URL.operation
- 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.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
wsdl
- WSDL URL.operation
- Operation name.serviceName
- Service Name.params
- Message parameter map..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.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
java.io.IOException
java.lang.UnsupportedOperationException
org.xml.sax.SAXException
java.lang.String getEndpoint(java.lang.String wsdl, java.lang.String serviceName, java.util.Properties httpClientProps) throws java.io.IOException
wsdl
- WSDL URL.serviceName
- Service Name.httpClientProps
- HttpClient
creation properties.
java.io.IOException
- Failed to load WSDL.java.lang.String getContentType(java.lang.String wsdl, java.lang.String serviceName, java.util.Properties httpClientProps) throws java.io.IOException
wsdl
- WSDL URL.serviceName
- Service Name.httpClientProps
- HttpClient
creation properties.
java.io.IOException
- Failed to load WSDL.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
wsdl
- 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.java.lang.String getPropertyFile()
void setPropertyFile(java.lang.String propertyFile)
propertyFile
- The name of the property file being used.java.lang.String getSchemas()
void setSchemas(java.lang.String schemas)
schemas
- The additional schema resources to setup for SoapUI.
This needs support through the soapui-settings.xml filesetPropertyFile
java.lang.String getServerDataDir()
void setServerDataDir(java.lang.String dataDir)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |