public class SoapClient extends Object
构造器和说明 |
---|
SoapClient() |
限定符和类型 | 方法和说明 |
---|---|
void |
addHeader(String namespace,
String authheader,
Map<String,String> headers)
添加header
|
void |
cancelRequests(Context context,
boolean mayInterruptIfRunning)
取消请求
|
void |
send(Context context,
String url,
String namespace,
String action,
Map<String,String> params,
SoapResponseHandler responseHandler)
执行请求
|
protected void |
sendRequest(HttpTransportSE ht,
SoapSerializationEnvelope envelope,
String namespace,
SoapResponseHandler responseHandler,
Context context)
发生请求
|
public void addHeader(String namespace, String authheader, Map<String,String> headers)
namespace
- authheader
- headers
- public void send(Context context, String url, String namespace, String action, Map<String,String> params, SoapResponseHandler responseHandler)
context
- url
- namespace
- action
- params
- responseHandler
- public void cancelRequests(Context context, boolean mayInterruptIfRunning)
context
- mayInterruptIfRunning
- protected void sendRequest(HttpTransportSE ht, SoapSerializationEnvelope envelope, String namespace, SoapResponseHandler responseHandler, Context context)
ht
- envelope
- namespace
- responseHandler
- context
-