com.ibm.ccd.ui.mediator
Class SoapInvoker
java.lang.Object
com.ibm.ccd.ui.mediator.SoapInvoker
public class SoapInvoker
- extends java.lang.Object
Provides the support for the SOAP calls made on WPC
Uses Axis API and supports attacments(in doc mode), rpc and doc. modes
Field Summary |
static java.lang.String |
COMP_NAME
|
Method Summary |
static SoapResponse |
invokeSoapWithMOM(java.lang.String url,
java.lang.String requestMsg,
Attachment attachment)
SOAP call mode using DOC. |
static SoapResponse |
invokeSoapWithMOM(java.lang.String url,
java.lang.String requestMsg,
Attachment attachment,
java.lang.String wpcSessionID)
SOAP call mode using DOC. |
static java.lang.Object |
invokeSoapWithRPC(java.lang.String url,
java.lang.String opNamespace,
java.lang.String opName,
java.lang.Object[] params)
SOAP call made over RPC |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMP_NAME
public static final java.lang.String COMP_NAME
- See Also:
- Constant Field Values
SoapInvoker
public SoapInvoker()
invokeSoapWithRPC
public static java.lang.Object invokeSoapWithRPC(java.lang.String url,
java.lang.String opNamespace,
java.lang.String opName,
java.lang.Object[] params)
throws javax.xml.rpc.ServiceException,
java.net.MalformedURLException,
java.rmi.RemoteException
- SOAP call made over RPC
- Parameters:
url
- - EndPoint addressopNamespace
- - Operation SOAP namespaceopName
- - Operation Nameparams
- - Operation parameters
- Throws:
javax.xml.rpc.ServiceException
java.net.MalformedURLException
java.rmi.RemoteException
invokeSoapWithMOM
public static SoapResponse invokeSoapWithMOM(java.lang.String url,
java.lang.String requestMsg,
Attachment attachment)
throws javax.xml.rpc.ServiceException,
java.net.MalformedURLException,
org.apache.axis.AxisFault
- SOAP call mode using DOC. literal mode and supports attachements
- Throws:
javax.xml.rpc.ServiceException
java.net.MalformedURLException
org.apache.axis.AxisFault
invokeSoapWithMOM
public static SoapResponse invokeSoapWithMOM(java.lang.String url,
java.lang.String requestMsg,
Attachment attachment,
java.lang.String wpcSessionID)
throws javax.xml.rpc.ServiceException,
java.net.MalformedURLException,
org.apache.axis.AxisFault
- SOAP call mode using DOC. literal mode and supports attachements
- Throws:
javax.xml.rpc.ServiceException
java.net.MalformedURLException
org.apache.axis.AxisFault