Skip to Content
0
Former Member
Nov 03, 2004 at 07:10 AM

WS deploynment error

27 Views

Hi,

I am trying to deploy web service ( ear file) which is created for a session bean that has below business method.

public java.util.List openWorkList(String participant)

{

return list;

}

It gives error "Unable to generate complex types" . Please find below stack trace.

If I modify the return type from List to any other simple type like String it is deploying.

java.util.List is supported type in WS end points.

Any hint is appreciated.

Thanks and Regards,

Abdul Raheem .S

12:27:03 PM /userOut/deploy (com.tssap.j2ee.ui.core.deploy.DeployThreadManager) [Deploy Thread] WARNING:

Finished deployment of file:D:/NW WorkPlace/FlowBrix_E/FlowBrix.ear

Deploy exception : Problems during deployment !

Deploy with SDM

==> Host is : 6SC44-129225

==> Port is : 50018

--> Created deploy item 0 for file:D:/NW WorkPlace/FlowBrix_E/FlowBrix.ear

--> Deployment of item 0 executed but aborted: Aborted: development component 'FlowBrix_E'/'sap.com'/'localhost'/'2004.11.03.12.26.38':

Caught exception during application deployment from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Cannot deploy application sap.com/FlowBrix_E.. Reason: Webservices deployment exception! The reason is: Error occured, trying to generate web services deployment files for application sap.com/FlowBrix_E. . The error refers to application: none, jar: , web service: .; nested exception is: java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occured, trying to generate web services deployment files for application sap.com/FlowBrix_E. . The error refers to application: none, jar: , web service: .

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateDeployFiles(WSAbstractDeployGenerator.java:123)

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

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

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

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

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

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:304)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:335)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3008)

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

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

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

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

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:151)

Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occured, deploying web service FlowBrix, application sap.com/FlowBrix_E. . Additional info:

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateSingleWSDeployFiles(WSAbstractDeployGenerator.java:224)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateSingleWSDeployFiles(WSAbstractDeployGenerator.java:209)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateDeployFiles(WSAbstractDeployGenerator.java:178)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateDeployFiles(WSAbstractDeployGenerator.java:110)

... 19 more

Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Unable to generate complex types. The error refers to application: sap.com/FlowBrix_E, jar: FlowBrix_A.jar, web service: FlowBrix.

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateTypesInfo(WSAbstractDeployGenerator.java:485)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateWSRuntimeInfo(WSAbstractDeployGenerator.java:292)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateSingleWSDeployFiles(WSAbstractDeployGenerator.java:218)

... 22 more

Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Unable to generate complex types. The error refers to application: sap.com/FlowBrix_E, jar: FlowBrix_A.jar, web service: FlowBrix.

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateTypes(WSAbstractDeployGenerator.java:547)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateTypesInfo(WSAbstractDeployGenerator.java:479)

... 24 more

Caused by: <b>com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Unable to generate complex types. Additional info: not available</b>

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateSerializationClasses(WSAbstractDeployGenerator.java:573)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateTypes(WSAbstractDeployGenerator.java:526)

... 25 more

<b>Caused by: java.lang.NullPointerException</b>

at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.traversThrough(PackageBuilder.java:270)

at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compileExternal(PackageBuilder.java:421)

at com.sap.engine.services.webservices.server.deploy.common.WSAbstractDeployGenerator.generateSerializationClasses(WSAbstractDeployGenerator.java:566)

... 26 more

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