Saturday, August 29, 2015

Web services error in WebSphere commerce.

Error:

ConnectionEve A   J2CA0056I: The Connection Manager received a fatal connection error from the Resource Adaptor for resource eis/JCAHTTP-WS.  The exception which was received is java.io.IOException: javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: The root element is required in a well-formed document. Message being parsed:

                at com.ibm.ws.webservices.engine.SOAPPart.getEnvelope(SOAPPart.java:639)


Solution: 


This issue is because of the SOAPAction parameter got missing in the SOAPHeader,So please apply the following fix for solve the issue.


1)      Close your toolkit and stop server
2)      Follow the steps mentioned in the link - http://www-01.ibm.com/support/docview.wss?uid=swg21297330  (install attached APAR)
3)      Make sure you follow the changes step mentioned for change wc-server.xml (adding entry for SOAPAction)
4)      Restart the server and login into admin console
              5)     For the message type – com.mycompany.commerce.services, set the SOAPAction as mentioned                          in the WSDL

No comments:

Post a Comment