xsul.invoker.http
Class HttpDynamicInfosetInvoker

java.lang.Object
  extended byxsul.invoker.http.HttpDynamicInfosetInvoker
All Implemented Interfaces:
DynamicInfosetInvoker
Direct Known Subclasses:
SoapHttpDynamicInfosetInvoker

public class HttpDynamicInfosetInvoker
extends java.lang.Object
implements DynamicInfosetInvoker

This class allows to send XML to HTTP endpoint. Simply set endpoint location and execute invoke*().

Version:
$Revision: 1.15 $
Author:
Aleksander Slominski

Constructor Summary
HttpDynamicInfosetInvoker()
           
HttpDynamicInfosetInvoker(ClientSocketFactory socketFactory)
           
HttpDynamicInfosetInvoker(HttpClientConnectionManager connMgr)
           
HttpDynamicInfosetInvoker(java.lang.String locationUrl)
           
 
Method Summary
 HttpClientConnectionManager getConnectionManager()
           
 java.lang.String getLocation()
           
 HttpClientConnectionManager getSecureConnectionManager()
           
 XmlDocument invokeXml(XmlDocument input)
          Invoke Web Service by sending XML document and returning back XML document.
 void setKeepAlive(boolean enable)
           
 void setLocation(java.lang.String url)
           
 void setSecureConnectionManager(HttpClientConnectionManager secureConnMgr)
           
 void setSoapAction(java.lang.String soapAction)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpDynamicInfosetInvoker

public HttpDynamicInfosetInvoker()

HttpDynamicInfosetInvoker

public HttpDynamicInfosetInvoker(ClientSocketFactory socketFactory)

HttpDynamicInfosetInvoker

public HttpDynamicInfosetInvoker(HttpClientConnectionManager connMgr)

HttpDynamicInfosetInvoker

public HttpDynamicInfosetInvoker(java.lang.String locationUrl)
                          throws DynamicInfosetInvokerException
Method Detail

getLocation

public java.lang.String getLocation()

setLocation

public void setLocation(java.lang.String url)

setSoapAction

public void setSoapAction(java.lang.String soapAction)

setKeepAlive

public void setKeepAlive(boolean enable)

getConnectionManager

public HttpClientConnectionManager getConnectionManager()

getSecureConnectionManager

public HttpClientConnectionManager getSecureConnectionManager()

setSecureConnectionManager

public void setSecureConnectionManager(HttpClientConnectionManager secureConnMgr)

invokeXml

public XmlDocument invokeXml(XmlDocument input)
                      throws DynamicInfosetInvokerException
Invoke Web Service by sending XML document and returning back XML document.

Specified by:
invokeXml in interface DynamicInfosetInvoker
Throws:
DynamicInfosetInvokerException


IU Extreme! Lab (http://www.extreme.indiana.edu)