This discussion is archived
1 Reply Latest reply: Oct 17, 2012 5:22 AM by Sachin Gupta RSS

P6 WSDemo App

968405 Newbie
Currently Being Moderated
I'm not sure if this is the correct place to put this, but here goes. With our purchase of Primavera 6 we were given the java source code to a simple application that exports a project to the local drive as an xml file. When the application opens, it asks for username, password, host name, and port. After entering all of the required information and clicking next through the following screens, I get the response below:

Any idea as to what might be the problem?

Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<TITLE>Error 500--Internal Server Error</TITLE>
<BODY bgcolor="white">
<FONT FACE=Helvetica><BR CLEAR=all>
<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 500--Internal Server Error</H2>
<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><pre>java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl
     at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.<init>(
     at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(
     at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.handleMessage(
     at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.handleMessage(
     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
     at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
     at org.apache.cxf.transport.servlet.ServletDestination.invoke(
     at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
     at org.apache.cxf.transport.servlet.ServletController.invoke(
     at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(
     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(
     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(
     at javax.servlet.http.HttpServlet.service(
     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(
     at weblogic.servlet.internal.StubSecurityHelper$
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
     at weblogic.servlet.internal.ServletStubImpl.execute(
     at weblogic.servlet.internal.ServletStubImpl.execute(
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(
     at weblogic.servlet.internal.WebAppServletContext$
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(
     at weblogic.servlet.internal.WebAppServletContext.execute(


--- End WS Demo ---
  • 1. Re: P6 WSDemo App
    Sachin Gupta Pro
    Currently Being Moderated
    This must be related to P6 Web Service demo. Assuming you have the Web services installed and deployed on the application server like webLogic or WebSphere, there was one step where you need to copy the endorsed folder to ../jre/lib folder. This step might be missing is your case. Copy the endorsed folder from WS Home to jre/lib folder and restart the application server, you will not see this error.

    Let me know if this works for you.

    Sachin Gupta


  • Correct Answers - 10 points
  • Helpful Answers - 5 points