|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.actions.soap.MBeanSoapUIInvoker
public class MBeanSoapUIInvoker
Invoker the soapui-client Service.
Constructor Summary | |
---|---|
MBeanSoapUIInvoker()
|
Method Summary | |
---|---|
java.lang.String |
buildFault(java.lang.String wsdl,
java.lang.String operation,
java.lang.String wServiceName,
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 wServiceName,
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 wServiceName,
java.util.Map params,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
Build a SOAP response for the specified operation on the specified WSDL. |
java.lang.String |
getContentType(java.lang.String wsdl,
java.lang.String wServiceName,
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 wServiceName,
java.util.Properties httpClientProps)
Get the 1st endpoint from the specified WSDL. |
java.lang.String |
mergeResponseTemplate(java.lang.String wsdl,
java.lang.String operation,
java.lang.String wServiceName,
java.lang.String response,
java.util.Properties httpClientProps,
java.lang.String smooksResource,
java.lang.String soapNs)
Merge a SOAP response for the specified operation on the specified WSDL with its template. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MBeanSoapUIInvoker()
Method Detail |
---|
public java.lang.String buildRequest(java.lang.String wsdl, java.lang.String operation, java.lang.String wServiceName, 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 SoapUIInvoker
wsdl
- WSDL URL.operation
- Operation 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
- the SOAP namespace. If null one of the defaults will be used:
http://schemas.xmlsoap.org/soap/envelope/
http://www.w3.org/2003/05/soap-envelope
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 wServiceName, 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 SoapUIInvoker
wsdl
- WSDL URL.operation
- Operation 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
- the SOAP namespace. If null one of the defaults will be used:
http://schemas.xmlsoap.org/soap/envelope/
http://www.w3.org/2003/05/soap-envelope
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 wServiceName, 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 SoapUIInvoker
java.io.IOException
java.lang.UnsupportedOperationException
org.xml.sax.SAXException
public java.lang.String getEndpoint(java.lang.String wsdl, java.lang.String wServiceName, java.util.Properties httpClientProps) throws java.io.IOException
getEndpoint
in interface SoapUIInvoker
wsdl
- WSDL URL.httpClientProps
- HttpClient
creation properties.
java.io.IOException
- Failed to load WSDL.public java.lang.String getContentType(java.lang.String wsdl, java.lang.String wServiceName, java.util.Properties httpClientProps) throws java.io.IOException
getContentType
in interface SoapUIInvoker
wsdl
- WSDL URL.httpClientProps
- HttpClient
creation properties.
java.io.IOException
- Failed to load WSDL.public java.lang.String mergeResponseTemplate(java.lang.String wsdl, java.lang.String operation, java.lang.String wServiceName, 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 SoapUIInvoker
wsdl
- WSDL URL.operation
- Operation name.response
- The actual response.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
- the SOAP namespace. If null one of the defaults will be used:
http://schemas.xmlsoap.org/soap/envelope/
http://www.w3.org/2003/05/soap-envelope
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |