|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.hpsearch.common.SOAPClient
SOAPClient uses Apache AXIS to invoke a web-service using SOAP. Modified from
Apache AXIS samples samples.client.DynamicInvoker
This sample shows how to use Axis for completely dynamic invocations as it is completely stubless execution. It supports both doc/lit and rpc/encoded services. But this sample does not support complex types (it could if there was defined a to encode complex values as command line arguments).
| Constructor Summary | |
SOAPClient()
|
|
| Method Summary | |
String |
describeWSDL()
|
String |
getWSDL()
Returns the location of the currently parsed WSDL |
Object[] |
invoke(String operation,
String[] args)
|
void |
setCallTimeout(Integer timeout)
|
boolean |
setWSDL(String wsdl)
Sets the WSDL location and parses the WSDL. |
String |
show()
Prints out the ports, bindings, operations, the parameter for each operation and the return type from the service description |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SOAPClient()
| Method Detail |
public boolean setWSDL(String wsdl)
wsdl - -
The location of the services' WSDL
public String getWSDL()
public final void setCallTimeout(Integer timeout)
public Object[] invoke(String operation,
String[] args)
throws Exception
Exceptionpublic String show()
public String describeWSDL()
|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||