on 01-27-2006 3:53 PM
Hello,
I am trying to use the feature of "SAP connectivity" in the NDS. I have created Proxy for the RFC and that works <b>fine.</b>
When I try to make the Web Service from the same. I get the above error in the Web Services Navigator. Below is the response:
<SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>com/sap/aii/proxy/framework/core/AbstractProxy</faultstring><detail><ns1:java.lang.NoClassDefFoundError xmlns:ns1='http://sap-j2ee-engine/error'>com/sap/aii/proxy/framework/core/AbstractProxy</ns1:java.lang.NoClassDefFoundError></detail></SOAP-ENV:Fault>
Can sombody please help? It appears that it is not referring to the libraries, How do I set references to the library in the Web Services project?
Best regards,
Dharmi
Hi Dharmi,
Check this WebLog..
/people/renald.wittwer/blog/2005/01/05/develop-a-web-service-that-sends-an-email
It works fine for me.
First test this webservice and then create your own.
Regards,
Karthick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Karthick,
Thanks for your response, I am setting the libraries in the Java project the same way mentioned in the Weblog, by using the External jar button. The Standalone java works Wonderful but if I make the Web Services out of it, it fails resulting in "com/sap/aii/proxy/framework/core/AbstractProxy" error!
Did you also get similiar error?
Best regards,
Dharmi
Message was edited by: Dharmi Tanna
Hello Karthick,
Thanks again.
By adding this jar file in the classpath means : Right click your Java project, select properties then select Java Build path in that go to the libraries tab, there select add External Jars navigate to the location com.sap.ide.jcb.core\lib form there select aii_proxy_rt.jar. Click on open then Ok.
Right??? I also went to the Order and Export tab selected the above mentioed jar but still it did not help me.
Best regards,
Dharmi
Hello Kathrick,
I have not tried the Weblog example. It does not relate to my suitation. I did have a look at how the jar files are referred in that.
What I am doing is making a proxy for RFC's using the SAP Enterprise Connector. When I run them as standalone application it works fine. That means it does have all the required jars. When I convert the java class into the Web Service and when testing it with the Web Services navigator it results in the above mentioned error.
Best regards,
Dharmi
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.