[jboss-dev-forums] [JBoss Web Services Development] - Re: SOAP WebService ClassCastException: org.jboss.ws.core.soap.TextImpl cannot be cast to org.w3c.dom.Comment

bjorn.bostrom do-not-reply at jboss.com
Fri Dec 14 04:48:34 EST 2012


bjorn.bostrom [https://community.jboss.org/people/bjorn.bostrom] created the discussion

"Re: SOAP WebService ClassCastException: org.jboss.ws.core.soap.TextImpl cannot be cast to org.w3c.dom.Comment"

To view the discussion, visit: https://community.jboss.org/message/783440#783440

--------------------------------------------------------------
Hi,
I had the same errormessage. It turned out that Jboss did not like having comments (<!-- -->) inside the soap request. After removing those, the errrormessage did not appear, and the webservice executed successfully.

br // björn
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/783440#783440]

Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2047]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121214/fbbfe1f6/attachment.html 


More information about the jboss-dev-forums mailing list