org.openanzo.services.impl
Class WSUtil

java.lang.Object
  extended by org.openanzo.services.impl.WSUtil

public class WSUtil
extends java.lang.Object

Utility class for creating webservice calls and get response streams from soap responses

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
WSUtil()
           
 
Method Summary
static org.apache.axis.client.Call createCall(java.lang.String hostName, int port, java.lang.String path, java.lang.String userName, java.lang.String password, int timeout)
          Create a new SOAP call
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSUtil

public WSUtil()
Method Detail

createCall

public static org.apache.axis.client.Call createCall(java.lang.String hostName,
                                                     int port,
                                                     java.lang.String path,
                                                     java.lang.String userName,
                                                     java.lang.String password,
                                                     int timeout)
                                              throws AnzoException
Create a new SOAP call

Parameters:
hostName - Hostname for webservice
port - Port for webservice
path - Path to webservice
userName - Username for webservice
password - Password for webservice
timeout - Timeout used by transport in milliseconds
Returns:
new Axis Call object used to talk to server
Throws:
AnzoException


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.