com.sun.xml.ws.protocol.soap.MessageCreationException

Couldn't create > SOAP message due to exception: com.jaxws.json.codec.JSONFault: Failed > to create message body.java.util.ArrayList cannot be cast to > java.util.Map > at > com.jaxws.json.codec.JSONCodec.throwMessageCreationException(JSONCodec.java : > 544)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web91

  • Couldn't create > SOAP message due to exception: com.jaxws.json.codec.JSONFault: Failed > to create message body.java.util.ArrayList cannot be cast to > java.util.Map > at > com.jaxws.json.codec.JSONCodec.throwMessageCreationException(JSONCodec.java : > 544)
  • Couldn't create SOAP message due to exception: com.jaxws.json.codec.JSONFault: Failed to create message body.More than one operation found
  • Couldn't create SOAP message due to exception: java.nio.channels.ReadPendingException
  • Stack trace

    • com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create > SOAP message due to exception: com.jaxws.json.codec.JSONFault: Failed > to create message body.java.util.ArrayList cannot be cast to > java.util.Map > at > com.jaxws.json.codec.JSONCodec.throwMessageCreationException(JSONCodec.java : > 544) at com.jaxws.json.codec.JSONCodec.decode(JSONCodec.java:503)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.