Hallo everybody,

I've a problem that I would like to share with you; every help will be
highly appreciated.

In my application (web server .NET, appserver Axis with Java classes), a
Java class has a method that takes a bean as parameter; this bean is
composed by other beans and primitive types.
The point is: if .NET client sends the parameter bean with every field NON
NULLin it, everything works fine; otherwise, if some of these fiels are
NULL, a java.lang.reflect.InvocationTargetException  is raised.

I've checked the SOAP message sent to Axis by .NET with TCPMON, and I
noticed that the NULL fields are omitted in the bean parameter, like if they
don't exist.

The method at Java side is invoked , but it raises exception before to send
the result back.

One way to make things work is to send empty params in the Bean, but this is
not the exact behaviour I'd like.

Does someone has any idea about the reason why this happen?

Thank you a lot,

Paolo


Reply via email to