Hi,
I have JAX-WS web service with two operations, one operation takes
one argument of type String and another operation takes one argument of
DataObject. When I am invoking operation that takes the String type, the
following exception is thrown. I think runtime applies SDODatabinding
for all parameters, that should be the case. How to make SDODataBinding
applies to only to parameters of type DataObject?
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.cxf.sdo.DataWriterImpl.write(DataWriterImpl.java:56)
at org.apache.cxf.sdo.DataWriterImpl.write(DataWriterImpl.java:36)
at
org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(
AbstractOutDatabindingInterceptor.java:119)
at
org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInter
ceptor.java:68)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:247)
Regards
Raman