Announcement Announcement Module
Collapse
No announcement yet.
SoapHEader.getResult() returns DOMResult on Tomcat but SAXResult on JBoss` Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SoapHEader.getResult() returns DOMResult on Tomcat but SAXResult on JBoss`

    We have a Web Service Client that works fine under Tomcat but when we run under JBoss, we get a ClassCastException when getting the result from the header like below.

    SoapMessage soapMessage = ((SoapMessage) message);
    SoapHeader header = soapMessage.getSoapHeader();
    DOMResult result = (DOMResult) header.getResult();

    Under Tomcat the header.getResult returns a DOMResult, but under JBoss it get's a SAXResult.
Working...
X