com.sapportals.portal.prt.service.soap
Interface IPRTSOAPCall


public interface IPRTSOAPCall

Interface encapsulating SOAP Calls, used by all the Client Portal Service The instance of IPRTSOAPCall are unique by client/session


Method Summary
 void addCookie(java.lang.Object cookie)
          Allow to add cookie to the current call
 void clearCookies()
          clear cookies include in soap request
 java.lang.Object[] getCookiesContainInRequest()
          get all cookies in the soap request
 java.lang.Object[] getCookiesContainInResponse()
          get all cookies in the soap response
 IPRTSOAPMessage getMessageResponse()
          Get the Original SOAPResponse
 java.lang.Object invokeMethod(java.lang.String methodName, XMLAttributeHandler params, java.lang.String namespaceURI)
          Method used to generated call to SOAP Web Service
 java.lang.Object invokeMethod(java.lang.String methodName, XMLAttributeHandler params, java.lang.String namespaceURI, IUserContext user, java.lang.String systemAlias)
          Method used to generated call to SOAP Web Service with security arguments
 

Method Detail

invokeMethod

public java.lang.Object invokeMethod(java.lang.String methodName,
                                     XMLAttributeHandler params,
                                     java.lang.String namespaceURI)
Method used to generated call to SOAP Web Service
Parameters:
methodName - name of the method to call on the Web Service
params - parameter of the methods
namespaceURI - namespace attached to the corresponding Web Service
Returns:
the response form the Web service

invokeMethod

public java.lang.Object invokeMethod(java.lang.String methodName,
                                     XMLAttributeHandler params,
                                     java.lang.String namespaceURI,
                                     IUserContext user,
                                     java.lang.String systemAlias)
Method used to generated call to SOAP Web Service with security arguments
Parameters:
methodName - name of the method to call on the Web Service
params - parameter of the methods
namespaceURI - namespace attached to the corresponding Web Service
user - the IUserContext of the client user of the Web Service
systemAlias - the alias corresponding to the distant system
Returns:
the response from the Web Service

addCookie

public void addCookie(java.lang.Object cookie)
Allow to add cookie to the current call
Parameters:
cookie - the cookie to add

getMessageResponse

public IPRTSOAPMessage getMessageResponse()
Get the Original SOAPResponse
Returns:
the SOAP Response

getCookiesContainInResponse

public java.lang.Object[] getCookiesContainInResponse()
get all cookies in the soap response
Returns:
Array of Cookie object - null if nothing cookie are present in the soap response

clearCookies

public void clearCookies()
clear cookies include in soap request

getCookiesContainInRequest

public java.lang.Object[] getCookiesContainInRequest()
get all cookies in the soap request
Returns:
Array of Cookie object - null if nothing cookie are present in the soap request