Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Exception Description: No conversion value provided for the value
Exception Description: No conversion value provided for the value [message #1743497] Fri, 16 September 2016 03:15
Lucas Eskopinski is currently offline Lucas EskopinskiFriend
Messages: 1
Registered: September 2016
Junior Member
I have a @WebService that has an field declared as an enum type.

I added in the project one handler (implements SOAPHandler<SOAPMessageContext>) for payloads log.

When active this handler:

<S:Envelope xmlns:S="http: //">
      <ns0:Fault xmlns:ns1="http: //" xmlns:ns0="http ://">
         <faultstring>Exception Description: No conversion value provided for the value [A] in field [myenum/text()].
Mapping: org.eclipse.persistence.oxm.mappings.XMLDirectMapping[myenum-->myenum/text()]
Descriptor: XMLDescriptor(com.tst.Customer --> [])</faultstring>

    public final boolean handleMessage(final SOAPMessageContext context) {
        StringWriter writer = new StringWriter();

        try {
            TransformerFactory factory = TransformerFactory.newInstance();
            Transformer transformer = factory.newTransformer();
            transformer.setOutputProperty(OutputKeys.INDENT, "yes");
            transformer.setOutputProperty("{http ://}indent-amount", "2");

            Source source = new DOMSource(context.getMessage().getSOAPPart());
            transformer.transform(source, new StreamResult(writer));
        } catch (TransformerException e) {

        return true;

I need to keep as it was before insert of the handler. Receive null when the values are different of enum definition...

WebLogic Server 12.1.3

Previous Topic:Object Cache Vs Query Cache
Next Topic:Forcing a different operations order on persited entity
Goto Forum:

Current Time: Sat Apr 04 13:18:09 GMT 2020

Powered by FUDForum. Page generated in 0.01413 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top