Skip to Content
0
Former Member
Mar 13, 2009 at 12:05 PM

Exception during deployment of webservice

52 Views

Hello, could anyboby please assist me ?

I've added new method to existing webservice, during deployment i received exception below

I'm beginner in SapNetweaver and I continue implementation if existing project.

Have you any idea why this exception occured.

Webservice is based on stateles ejb.

I suspect maybe because the method I added returns array of java beans, but in Virtual interface (tab Types, in subtree Types) I've not found description about this my javabean type although above in subtree "Tables" I have description about my bean "com.accenture.common.SetsData[]".

How to add it ?

I use version Sap NetWeaver Developer Studio 6.0.1, Exception is below

===========================================================================

Deployment started Fri Mar 13 11:30:58 CET 2009

===========================================================================

Starting Deployment of mdp/fsi/ear

Aborted: development component 'mdp/fsi/ear'/'accenture.com'/'PJU_MDPOLD_D'/'20090313131006'/'0':

Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException:

Cannot deploy application accenture.com/mdpfsiear.. Reason:

Webservices common deployment exception! The reason is:

Error occurred, trying to update web services for application accenture.com/mdpfsiear. . Additional info:

none; nested exception is: java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException:

Webservices common deployment exception! The reason is:

Error occurred, trying to update web services for application accenture.com/mdpfsiear. .

Additional info: none at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)

at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)

at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)

at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)

at com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate(WSDeployer.java:274)

at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)

at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)

at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)

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:3184)

at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:669)

at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)

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)Caused by:

com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException:

Webservices common deployment exception! The reason is:

Error occurred, trying to update web services for application accenture.com/mdpfsiear. .

Additional info: at com.sap.engine.services.webservices.server.deploy.ws.update.SingleWSUpdateProcessor.updateWebServices(SingleWSUpdateProcessor.java:62) at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:149) ... 21 moreCaused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occurred, trying to regenerate web services deployment files for web service FSItemsService, application accenture.com/mdpfsiear. Unable to generate new deployment files. . The error refers to application: none, jar: , web service: . at com.sap.engine.services.webservices.server.deploy.ws.update.SingleWSUpdateProcessor.updateSingleWebService(SingleWSUpdateProcessor.java:127) at com.sap.engine.services.webservices.server.deploy.ws.update.SingleWSUpdateProcessor.updateWebServices0(SingleWSUpdateProcessor.java:88) at com.sap.engine.services.webservices.server.deploy.ws.update.SingleWSUpdateProcessor.updateWebServices(SingleWSUpdateProcessor.java:73) at com.sap.engine.services.webservices.server.deploy.ws.update.SingleWSUpdateProcessor.updateWebServices(SingleWSUpdateProcessor.java:56) ... 22 moreCaused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, deploying web service FSItemsService, application accenture.com/mdpfsiear. . Additional info:

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.generateSingleWSDeployFilesStandard(WSDeployGenerator.java:496)

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.generateSingleWSDeployFiles(WSDeployGenerator.java:471)

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.generateSingleWSDeployFiles(WSDeployGenerator.java:449)

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.generateWSDeployFiles0(WSDeployGenerator.java:320)

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.generateWSDeployFiles(WSDeployGenerator.java:310)

at com.sap.engine.services.webservices.server.deploy.ws.update.SingleWSUpdateProcessor.updateSingleWebService(SingleWSUpdateProcessor.java:117)

... 25 moreCaused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is:

Unable to generate schemas for complex types from provided virtual interfaces. Additional info: not available

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.getSchemas(WSDeployGenerator.java:217)

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.generateSingleWSDeployFilesStandard(WSDeployGenerator.java:488) ... 30 moreCaused by:

java.lang.NullPointerException at com.sap.engine.services.webservices.runtime.wsdl.SchemaConvertor.getOriginalType(SchemaConvertor.java:967)

at com.sap.engine.services.webservices.runtime.wsdl.SchemaInfo.getUriFromTypeState(SchemaInfo.java:169) at com.sap.engine.services.webservices.runtime.wsdl.ArrayStruct.<init>(ArrayStruct.java:41)

at com.sap.engine.services.webservices.runtime.wsdl.SchemaConvertor.parseTypeState(SchemaConvertor.java:122) at com.sap.engine.services.webservices.runtime.wsdl.SchemaConvertor.parseInEncodedMode(SchemaConvertor.java:184)

at com.sap.engine.services.webservices.runtime.wsdl.SchemaConvertor.parseInLiteralMode(SchemaConvertor.java:224)

at com.sap.engine.services.webservices.server.deploy.ws.WSDeployGenerator.getSchemas(WSDeployGenerator.java:180)

... 31 more (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Deployment of mdp/fsi/ear finished with Error (Duration 36609 ms)