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

Bug 328652

Summary: Sample JSPs: SOAPElement or Element parameters result in compile errors in sample
Product: [WebTools] WTP Webservices Reporter: Mark Hutchinson <mahutch>
Component: jst.wsAssignee: Mark Hutchinson <mahutch>
Status: RESOLVED FIXED QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3 CC: ccc
Version: 3.0.5Flags: keith.chong.ca: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 289800    
Bug Blocks:    
Attachments:
Description Flags
proposed patch none

Description Mark Hutchinson CLA 2010-10-25 16:16:24 EDT
We would also like this fix to be committed for WTP 3.0.5 patches if possible.

The same patch applies fine to R3_0_5_patches branch.


+++ This bug was initially created as a clone of Bug #289800 +++

If your client proxy has a method that takes a javax.xml.soap.SOAPElement or org.w3c.dom.Element as an input parameter then the sample JSP generated has a compilation error.

The error is a duplicate variable declaration in the result.jsp, like
"Duplicate local variable parameters_2idTemp"
Comment 1 Mark Hutchinson CLA 2010-10-27 17:42:27 EDT
Created attachment 181890 [details]
proposed patch
Comment 2 Carl Anderson CLA 2010-11-03 12:22:28 EDT
Committed to R3_0_5_patches