|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.eng.rdlab.soa3.pm.connector.utils.SoapUtils
public class SoapUtils
Utilities to manage soap messages
| Constructor Summary | |
|---|---|
SoapUtils()
|
|
| Method Summary | |
|---|---|
static SOAPMessage |
generateSoapMessage(Document document)
Generates a SOAP Message object starting from a dom object |
static void |
main(String[] args)
|
static SOAPMessage |
performCall(SOAPMessage message,
String url)
Executes a SOAP call |
static String |
soapMessage2String(SOAPMessage soapMessage)
Translates a soap message object into string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoapUtils()
| Method Detail |
|---|
public static String soapMessage2String(SOAPMessage soapMessage)
throws Exception
soapMessage - a SOAP message object
Exception - if something goes wrong
public static SOAPMessage generateSoapMessage(Document document)
throws Exception
document - the dom object
SOAPException - if it is impossible to generate the SOAP object
Exception - if something goes wrong
public static SOAPMessage performCall(SOAPMessage message,
String url)
throws UnsupportedOperationException,
SOAPException
message - the messageurl - the target url
UnsupportedOperationException
SOAPException
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||