SxsSystem

Hello!

So

quote:
"the following method is available:

public int SxsSystem (int callType,StringBuffer pSysBuf);

The call types are defined as constants in the callback interface SXSJBase.java. "


-quote from Tamino SXS documentation.

In the SXJBase.java a SERVERURL int is defined and set to 0.Is it true?
Well, if I call in a extension:

code:
  
StringBuffer response=new StringBuffer();
int errno=SxsSystem(SERVERURL,response);
if(errno!=0){
//error
return “error!”;
}
else{
return response.toString();
}


I got an error.
Can anybody tell me why and how to use the SxsSystem to get the server url?
Thank you.

Hi rapo,

my documentation (Tamino v3.1) says:

quote:

Java:
The following method is available:

public int SxsSystem (int callType,
StringBuffer pSysBuf);

The call types USERID, SESSIONID are defined as constants in the callback interface SXSJBase.java.


These are the only types implemented yet, although others are already defined in SXSJBase.java.

Regards,

Julius