Hello,

we use a JAX-WS proxy (JaxWsProxyFactoryBean, CXF 2.2.3) to talk from
app A (client) to app B (server) using SOAP. One of the methods called
by A on B returns an object containing an object that contains, among
other data members, a HashMap:

HashMap<String, SubscriberServiceData> services;

The server always initializes the services object and adds at least
one service to it, so it's never null. However, sometimes services is
null when received by the client. I discovered this while load testing
the A app, and I can reproduce it most of the time, as it seems to
fail (services == null) randomly. I sniffed the packets and enabled
LoggingInInterceptor in the client to look at the raw XML, and the
services map is always there (even if services becomes null in the
client). So it looks as if the HashMap is not unmarshalled properly,
but why only sometimes?

I tested both apps with 2.2.9, but that didn't help. I'm out of ideas
and was wondering if anyone could give any pointers.

Thanks,
Radek

Reply via email to