on 11-14-2006 8:32 AM
hi all
I need to develop a webservice which does the following things
1. Returns names of the deployed webdynpro objects on a particular java server
2. Once i select one of the object from above list and submit it , webservice should give me all details of that perticular deployed object and should return that object's url so that i can open it in another window and run that webdynpro object.
can any body help me for the First objective as i hv no idea how to fetch webdynpro deployable object list from java stack.
Also for second objective i am using APIs like WDDeployableObject ,WDDeployableObjectPart.......
but still didnt find solution to get url outof it..
can anyone help me out for this.
Regards
Sheetal
Sheetal,
Notice, however, that you hardly may use WD-specific classes (IWD* and WD*) from WebService. The solutions described also returns only "local" deployable objects, i.e. objects from the same server.
Other option is to try <a href="http://help.sap.com/saphelp_webas630/helpdata/de/79/ec633e0084e946e10000000a114084/content.htm">Deployment Services API</a>, probably it can provide necessary data.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Valery Silaev
thanks a lot
but my question is still nt solved
i tried the code given in the thread but i am nt able to deply ear project its giving foll error :
Settings
SDM host : INFPWX01561
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/277492/LOCALS1/Temp/temp48737DeployEAR.ear
Result
=> deployment aborted : file:/C:/DOCUME1/277492/LOCALS1/Temp/temp48737DeployEAR.ear
Aborted: development component 'DeployEAR'/'sap.com'/'localhost'/'2006.11.15.12.09.26':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/DeployEAR.. Reason: Incorrect application sap.com/DeployEAR:Error in the remote interface sap.com.lnt.tet.FirstEJB of bean FirstEJBBean: No corresponding business method in the bean class sap.com.lnt.tet.FirstEJBBean was found for method getDeployableObjects.Error in the local interface sap.com.lnt.tet.FirstEJBLocal of bean FirstEJBBean: No corresponding business method in the bean class was found for method getDeployableObjects.; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/DeployEAR:Error in the remote interface sap.com.lnt.tet.FirstEJB of bean FirstEJBBean: No corresponding business method in the bean class sap.com.lnt.tet.FirstEJBBean was found for method getDeployableObjects.Error in the local interface sap.com.lnt.tet.FirstEJBLocal of bean FirstEJBBean: No corresponding business method in the bean class was found for method getDeployableObjects.
at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2142)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:318)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3119)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:522)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/DeployEAR:Error in the remote interface sap.com.lnt.tet.FirstEJB of bean FirstEJBBean: No corresponding business method in the bean class sap.com.lnt.tet.FirstEJBBean was found for method getDeployableObjects.Error in the local interface sap.com.lnt.tet.FirstEJBLocal of bean FirstEJBBean: No corresponding business method in the bean class was found for method getDeployableObjects.
at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2142)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:318)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3119)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:522)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
does nyone hv solution for this
Regards
Sheetal
Hi Sheetal,
Problem is in your EJB. There is no method with name "getDeployableObjects".
Please create the method and implment the code inside the method.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
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.