I add a web service call builder in model to consume a .net webservice.
In service call type I choose WSDL and in wsdl I input the url like http://xxxxx/_vti_bin/SMFServices/SMFSite.asmx?wsdl.
And Click fetch the builder could recognize all the method. I choose one.
And In main action list I add DataServices/SMFSites/execute.
Then I run this model but in page I meet such error:
An error has occurred.
The error message returned was: "Error in method main. Error in method SMFSites.invoke. Error in method SMFSites.invokeInternal. Could not initialize class org.apache.axis.client.AxisClient".
Please refer to the logs folder in your deployed application for additional error information.
Click here for a detailed error message. Click here to hide the detailed error message.
Exception Error in method main. Error in method SMFSites.invoke. Error in method SMFSites.invokeInternal. Could not initialize class org.apache.axis.client.AxisClient
java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Can anybody know the reason?
This topic has been locked.
1 reply Latest Post - 2010-12-06T21:05:43Z by mburati
Pinned topic Meet Could not initialize class org.apache.axis.client.AxisClient error
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-12-06T21:05:43Z at 2010-12-06T21:05:43Z by mburati
mburati 060000VQ20352 PostsACCEPTED ANSWER
Re: Meet Could not initialize class org.apache.axis.client.AxisClient error2010-12-06T21:05:43Z in response to YuanhaoWhich version of WPF (including fixpack level) are you running?
Which version of WebSphere Portal (or WASCE) are you running it on?
In WP 7 on WAS 7, the WPF ws builder will use the JAX-WS that comes with WAS (same with WAS6.1 if the WS feature pak of WAS is installed, and same with current versions of WASCE).
In WP 6.1.x, AXIS typically is bundled where the Portal's classloader can find it, so it'll pick it up from there.
If you're running WPF 7 and Tomcat for dev, you may need to add the AXIS feature set to your project.