Version: 1.1.1

ca.ucalgary.services.util
Class IOUtils

java.lang.Object
  extended by ca.ucalgary.services.util.IOUtils

public class IOUtils
extends Object


Constructor Summary
IOUtils()
           
 
Method Summary
static Node readFromConnection(HttpURLConnection conn)
          Returns the response payload from a SOAP request
static void writeToConnection(URLConnection conn, byte[] payload, String soapAction)
          Creates a SOAP envelope around the request payload
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtils

public IOUtils()
Method Detail

writeToConnection

public static void writeToConnection(URLConnection conn,
                                     byte[] payload,
                                     String soapAction)
                              throws Exception
Creates a SOAP envelope around the request payload

Throws:
Exception

readFromConnection

public static Node readFromConnection(HttpURLConnection conn)
                               throws Exception
Returns the response payload from a SOAP request

Throws:
Exception

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010