-
Jul 24th, 2009, 04:53 PM
#1
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules