Community
Participate
Working Groups
Got the following error while smoke testing the latest 3.4.0 build http://build.eclipse.org/webtools/committers/wtp4x-R3.4.0-I/20111210044411/I-3.4.0-20111210044411/ When selecting an operation the following error gets displayed: HTTP ERROR: 500 Problem accessing /wse/wsdl/forms/InvokeWSDLOperationForm.jsp. Reason: PWC6033: Error in Javac compilation for JSP PWC6197: An error occurred at line: 119 in the jsp file: /wsdl/forms/InvokeWSDLOperationForm.jsp PWC6199: Generated servlet error: The type Part is ambiguous PWC6197: An error occurred at line: 119 in the jsp file: /wsdl/forms/InvokeWSDLOperationForm.jsp PWC6199: Generated servlet error: The type Part is ambiguous
Also there was no error displayed in the error log.
Hi Shane, Looks like Servlet 3.0 introduced a Part class in package javax.servlet.http that conflicts with javax.wsdl.Part. Need to specifically qualify Part in the jsps.
Fixing the Part issue uncovers another problem. Looks like the change in jetty is the culprit, and appears to be a Glassfish issue. WARN:oejs.ServletHandler:/wse/wsdl/forms/InvokeWSDLOperationForm.jsp org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6199: Generated servlet error:|The import org.eclipse.wst.wsdl.binding cannot be resolved|| at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
Hi Shane, I checked in a change to fully qualify names for javax.wsdl.Part and org.eclipse.wst.wsdl.binding.soap.SOAPHeader. Try this one, or later: http://build.eclipse.org/webtools/committers/wtp4x-R3.4.0-I/20111216073721/I-3.4.0-20111216073721/
Resolving this.
Verified in build I-3.4.0-20120105140022