WebService compilation error "Index: 0, Size: 0"

Document ID : KB000087729
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Index: 0, Size: 0
No meta factory found for feature 'default'; this usually means that axiom-impl.jar is not in the classpath or that the META-INF/axiom.xml resource can't be read.

An error occurs when attempting to compile a new WebService (WS) jar file in a new RA WS CONN object with RA WS solution version 3.2.2 HF1.

Investigation
  1. Create a new CONN object 
  2. Click on the 'Web Service' tab 
  3. Enter a WSDL (example: http://www.webservicex.com/globalweather.asmx?WSDL) 
  4. Click on Retrieve 
  5. Click on Save
Results
EXPECTED: The CONN object generates a WS jar file and the CONN object is saved. 
ACTUAL: The CONN object is unable to compile a WS jar file and gives an error. 

0EMb0000001QvC5.png
 
Click 'Yes' and it will give this error: 

0EMb0000001QvCA.png

Sometimes, the error is this:

0EMb0000001QvCF.png
 
Cause:
Cause type:
Configuration
Root Cause: There are old .jar files in the RA core within the lib directory of the agent.
Resolution:
  1. Remove all files from the lib directory of the RA WS agent. 
  2. Restart the RA WS agent. 
  3. Save your new SOAP CONN object. 


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A