|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.webservices.util.SoapAccessBean
SoapAccessBean provides a Soap WebServices Client command bean pattern. This bean can be used to interact with webservices via soap. The WSDL file for the target web service is required since it contains the parameters required to interact with the service.
Constructor Summary | |
SoapAccessBean()
Default constructor required to support Serialization. |
|
SoapAccessBean(java.lang.String targetURI,
java.lang.String method)
Creates new SoapAccessBean with parameters specified. |
Method Summary | |
void |
addParameter(java.lang.String paramName,
java.lang.Class paramClass,
java.lang.Object paramValue,
java.lang.String encoding)
Adds the needed parameter to the request. |
java.util.Vector |
getParameters()
Parameters property getter method. |
java.lang.Object |
processRequest(java.lang.String url)
Processes client service requests. |
void |
setParameters(java.util.Vector parameters)
Setter method for parameters property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SoapAccessBean()
public SoapAccessBean(java.lang.String targetURI, java.lang.String method)
targetURI
- type: java.lang.String -
desc: targetURI for the servicesmethod
- type: java.lang.String -
desc: service methodMethod Detail |
public void setParameters(java.util.Vector parameters)
parameters
- type: java.util.Vector -
desc: stores service parameterspublic java.util.Vector getParameters()
public void addParameter(java.lang.String paramName, java.lang.Class paramClass, java.lang.Object paramValue, java.lang.String encoding)
paramName
- type: java.lang.String -
desc: the parameter nameparamClass
- type: java.lang.Class -
desc: the class of the parameterparamValue
- type:java.lang.Object -
desc: the parameterencoding
- type:java.lang.String -
desc: the parameter encodingpublic java.lang.Object processRequest(java.lang.String url) throws org.apache.soap.SOAPException
url
- type: java.lang.String -
desc: the service endpoint url
defined in the WSDL file
org.apache.soap.SOAPException
- type: org.apache.soap.SOAPException -
desc: thrown if an exception occurs
contains details of the exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |