Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.soa.esb.actions.soap
Class MBeanSoapUIInvoker

    java.lang.Object
      org.jboss.soa.esb.actions.soap.MBeanSoapUIInvoker

All Implemented Interfaces:
  SoapUIInvoker

    public class MBeanSoapUIInvoker

extends java.lang.Object
implements SoapUIInvoker

Invoker the soapui-client Service.

Author:
  tom.fennelly@jboss.com

Constructor Summary
`MBeanSoapUIInvoker()`

Method Summary
`java.lang.String` | `buildRequest(java.lang.String wsdl, java.lang.String operation, 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` | `getEndpoint(java.lang.String wsdl, java.util.Properties httpClientProps)` Get the 1st endpoint from the specified WSDL.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MBeanSoapUIInvoker

    public MBeanSoapUIInvoker()

Method Detail

### buildRequest

    public java.lang.String buildRequest(java.lang.String wsdl,
                                         java.lang.String operation,
                                         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

  Build a SOAP request for the specified operation on the specified WSDL.

  Specified by:
    `buildRequest` in interface `SoapUIInvoker`
  Parameters:
    `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
  Returns:
    The SOAP Message.
  Throws:
    `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.

### getEndpoint

    public java.lang.String getEndpoint(java.lang.String wsdl,
                                        java.util.Properties httpClientProps)
                                 throws java.io.IOException

  Get the 1st endpoint from the specified WSDL.

  Specified by:
    `getEndpoint` in interface `SoapUIInvoker`
  Parameters:
    `wsdl` - WSDL URL.
    `httpClientProps` - `HttpClient` creation properties.
  Returns:
    The operation endpoint URL.
  Throws:
    `java.io.IOException` - Failed to load WSDL.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD