public class UDIWebServiceProcessor
extends java.lang.Object
Constructor and Description |
---|
UDIWebServiceProcessor(java.lang.String webServiceName,
UDProxyDevice device)
Processes requests for the specified WEB service.
|
Modifier and Type | Method and Description |
---|---|
void |
reset()
Remove any cached objects such as UDProxyDevice, etc.
|
UDHTTPResponse |
submitDetailedRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
boolean keep_alive)
Submits a SOAP request, returns the full HTTP Response.
|
UDHTTPResponse |
submitDetailedRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
java.lang.String attributes,
boolean keep_alive)
Submits a SOAP request, returns the full HTTP Response.
|
java.lang.String |
submitRequest(java.lang.String soapAction,
java.lang.StringBuffer body)
Submits a SOAP request, returning the body of the response in a string.
|
java.lang.String |
submitRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
java.lang.String attributes)
Submits a SOAP request, returning the body of the response in a string.
|
boolean |
submitSimpleRequest(java.lang.String soapAction,
java.lang.StringBuffer body)
Submits a simple SOAP request, returning only success or failure.
|
boolean |
submitSimpleRequest(java.lang.String soapAction,
java.lang.StringBuffer body,
java.lang.String attributes)
Submits a simple SOAP request, returning only success or failure.
|
public UDIWebServiceProcessor(java.lang.String webServiceName, UDProxyDevice device)
webServiceName
- The common name of the Web Servicedevice
- The proxy device that will carry out the requestspublic void reset()
public boolean submitSimpleRequest(java.lang.String soapAction, java.lang.StringBuffer body)
soapAction
- SOAP actionbody
- Parameterspublic boolean submitSimpleRequest(java.lang.String soapAction, java.lang.StringBuffer body, java.lang.String attributes)
soapAction
- SOAP actionbody
- Parameterspublic java.lang.String submitRequest(java.lang.String soapAction, java.lang.StringBuffer body)
soapAction
- SOAP actionbody
- Parameterspublic java.lang.String submitRequest(java.lang.String soapAction, java.lang.StringBuffer body, java.lang.String attributes)
soapAction
- SOAP actionbody
- Parametersattributes
- Attributes applied to SOAP action tag (or null if no attributes)public UDHTTPResponse submitDetailedRequest(java.lang.String soapAction, java.lang.StringBuffer body, boolean keep_alive)
soapAction
- SOAP actionbody
- Parameterskeep_alive
- public UDHTTPResponse submitDetailedRequest(java.lang.String soapAction, java.lang.StringBuffer body, java.lang.String attributes, boolean keep_alive)
soapAction
- SOAP actionbody
- Parametersattributes
- Attributes applied to SOAP action tag (or null if no attributes)keep_alive
-