| com.nabhinc.ws.soap.HTTPSender
HTTPSender | public class HTTPSender extends BasicHandler (Code) | | This is meant to be used on a SOAP Client to call a SOAP server.
author: Doug Davis (dug@us.ibm.com) author: Davanum Srinivas (dims@yahoo.com) |
Method Summary | |
protected void | getSocket(SocketHolder sockHolder, MessageContext msgContext, String protocol, String host, int port, int timeout, StringBuffer otherHeaders, BooleanHolder useFullURL) | public void | handleCookie(String cookieName, String setCookieName, String cookie, MessageContext msgContext) little helper function for cookies. | public void | invoke(MessageContext msgContext) |
log | protected static Log log(Code) | | |
targetURL | URL targetURL(Code) | | the url; used for error reporting
|
HTTPSender | public HTTPSender()(Code) | | |
getSocket | protected void getSocket(SocketHolder sockHolder, MessageContext msgContext, String protocol, String host, int port, int timeout, StringBuffer otherHeaders, BooleanHolder useFullURL) throws Exception(Code) | | Creates a socket connection to the SOAP server
Parameters: protocol - "http" for standard, "https" for ssl. Parameters: host - host name Parameters: port - port to connect to Parameters: otherHeaders - buffer for storing additional headers that need to be sent Parameters: useFullURL - flag to indicate if the complete URL has to be sent throws: IOException - |
handleCookie | public void handleCookie(String cookieName, String setCookieName, String cookie, MessageContext msgContext)(Code) | | little helper function for cookies. fills up the message context with
a string or an array of strings (if there are more than one Set-Cookie)
Parameters: cookieName - Parameters: setCookieName - Parameters: cookie - Parameters: msgContext - |
invoke | public void invoke(MessageContext msgContext) throws AxisFault(Code) | | invoke creates a socket connection, sends the request SOAP message and then
reads the response SOAP message back from the SOAP server
Parameters: msgContext - the messsage context throws: AxisFault - |
|
|