cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service

Former Member
0 Kudos

Hi all,

I have created a webservice out of an application service which is getting data from a BAPI . I have used that webservice in webdynpro application and it worked fine . But suddenly we are unable to retreive data.

When i am testing the webservice it is givng the following exception :

" I/O operation failed : java.lang.ClassNotFoundException: com.sap.mw.jco.JCO$Exception

Found in negative cache".

Kindly help me..

Accepted Solutions (1)

Accepted Solutions (1)

former_member254270
Participant
0 Kudos

Hi Krishna,

Please Reset the webservice by going to the service browser and then again give the crenedentials for R/3 system.This will solve your problem.

Thanks.Reward points if helpful.

Answers (5)

Answers (5)

Former Member
0 Kudos

Thank you. The issue is resolved.

Former Member
0 Kudos

Hi Krishna,

Please do the following steps and you can get rid of the issue.

u2022 Go to Service Registry and click the Reset/Delete button for all the used Web Services.

u2022 Go to Service Registry u2192 Service Configuration reset the Configuration Settings i.e. Application Server, System No, Client, Username and Password.

Award if useful.

0 Kudos

Hi Krishna,

You can resolve your problem by reseting the service configuration in the External Service Configuraton Wizard in the Administrative Tools.

Thanks,

Chaitanya.

Former Member
0 Kudos

Hi Ramesh,

Does your Application service has dependencies to any other components.If so are they made available at runtime?

Regards,

Srinivasan Subbiah

Former Member
0 Kudos

No

Former Member
0 Kudos

This is the complete exception chain :

An error has occurred. Maybe the request is not accepted by the server:

I/O operation failed : java.lang.ClassNotFoundException: com.sap.mw.jco.JCO$Exception

Found in negative cache

-


Loader Info -


ClassLoader name: [sap.com/proj3]

Parent loader name: [Frame ClassLoader]

References:

common:service:http;service:servlet_jsp

service:ejb

common:service:iiop;service:naming;service:p4;service:ts

service:jmsconnector

library:jsse

library:servlet

common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl

library:ejb20

library:j2eeca

library:jms

library:opensql

common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore

interface:resourcecontext_api

interface:webservices

interface:cross

interface:ejbserialization

sap.com/cafruntimeear

library:com.sap.guid

library:com.sap.util.monitor.jarm

sap.com/com.sap.jdo

library:cafmetamodellib

sap.com/caf~core

library:cafruntimeconnectivity

library:cafruntimeconnectivity~base

service:applocking

interface:security

library:cafruntimeapi~lib

service:tcsecdestinations~service

interface:tcsecdestinations~interface

Resources:

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\EJBContainer\applicationjars\sap.comproj3ejbmodule.jar

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\WS2\Config1\work

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\WS1\Config1\work

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\SecondWS\Config1\work

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\webservices_container\webservices\ws_3\jars\WS1.jar

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\WS2\Config1\root\WEB-INF\classes

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\SecondWS\Config1\root\WEB-INF\classes

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\FirstWS\Config1\root\WEB-INF\classes

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\FirstWS\Config1\work

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\EJBContainer\clientjars\clientsap.comproj3ejbmodule.jar

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\webservices_container\webservices\ws_0\jars\FirstWS.jar

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\src.zip

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\servlet_jsp\WS1\Config1\root\WEB-INF\classes

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\webservices_container\webservices\ws_1\jars\SecondWS.jar

D:\usr\sap\GEP\JC00\j2ee\cluster\server0\apps\sap.com\proj3\webservices_container\webservices\ws_2\jars\WS2.jar

Loading model: {parent,references,local}

Former Member
0 Kudos

Hi,

Have you tested the webservice with WSNavigator. Is it working fine there. If not then there is a problem with external service.

Regards,

Srinivasan Subbiah

Former Member
0 Kudos

HI srinivas,

My webservice worked fine initially .. We have tested that in WS Naviagtor and then used the same in webdynpro. That also worked fine the other day .

But now when i am testing the webservice in WSNavigator it is not working.

Former Member
0 Kudos

Hi,

I think the problem is with your BAPI. It would be a better choice to investigate on it.

Regards,

Srinivasan Subbiah

Former Member
0 Kudos

BAPI is also working fine..