on 07-06-2009 10:59 AM
Hi all
my WDJ calls a model from another WDJ DC. The actual call is performed by a plain java file in src folder.
Build and activation are fine but I get:
java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/model/webservice/api/WDWSModelExecuteException
Why does this happen?
Calling web services from plain java files in the same DC as the WDJ comp can generate such issues?
Thanks in advance
Vincenzo
Hi,
This exception may also come when web-service does not execute successfully. Webservice may throw some exceptions.
Did you check the webservice in the web-service navigator?
Check wethere all the required parameters are set to execute this web-service model or not...
Print the exception cause and message by keeping the following statements in the exception block..
e.getCause();
e.getMessage();
Regards,
Saleem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
there should not be any problem in calling webservices ,
have you checked whether the webservice is working fine in the WSNAVIGATOR after you have
called one DC to other , this error basically occurs because of the some error related to the webservice ,
please do check that ,
i have faced this problem when we were integrating the webservie in the NWDS , and other thing is
webservice seems working fine from the WSNAVIGATOR and still there persists some problem .
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks for your reply,
actually, the code does not even get to the point where the WS is invoked.
As soon as the cmp controller invokes a method in the plain java class, the exception is arised.
I have seen that the class WDWSModelExecuteException is in DC: sap.com\tc\wd\wslib public part default
which is correctly used in my WDJ DC.
Should I set some runtime reference?
Thanks, regards
Vincenzo
User | Count |
---|---|
86 | |
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.