java - Web service client class works; but deployment error when used in a servlet -
i using jdeveloper 12c generate 'web client , proxy' wsdl file. worked fine , generated client class test out invocation of service. client works fine.
i generated test servlet , ensured worked.
i pasted same web service invocation code servlet, , @ deploy time getting exception:
caused by: java.lang.noclassdeffounderror: not initialize class weblogic.wsee.jaxws.spi.wlsprovider @ weblogic.wsee.jaxws.servicerefprocessorimpl.parseannotations(servicerefprocessorimpl.java:199) @ weblogic.wsee.jaxws.servicerefprocessorimpl.parseannotations(servicerefprocessorimpl.java:150) @ weblogic.wsee.jaxws.servicerefprocessorimpl.createtargetref(servicerefprocessorimpl.java:106) @ weblogic.wsee.jaxws.servicerefprocessorimpl.bindserviceref(servicerefprocessorimpl.java:385) @ weblogic.application.naming.environmentbuilder.bindserviceref(environmentbuilder.java:1109) @ weblogic.application.naming.environmentbuilder.bindservicereferences(environmentbuilder.java:1073) @ weblogic.application.naming.environmentbuilder.bindservicereferences(environmentbuilder.java:1418) @ weblogic.application.naming.environmentbuilder.bindenventriesfromdds(environmentbuilder.java:1986) @ weblogic.servlet.internal.compenv.activate(compenv.java:198) @ weblogic.servlet.internal.webappservletcontext.activate(webappservletcontext.java:2797) @ weblogic.servlet.internal.webappmodule.activatecontexts(webappmodule.java:1648) @ weblogic.servlet.internal.webappmodule.activate(webappmodule.java:804) @ weblogic.application.internal.extensiblemodulewrapper$activatestatechange.next(extensiblemodulewrapper.java:317) @ weblogic.application.internal.extensiblemodulewrapper$activatestatechange.next(extensiblemodulewrapper.java:313) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.extensiblemodulewrapper.activate(extensiblemodulewrapper.java:121) @ weblogic.application.internal.flow.modulelistenerinvoker.activate(modulelistenerinvoker.java:114) @ weblogic.application.internal.flow.modulestatedriver$2.next(modulestatedriver.java:192) @ weblogic.application.internal.flow.modulestatedriver$2.next(modulestatedriver.java:187) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.flow.modulestatedriver.activate(modulestatedriver.java:58) @ weblogic.application.internal.flow.deploymentcallbackflow.activate(deploymentcallbackflow.java:145) @ weblogic.application.internal.basedeployment$2.next(basedeployment.java:729) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.basedeployment.activate(basedeployment.java:258) @ weblogic.application.internal.singlemoduledeployment.activate(singlemoduledeployment.java:48) @ weblogic.application.internal.deploymentstatechecker.activate(deploymentstatechecker.java:165) @ weblogic.deploy.internal.targetserver.appcontainerinvoker.activate(appcontainerinvoker.java:80) @ weblogic.deploy.internal.targetserver.operations.abstractoperation.activate(abstractoperation.java:586) @ weblogic.deploy.internal.targetserver.operations.activateoperation.activatedeployment(activateoperation.java:148) @ weblogic.deploy.internal.targetserver.operations.activateoperation.docommit(activateoperation.java:114) @ weblogic.deploy.internal.targetserver.operations.abstractoperation.commit(abstractoperation.java:339) @ weblogic.deploy.internal.targetserver.deploymentmanager.handledeploymentcommit(deploymentmanager.java:846) @ weblogic.deploy.internal.targetserver.deploymentmanager.activatedeploymentlist(deploymentmanager.java:1275) @ weblogic.deploy.internal.targetserver.deploymentmanager.handlecommit(deploymentmanager.java:442) @ weblogic.deploy.internal.targetserver.deploymentservicedispatcher.commit(deploymentservicedispatcher.java:176) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer.docommitcallback(deploymentreceivercallbackdeliverer.java:195) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer.access$100(deploymentreceivercallbackdeliverer.java:13) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer$2.run(deploymentreceivercallbackdeliverer.java:68) @ weblogic.work.selftuningworkmanagerimpl$workadapterimpl.run(selftuningworkmanagerimpl.java:550) @ weblogic.work.executethread.execute(executethread.java:295) @ weblogic.work.executethread.run(executethread.java:254)
i'm not getting lot of useful results on google. can please ? !
placing metro-default.xml in web-inf/classes/meta-inf resolves issue. tube based messaging introduced , jaxws-ri-2.2.8 jars required make web services work.
Comments
Post a Comment