I'm trying to create a simple Web Service and get a problem at deployment stage.
Firstly I create a simple Java class in the Java perspective.
public class HelloNige { public String hello (String name) { return "Hello " + name; } }
I then go to the Web service perspective and right click on the project to create a Web service Deployment Descriptor.
I then right click on the project to build the EAR file.
I then try to deploy the EAR file which is when I get the following error:
4/09/2006 08:45:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR: [005]Deployment aborted Settings SDM host : ausyd-8rvgc1s SDM port : 50018 URL to deploy : file:/C:/DOCUME~1/smithnp/LOCALS~1/Temp/temp19039EasyTestWS.ear Result => deployment aborted : file:/C:/DOCUME~1/smithnp/LOCALS~1/Temp/temp19039EasyTestWS.ear Aborted: development component 'EasyTestWS'/'sap.com'/'localhost'/'2006.09.04.08.45.45': Caught exception during application deployment from SAP J2EE Engine's deploy service: java.rmi.RemoteException: Error occurred while deploying ear file ./temp/deploy/work/deploying/EasyTestWS.ear. Reason: None of the available containers recognized the components of application sap.com/EasyTestWS; it is not possible to make deploy. (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl. performAction(DeploymentActionTypes).REMEXC) Deployment exception : The deployment of at least one item aborted
What am I doing wrong?
Thanks in advance,
nigel