on 04-12-2011 10:34 AM
Hi All,
We are getting an exception when we are making web service call from our webdynpro java application.
Please find below the detailed error chain which appears on the application execution:
The initial exception that caused the request to fail, was:
java.lang.ClassCastException
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.getWSInterface(WSQueryImpl.java:457)
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:164)
at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:128)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)
... 40 more
We are not sure about the rootcause behind this error chain.
Kindly help.
Note: We are tring to consume the Web service using Adaptive Web Serice Model with Local File System ande Url option. We have maintained web service logica ldestinations in the J2ee engine which we are using at the time of the model creation.
Hi,
Just a thought, have you changed or added a method to your web service after you created the web service model in your WD project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Re-import the model and do the rebuild and build it on DC level
after that create the archive and deploy to portal .
now run your application.
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.