|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.client.Stub
This class is the base for all generated stubs.
Field Summary |
Fields inherited from interface javax.xml.rpc.Stub |
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY |
Constructor Summary | |
Stub()
|
Method Summary | |
Call |
_createCall()
Creates a call from the service. |
Call |
_getCall()
Returns last Call object associated with this stub. |
java.lang.Object |
_getProperty(java.lang.String name)
Gets the value of a named property. |
java.util.Iterator |
_getPropertyNames()
Return the names of configurable properties for this stub class. |
Service |
_getService()
Provide access to the service object. |
void |
_setProperty(java.lang.String name,
java.lang.Object value)
Sets the value for a named property. |
void |
addAttachment(java.lang.Object handler)
Add an attachment |
void |
clearAttachments()
This method clears the request attachments. |
void |
clearHeaders()
This method clears both requestHeaders and responseHeaders hashtables. |
void |
extractAttachments(Call call)
Extract attachments |
java.lang.Object[] |
getAttachments()
Get the array of attachments The attachment array is cleared after this, so it is a destructive operation. |
SOAPHeaderElement |
getHeader(java.lang.String namespace,
java.lang.String partName)
Get the header element |
SOAPHeaderElement[] |
getHeaders()
Get the array of header elements |
java.lang.String |
getPassword()
Get the password |
QName |
getPortName()
Get the port name. |
SOAPHeaderElement |
getResponseHeader(java.lang.String namespace,
java.lang.String partName)
Get a response header element |
SOAPHeaderElement[] |
getResponseHeaders()
Get the array of response header elements |
int |
getTimeout()
Get the timeout value in milliseconds. |
java.lang.String |
getUsername()
Get the user name |
java.lang.Object |
removeProperty(java.lang.String name)
Remove a property from this instance of the Stub NOTE: This is NOT part of JAX-RPC and is an Axis extension. |
void |
setHeader(SOAPHeaderElement header)
Set the header |
void |
setHeader(java.lang.String namespace,
java.lang.String partName,
java.lang.Object headerValue)
Set the header |
void |
setMaintainSession(boolean session)
If set to true, session is maintained; if false, it is not. |
void |
setPassword(java.lang.String password)
Set the password. |
void |
setPortName(QName portName)
Set the port QName. |
void |
setPortName(java.lang.String portName)
Set the port name. |
void |
setTimeout(int timeout)
Set the timeout in milliseconds. |
void |
setUsername(java.lang.String username)
Set the username. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Stub()
Method Detail |
public void _setProperty(java.lang.String name, java.lang.Object value)
_setProperty
in interface Stub
name
- - Name of the propertyvalue
- - Value of the propertypublic java.lang.Object _getProperty(java.lang.String name)
_getProperty
in interface Stub
name
-
public java.lang.Object removeProperty(java.lang.String name)
name
- the name of the property to remove
public java.util.Iterator _getPropertyNames()
_getPropertyNames
in interface Stub
java.lang.String
public void setUsername(java.lang.String username)
public java.lang.String getUsername()
public void setPassword(java.lang.String password)
public java.lang.String getPassword()
public int getTimeout()
public void setTimeout(int timeout)
public QName getPortName()
public void setPortName(QName portName)
public void setPortName(java.lang.String portName)
public void setMaintainSession(boolean session)
public void setHeader(java.lang.String namespace, java.lang.String partName, java.lang.Object headerValue)
namespace
- partName
- that uniquely identify a header object.headerValue
- Object that is sent in the request as a SOAPHeaderpublic void setHeader(SOAPHeaderElement header)
public void extractAttachments(Call call)
call
- public void addAttachment(java.lang.Object handler)
handler
- public SOAPHeaderElement getHeader(java.lang.String namespace, java.lang.String partName)
public SOAPHeaderElement getResponseHeader(java.lang.String namespace, java.lang.String partName)
public SOAPHeaderElement[] getHeaders()
public SOAPHeaderElement[] getResponseHeaders()
public java.lang.Object[] getAttachments()
public void clearHeaders()
public void clearAttachments()
public Service _getService()
public Call _createCall() throws ServiceException
ServiceException
public Call _getCall()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |