|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.wingfoot.soap.Call
Entry point for making a SOAP call. The call could be a RPC style body or Document style body. This class is used to send a SOAP payload to the SOAP server.
Constructor Summary | |
Call()
Default constructor. |
|
Call(Envelope envelope)
Constructor using a custom SOAP Envelope built by user. |
Method Summary | |
void |
addParameter(java.lang.String paramName,
java.lang.Object value)
Allows the user to specify the RPC style Parameter name and value. |
Envelope |
invoke(Transport transport)
Call to serialize and send the soap payload to the server and get back the response. |
void |
setMappingRegistry(TypeMappingRegistry registry)
Sets the registry to associate a Class with the serializer class, desserializer class and the name of the class. |
void |
setMethodName(java.lang.String methodName)
Sets the name of the method to invoke on the server. |
void |
setTargetObjectURI(java.lang.String uri)
Sets the URI of the service on the server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Call()
public Call(Envelope envelope)
Method Detail |
public void addParameter(java.lang.String paramName, java.lang.Object value) throws SOAPException
paramName
- the name of the parameter.value
- the value of the parameter represented
as a Java object. Primitive data types are
represented by their corresponding wrapper classes.SOAPException
- thrown if a Document style parameter
was previously added.public void setTargetObjectURI(java.lang.String uri)
uri
- URI for the service on the server.public void setMethodName(java.lang.String methodName)
methodName
- the name of the method to
invoke on the service.public void setMappingRegistry(TypeMappingRegistry registry)
registry
- instance of TypeMappingRegistrypublic Envelope invoke(Transport transport) throws SOAPException, java.lang.Exception
transport
- an implementation of Transport interface.
An instance of HTTPTransport is provided to use HTTP as the
transport to communicate to the service on the server.
Users can write their own Transport (example SMTP instead of
HTTP).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
KXML is a XML parser by Lutris Technologies