|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.axis.client.Call
org.jboss.webservice.client.CallImpl
public class CallImpl
A Call object that is ws4ee aware.
It takes the jaxrpc-mapping into account when setting up the call.
Field Summary |
---|
Fields inherited from class org.jboss.axis.client.Call |
---|
ATTACHMENT_ENCAPSULATION_FORMAT, ATTACHMENT_ENCAPSULATION_FORMAT_DIME, ATTACHMENT_ENCAPSULATION_FORMAT_MIME, attachmentParts, FAULT_ON_NO_RESPONSE, JAXRPC_PORTTYPE_NAME, JAXRPC_SERVICE, msgContext, SEND_TYPE_ATTR, TRANSPORT_NAME, TRANSPORT_PROPERTY, WSDL_PORT_NAME, WSDL_SERVICE |
Fields inherited from interface javax.xml.rpc.Call |
---|
ENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY |
Constructor Summary | |
---|---|
CallImpl(Object url)
Build a call from a URL string |
|
CallImpl(ServiceImpl service)
Constructs a new Call object for a given jaxrpcService |
Method Summary | |
---|---|
void |
addAttachment(String contentID,
Object mimepart)
Add an attachment with a given contentID See addAttachmentParts for a list of supported types |
protected void |
addAttachmentParts(org.jboss.axis.Message msg)
Add attachment parts to the SOAP message |
Object |
getAttachment(String contentID)
Get the attachment for the given contentID. |
Iterator |
getAttachmentIdentifiers()
Get an iterator over the available contentIDs |
ServiceDescription |
getServiceDescription()
Get the ServiceDescription for this Call |
protected String |
getWsdlOpName(String javaOpName)
The default implementation simply returns the java method name. |
Object |
invoke(Object[] params)
Calls the super implementation with either rpc or one-way call semantics. |
void |
removeAttachment(String contentID)
Remove the attachment for the given contentID. |
void |
setOperation(String javaOpName)
The super implementation fills in as much as it can from the wsdl. |
void |
setOperationName(javax.xml.namespace.QName opName)
|
Methods inherited from class org.jboss.axis.client.Call |
---|
addAttachmentPart, addFault, addHeader, addParameter, addParameter, addParameter, addParameter, addParameter, addParameterAsHeader, addTransportPackage, clearHeaders, clearOperation, getEncodingStyle, getMaintainSession, getMessageContext, getOperation, getOperationName, getOperationStyle, getOperationUse, getOutputParams, getOutputValues, getParameterTypeByName, getParameterTypeByQName, getPassword, getPortName, getPortTypeName, getProperty, getPropertyNames, getResponseMessage, getReturnType, getScopedProperty, getService, getSOAPActionURI, getTargetEndpointAddress, getTimeout, getTransportForProtocol, getTransportOption, getTypeMapping, getUsername, initialize, invoke, invoke, invoke, invoke, invoke, invoke, invokeOneWay, isParameterAndReturnSpecRequired, isPropertySupported, registerTypeMapping, registerTypeMapping, registerTypeMapping, registerTypeMapping, removeAllParameters, removeProperty, removeScopedProperty, setClientHandlers, setEncodingStyle, setMaintainSession, setOperation, setOperation, setOperationName, setOperationStyle, setOperationStyle, setOperationUse, setOperationUse, setOption, setPassword, setPortName, setPortTypeName, setProperty, setRequestMessage, setReturnClass, setReturnQName, setReturnType, setReturnType, setReturnTypeAsHeader, setReturnTypeAsHeader, setScopedProperty, setSOAPActionURI, setSOAPService, setSOAPVersion, setTargetEndpointAddress, setTargetEndpointAddress, setTimeout, setTransport, setTransportForProtocol, setTransportOption, setUsername, setUseSOAPAction, useSOAPAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallImpl(ServiceImpl service)
public CallImpl(Object url) throws MalformedURLException
url
- the target endpoint URL
MalformedURLException
Method Detail |
---|
public void setOperationName(javax.xml.namespace.QName opName)
setOperationName
in interface javax.xml.rpc.Call
setOperationName
in class org.jboss.axis.client.Call
public void setOperation(String javaOpName)
setOperation
in class org.jboss.axis.client.Call
protected String getWsdlOpName(String javaOpName)
getWsdlOpName
in class org.jboss.axis.client.Call
public ServiceDescription getServiceDescription()
public void addAttachment(String contentID, Object mimepart)
addAttachmentParts
for a list of supported types
contentID
- the attachments contentIDmimepart
- the attachment partpublic Iterator getAttachmentIdentifiers()
public Object getAttachment(String contentID)
public void removeAttachment(String contentID)
protected void addAttachmentParts(org.jboss.axis.Message msg)
addAttachmentParts
in class org.jboss.axis.client.Call
public Object invoke(Object[] params) throws RemoteException
invoke
in interface javax.xml.rpc.Call
invoke
in class org.jboss.axis.client.Call
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |