cancel
Showing results for 
Search instead for 
Did you mean: 

problem deploying simple WS

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I might be wrong here, but I don't think that's enough to create a web service. Maybe the link below migh be of osme help. Do a search in the forums and sdn for more information.

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm">SAP help</a>

regards,

Dion