Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366457

Summary: Error in Web Services Explorer when selecting operation
Product: [WebTools] WTP Webservices Reporter: Shane Clarke <shane_clarke>
Component: wst.wsAssignee: Keith Chong <keith.chong.ca>
Status: VERIFIED FIXED QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.4 M5   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Shane Clarke CLA 2011-12-12 15:54:35 EST
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
Comment 1 Shane Clarke CLA 2011-12-12 16:43:19 EST
Also there was no error displayed in the error log.
Comment 2 Keith Chong CLA 2011-12-13 12:16:13 EST
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.
Comment 3 Keith Chong CLA 2011-12-15 16:21:12 EST
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)
Comment 4 Keith Chong CLA 2011-12-16 11:36:22 EST
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/
Comment 5 Keith Chong CLA 2012-01-04 23:47:03 EST
Resolving this.
Comment 6 Shane Clarke CLA 2012-01-05 13:51:56 EST
Verified in build I-3.4.0-20120105140022