|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bowstreet.util.soap.GenericSoapRequest
com.bowstreet.util.soap.SOAPRequest
public class SOAPRequest
Utility service for issuing a SOAP request. This is a utility class for making a SOAP request over HTTP using Apache SOAP. It is used by the WebApp ServiceCall builder (see com.bowstreet.builders.webapp.methods.ServiceCallMethods for how it drives this class). Here's a typical example of how to drive this class:
SOAPRequest soapRequest = new SOAPRequest(); soapRequest.setURL("http://hosting.msugs.ch/aravindc/BookPriceComparison.asmx"); soapRequest.setMethodName("GetISBNForBookTitle"); soapRequest.setMethodNamespaceURI("http://aravindcorera.org/webservices/"); soapRequest.setSOAPAction("http://aravindcorera.org/webservices/GetISBNForBookTitle"); IXml harry = XmlUtil.parseXml("" + " "); soapRequest.addArgument("parameters", "com.bowstreet.util.IXml", harry); soapRequest.setStyle(SOAPRequest.STYLE_DOCUMENT_STYLE); IXml result = (IXml)soapRequest.invoke();Harry Potter and the Sorcerer's Stone
Field Summary |
---|
Fields inherited from class com.bowstreet.util.soap.GenericSoapRequest |
---|
SOAP_LITERAL_ENCODING, SOAP_SECTION5_ENCODING, STYLE_DOCUMENT_STYLE, STYLE_RPC_STYLE |
Constructor Summary | |
---|---|
SOAPRequest()
Constructor |
Method Summary | |
---|---|
void |
clear()
|
java.lang.String |
getRequestEnvelope()
|
java.lang.String |
getResponseEnvelope()
|
java.lang.Object |
invoke()
|
Methods inherited from class com.bowstreet.util.soap.GenericSoapRequest |
---|
addArgument, addCookie, addHeader, getAdditionalReplyValues, getInstance, getReplyHeaders, getResponseCookies, overrideHost, overridePort, saveResponseHeaders, setComplexReplyNamespace, setComplexReplyType, setDoStats, setEncodingStyle, setForceStringReturnToIXML, setHTTPHeader, setLogLevel, setMethodName, setMethodNamespaceURI, setOperationInfo, setPassword, setProxyHost, setProxyPassword, setProxyPort, setProxyUser, setReplyName, setReplyType, setSchemaNamespaceURI, setSOAPAction, setStyle, setTimeout, setURL, setUsername |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOAPRequest()
Method Detail |
---|
public void clear()
clear
in class com.bowstreet.util.soap.GenericSoapRequest
public java.lang.String getRequestEnvelope()
getRequestEnvelope
in class com.bowstreet.util.soap.GenericSoapRequest
public java.lang.String getResponseEnvelope()
getResponseEnvelope
in class com.bowstreet.util.soap.GenericSoapRequest
public java.lang.Object invoke()
invoke
in class com.bowstreet.util.soap.GenericSoapRequest
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |