Support Article
Error while invoking a SOAP Service
SA-179
Summary
Customer would like to know how PRPC acts as a provider of webservice, currently their application is on ZLINUX . Do they need to import any jars for this ?
Error Messages
After installing HFIX-8117, Users observe this error message when a WS-Security enabled SOAP Service is invoked, specifically on a Websphere application server platform:
2013-11-15 11:17:45,946 [ WebContainer : 8] [ STANDARD] [ ] ( services.soap.SOAPService) ERROR {server name}|{ip}- Caught unexpected java.lang.NoClassDefFoundError, message='com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl
java.lang.NoClassDefFoundError: com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.<init>(SOAPPartImpl.java:96)
at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(Message1_1Impl.java:88)
at com.pega.pegarules.integration.engine.internal.services.soap.SOAPService.invoke(SOAPService.java:433)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:312)
Steps to Reproduce
Invoke a PRPC SOAP Service (WS-Security enabled) from any SOAP client.
Root Cause
IBM JDK is incompatible with some of the PRPC related SOAP service implementation packages.
Resolution
Contact Pega GCS for a list of jars If you come across the similar error message and you are running PRPC on Websphere application server. These jars can be placed under Websphere endorsed directory <WAS_HOME>\java\jre\lib\endorsed (create the endorsed directory if not existing). Alternatively, you can also define a standard Websphere shared library including all jars provided by Pega and reference the shared library in both the PRPC application and prweb.war modules using Websphere Admin Console. The server restart is required for the shared library to take effect.
Published March 6, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.