|
|
Re: Dynamic Moxy Exception for Enum Value Conversion [message #1222826 is a reply to message #1222138] |
Sat, 21 December 2013 14:25 |
chandra sp Messages: 3 Registered: December 2013 |
Junior Member |
|
|
Hi,
Looks like the Dynamic Moxy while marshalling and unmarshalling is expecting the enum constant(e.g. result="SUCCESS") in the input, rather than the enum value(e.g result="success"). Is this a bug in Dynamic Moxy?
EDIT
The exceptions
[severity=ERROR,message=
Exception Description: No conversion value provided for the value [success] in field [@result].
Mapping: org.eclipse.persistence.oxm.mappings.XMLDirectMapping[result-->@result]
Descriptor: XMLDescriptor(base.xml._1._0.XMLResponse --> []),locator=[node=null,object=null,url=null,line=1,col=156,offset=-1]]
[severity=ERROR,message=
Exception Description: No conversion value provided for the value [fullResult] in field [ns0:searchResponse.@searchStatus].
Mapping: org.eclipse.persistence.oxm.mappings.XMLDirectMapping[searchStatus-->ns0:searchResponse.@searchStatus]
Descriptor: XMLDescriptor(base.xml._1._0.SearchResponse --> [DatabaseTable(ns0:searchResponse)]),locator=[node=null,object=null,url=null,line=1,col=156,offset=-1]]
I have attached the driver code and the schemas.
Thanks
Chandra
[Updated on: Mon, 23 December 2013 11:52] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03795 seconds