title: How to resolve java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl
body: <p>I am getting the below error when calling SOAP based webservice from SOAP client. This WebService is deployed in  Websphere 8.5.0 with IBM JDK 7.0. however i am able to successfully call and get the response from the same WebService, when i deploy the same ear in WAS with IBM JDK 6.0.Any inputs on how to resolve this issue would be much appreciated.</p>
  
  <blockquote>
    <p>java.lang.VerifyError: JVMVRFY012 stack shape inconsistent;
    class=com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl,
    method=createDocumentFragment()Lorg/w3c/dom/DocumentFragment;, pc=5 at
    java.lang.J9VMInternals.verifyImpl(Native Method) at
    java.lang.J9VMInternals.verify(J9VMInternals.java:94) at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:169) at
    com.sun.xml.messaging.saaj.soap.SOAPPartImpl.(SOAPPartImpl.java:106)
    at
    com.sun.xml.messaging.saaj.soap.ver1_2.SOAPPart1_2Impl.(SOAPPart1_2Impl.java:69)
    at
    com.sun.xml.messaging.saaj.soap.ver1_2.Message1_2Impl.getSOAPPart(Message1_2Impl.java:89)
    at
    com.sun.xml.messaging.saaj.soap.MessageImpl.initCharsetProperty(MessageImpl.java:1491)
    at
    com.sun.xml.messaging.saaj.soap.MessageImpl.init(MessageImpl.java:552)
    ... 47 more</p>
  </blockquote>