Troubleshooting
Problem
Using the HTTP (HyperText Transfer Protocol) Interceptor such as the following:
import java.util.Map;
import com.softwareag.is.interceptor.HttpInterceptorException;
import com.softwareag.is.interceptor.HttpInterceptorIFC;
public class HttpInterceptor implements HttpInterceptorIFC {
@Override
public void preProcess(String requestURL, String requestType, String httpVersion, Map headers, byte[] streamBytes, String correlationID)
throws HttpInterceptorException {
System.out.println("HTTP Interceptor preProcess: " + requestType + " url=" + requestURL);
}
@Override
public void postProcess(int responseCode, String responseMessage, Map<String, String> headers, byte[] bytes, String correlationID) {
System.out.println("HTTP Interceptor postProcess: response=" + responseCode + " " + responseMessage);
}
}
This gives the following message:
"java.lang.NegativeArraySizeException: null
at com.softwareag.is.interceptor.HttpInterceptorManager.preProcess(HttpInterceptorManager.java:140)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:367)
at com.wm.util.pool.PooledThread.run(PooledThread.java:127)
at java.lang.Thread.run(Thread.java:748)"
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
20 March 2025
UID
ibm17226539