I have read thru this forum and I have seen many people has my same problem but nobody seems to have
solved it.
I have developed a Lotusscript agent in R6 for serving web services for an application developed in .Net.
The problem is that I use the field Request_Content to get the data that .Net application sends to
Domino. This field has a limit of 32k. Is there any way to skip this issue?
hcl-bot
2
Subject: Request_Content 32k
I was never able to bypass this limit in LotusScript … I did however change over to a Java agent and did something like this:
try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
Document doc = agentContext.getDocumentContext();
Item requestContent = null;
StringBuffer sb = new StringBuffer();
pw = getAgentOutput();
Vector items = doc.getItems();
for (int j=0; j<items.size(); j++) {
Item item = (Item)items.elementAt(j);
String fldName = item.getName();
String fldValue = item.getValueString();
if ( fldName.matches("(?i).*request_content.*") ) {
sb.append( fldValue );
}
}
String reqcontent = sb.toString(); // this is request_content
} catch(Exception e) {
pw.println(e.toString());
}
Subject: RE: Request_Content 32k
Thanks Patrick. Finally, I developed a servlet and there is no problem with it.