|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.xmla.SoapUtil
public class SoapUtil
static SOAP utility methods
Field Summary | |
---|---|
static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
---|---|
SoapUtil()
|
Method Summary | |
---|---|
static void |
addParameterList(javax.xml.soap.SOAPEnvelope envelope,
javax.xml.soap.SOAPElement eParent,
java.lang.String typeName,
java.lang.String listName,
java.util.Map params)
add a list of Restrictions/Properties ... |
static java.net.URL |
addUserPassword(java.net.URL url,
java.lang.String user,
java.lang.String password)
|
static javax.xml.soap.SOAPMessage |
createDiscoverMsg(java.lang.String dataSource,
java.lang.String catalog,
java.lang.String request,
java.util.Map restrictMap)
run Discover request |
static void |
printReply(javax.xml.soap.SOAPMessage reply)
print reply to output to System.out |
static boolean |
soapFault(javax.xml.soap.SOAPMessage reply,
java.lang.String[] faults)
check SOAP reply for Error, return fault Code |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Logger logger
Constructor Detail |
---|
public SoapUtil()
Method Detail |
---|
public static void addParameterList(javax.xml.soap.SOAPEnvelope envelope, javax.xml.soap.SOAPElement eParent, java.lang.String typeName, java.lang.String listName, java.util.Map params) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public static void printReply(javax.xml.soap.SOAPMessage reply) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public static javax.xml.soap.SOAPMessage createDiscoverMsg(java.lang.String dataSource, java.lang.String catalog, java.lang.String request, java.util.Map restrictMap) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public static boolean soapFault(javax.xml.soap.SOAPMessage reply, java.lang.String[] faults) throws javax.xml.soap.SOAPException
reply
- the message to checkaReturn
- ArrayList containing faultcode,faultstring,faultactor
javax.xml.soap.SOAPException
public static java.net.URL addUserPassword(java.net.URL url, java.lang.String user, java.lang.String password)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |