XML Connector API 6.0.2.61

com.baan.b3.dil
Class Request

java.lang.Object
  |
  +--com.baan.b3.dil.Request

Deprecated. This is a deprecated class and this won't be supported in the later versions.

public class Request
extends java.lang.Object

This Interface provides methods for data updates and retrievals to Baan.

Since:
classVersion 2.1

Constructor Summary
Request()
          Deprecated.  
 
Method Summary
 boolean close()
          Deprecated. This is a deprecated method and this won't be supported in the later versions.
 boolean execute(java.lang.String p_request, java.lang.StringBuffer p_responseDocument, java.lang.StringBuffer p_requestStatus)
          Deprecated. This is a deprecated method and this won't be supported in the later versions.
 boolean execute1(com.baan.b3.boi1.IUserSession p_userSession, java.lang.String p_request, java.lang.StringBuffer p_responseDocument, java.lang.StringBuffer p_requestStatus)
          Deprecated. This is a deprecated method and this won't be supported in the later versions.
 boolean getMetadata(java.lang.String p_request, java.lang.StringBuffer p_requestDocument, java.lang.StringBuffer p_responseDocument, java.lang.StringBuffer p_errorDocument, java.lang.StringBuffer p_error)
          Deprecated. This is a deprecated method and this won't be supported in the later versions.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Request

public Request()
Deprecated. 
Method Detail

getMetadata

public boolean getMetadata(java.lang.String p_request,
                           java.lang.StringBuffer p_requestDocument,
                           java.lang.StringBuffer p_responseDocument,
                           java.lang.StringBuffer p_errorDocument,
                           java.lang.StringBuffer p_error)
Deprecated. This is a deprecated method and this won't be supported in the later versions.


This method generates the metadata in either DTD or XML Schema format.

It checks the validity of the User License and the input Request Document. It then retrieves the Business Object Name and the Method Name from the input document. If the validation is successfull it generates the metadata in DTD format.

Parameters:
p_request - The input document, which contains the "ObjectName" and the "MethodName".
p_requestDocument - The output Request Document in DTD format.
p_responseDocument - The output Response Document in DTD format.
p_errorDocument - The output Error Document in DTD format.
p_error - It contains the error message in case of an error during the generation of DTD.
Returns:
boolean
Since:
classVersion 2.1

execute

public boolean execute(java.lang.String p_request,
                       java.lang.StringBuffer p_responseDocument,
                       java.lang.StringBuffer p_requestStatus)
Deprecated. This is a deprecated method and this won't be supported in the later versions.


This method should be called to do data retrieval and updates.

It checks the validity of the User License and the Input Request Document. Incase there is a validation failure, an appropriate error message is returned. For a valid request, the requested method is executed and the corressponding output is returned.

Parameters:
p_request - The input document, which contains the "ObjectName", "MethodName", "ComponentName" and the input parameters.
p_responseDocument - The output Response Document.
p_requestStatus - The output Error Document.
Returns:
boolean
Since:
classVersion 2.1

execute1

public boolean execute1(com.baan.b3.boi1.IUserSession p_userSession,
                        java.lang.String p_request,
                        java.lang.StringBuffer p_responseDocument,
                        java.lang.StringBuffer p_requestStatus)
Deprecated. This is a deprecated method and this won't be supported in the later versions.


This method is used when ASM functionality is used.

This method internally calls the execute() method.

Parameters:
p_userSession - The IUserSession object, which contains the Username and the password of the ASM enabled Backend.
p_request - The input document, which contains the "ObjectName", "MethodName", "ComponentName" and the input parameters.
p_responseDocument - The output Response Document.
p_requestStatus - The output Error Document.
Returns:
boolean
Since:
classVersion 2.1

close

public boolean close()
              throws java.lang.Exception
Deprecated. This is a deprecated method and this won't be supported in the later versions.


This method is used when ASM functionality is used.

The client must explicitly calls this method, especially when the managers are initialized using bus components which have Application Service Manager (ASM) configured as active and use connection pooling. If this method is not called, the bshell instances activated by the ASM do not get terminated and are kept hanging or killed based on the timeout specified at the bus component level.

Returns:
boolean
java.lang.Exception
Since:
classVersion 2.1

XML Connector API 6.0.2.61

Visit the SSA Global website for more information.