I'm trying to use Dynamic Proxy Client to invoke a document/literal
service, however, I've got the following IllegalArgumentException. Can
anyone shed some light on the possible cause of that exception?
serialization error: java.lang.IllegalArgumentException
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerialize
r(DynamicInternalTypeMappingRegistry.java:134)
at
com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.initiali
ze(GenericLiteralObjectSerializer.java:119)
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.createLitera
lValueTypeSerializer(DynamicInternalTypeMappingRegistry.java:495)
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerialize
r(DynamicInternalTypeMappingRegistry.java:118)
at
com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.initialize(Lit
eralRequestSerializer.java:128)
at
com.sun.xml.rpc.client.dii.BasicCall.createLiteralRequestSerializer(Basi
cCall.java:523)
at
com.sun.xml.rpc.client.dii.BasicCall.getRequestSerializer(BasicCall.java
:485)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:339)
at
com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHa
ndler.java:99)
at
com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHa
ndler.java:71)
at $Proxy0.submitJob(Unknown Source)
at
org.icenigrid.jdml.service.impl.test.JobServiceTestCase.testSubmitJobDPC
(JobServiceTestCase.java:94)
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)
CAUSE:
java.lang.IllegalArgumentException
at
com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.init(Litera
lObjectSerializerBase.java:44)
at
com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.<init>(Lite
ralObjectSerializerBase.java:39)
at
com.sun.xml.rpc.encoding.literal.LiteralFragmentSerializer.<init>(Litera
lFragmentSerializer.java:51)
at
com.sun.xml.rpc.encoding.literal.LiteralFragmentSerializer.<init>(Litera
lFragmentSerializer.java:47)
at
com.sun.xml.rpc.encoding.literal.LiteralFragmentSerializer.<init>(Litera
lFragmentSerializer.java:43)
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.SOAPElementL
iteralSerializer(DynamicInternalTypeMappingRegistry.java:502)
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.createLitera
lValueTypeSerializer(DynamicInternalTypeMappingRegistry.java:476)
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerialize
r(DynamicInternalTypeMappingRegistry.java:118)
at
com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.initiali
ze(GenericLiteralObjectSerializer.java:119)
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.createLitera
lValueTypeSerializer(DynamicInternalTypeMappingRegistry.java:495)
at
com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerialize
r(DynamicInternalTypeMappingRegistry.java:118)
at
com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.initialize(Lit
eralRequestSerializer.java:128)
at
com.sun.xml.rpc.client.dii.BasicCall.createLiteralRequestSerializer(Basi
cCall.java:523)
at
com.sun.xml.rpc.client.dii.BasicCall.getRequestSerializer(BasicCall.java
:485)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:339)
at
com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHa
ndler.java:99)
at
com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHa
ndler.java:71)
at $Proxy0.submitJob(Unknown Source)
at
org.icenigrid.jdml.service.impl.test.JobServiceTestCase.testSubmitJobDPC
(JobServiceTestCase.java:94)
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)
--- William Lee @ London e-Science Centre, Imperial College London --
A: Room 348, Department of Computing, Imperial College London, Huxley
Building, South Kensington campus, London SW7 2BZ, UK
E: wwhl_at_doc.ic.ac.uk | william_at_imageunion.com
W: www.lesc.ic.ac.uk | www.imageunion.com
P: +44(0)20 7594 8251
F: +44(0)20 7581 8024
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net