|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.net.soap.SoapExchange
public class SoapExchange
Allows you to configure, build, and run a SOAP web service XML exchange.
This is a low-level implementation of SOAP; it expects you to have generated the entire SOAP message yourself and that you will parse the response yourself. It takes care of connecting, sending the request, and receiving the response. Various input and output methods are available - streams, files, or strings.
Copyright 2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
SoapExchange()
|
|
SoapExchange(java.io.InputStream inStream)
|
|
SoapExchange(SoapRequest inReader)
|
|
SoapExchange(SoapRequest inReader,
SoapResponse inWriter)
|
|
SoapExchange(java.lang.String inString)
|
|
SoapExchange(VfsFile inFile)
|
|
| Method Summary | |
|---|---|
void |
exchange()
Do the actual exchange. |
java.lang.String |
getResponseAsString()
Get the response as a string. |
void |
parseResponseWith(XmlActor responseActor)
Sets an actor that will be used to parse the response. |
void |
setAction(java.lang.String newAction)
Set the SOAP Action. |
void |
setRequestReader(SoapRequest inRequestReader)
Sets the inputstream |
void |
setTimeout(Duration newTimeout)
Set the timeout duration. |
void |
setUrl(java.net.URL newUrl)
Sets the SOAP URL. |
void |
setUrlString(java.lang.String newUrlString)
Sets the SOAP URL from a String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoapExchange()
public SoapExchange(VfsFile inFile)
throws java.io.IOException
java.io.IOExceptionpublic SoapExchange(java.io.InputStream inStream)
public SoapExchange(java.lang.String inString)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic SoapExchange(SoapRequest inReader)
public SoapExchange(SoapRequest inReader,
SoapResponse inWriter)
| Method Detail |
|---|
public void exchange()
throws java.io.IOException
java.io.IOExceptionpublic void setRequestReader(SoapRequest inRequestReader)
public void parseResponseWith(XmlActor responseActor)
public void setUrl(java.net.URL newUrl)
public void setUrlString(java.lang.String newUrlString)
public void setAction(java.lang.String newAction)
public void setTimeout(Duration newTimeout)
public java.lang.String getResponseAsString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||