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

Bug 327009

Summary: Error when copying Axis jar files to web project (saaj.jar)
Product: [WebTools] WTP Webservices Reporter: Sylvain Lecoy <sylvain.lecoy>
Component: wst.wsdlAssignee: Project Inbox <wst.wsdl-triaged>
Status: RESOLVED WORKSFORME QA Contact: Keith Chong <keith.chong.ca>
Severity: critical    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sylvain Lecoy CLA 2010-10-05 10:05:08 EDT
Build Identifier: M20100929-0800

When generating stub or client from wsdl, exception is thrown:

IWAB0506E Error when copying Axis jar files to web project
java.io.FileNotFoundException: /lib/saaj.jar

This is caused because I had two version of this lib:

javax.xml.soap_1.3.0.v201005080502.jar
javax.xml.soap_1.2.0.v201005080501 (folder with /lib/saaj.jar inside)

Because the 1.3.0 jar is used, eclipse couldn't find the saaj.jar library and then couldn't load it to generate class stubs.

To fix it I manually deleted the javax.xml.soap_1.3.0.v201005080502.jar file, then restart with -clean flag.

More info here: http://www.techinfopad.com/spring/100801072-sts-230-bug-create-axis-soap-web-service.html

Reproducible: Always

Steps to Reproduce:
1. Install WTP
2. Right click on a WSDL file, then Web Services > Generate Java Bean Skeleton
3. On the wizard, press Next, Next
Comment 1 Keith Chong CLA 2010-10-07 17:04:32 EDT
Is this WTP 3.2.2 ?

In the driver, I only see javax.xml.soap_1.2.0
Comment 2 Keith Chong CLA 2010-10-28 13:49:03 EDT
Hi Sylvain....can you please confirm which version of WTP you are using?
Comment 3 Sylvain Lecoy CLA 2010-10-28 14:04:35 EDT
sorry, yes I confirm this is the version 3.2.2 (20100810)
Comment 4 Sylvain Lecoy CLA 2010-10-28 14:11:10 EDT
It is conflicting with another helios official module (probably Axis Tools)