[jboss-user] [JBoss Web Services] - WebService deployment failed.

忠雨 胡 do-not-reply at jboss.com
Mon Dec 5 03:00:11 EST 2011


忠雨 胡 [http://community.jboss.org/people/he_man888] created the discussion

"WebService deployment failed."

To view the discussion, visit: http://community.jboss.org/message/639776#639776

--------------------------------------------------------------
Hi everyone:

     I  try to deploy a simple webservice on JBoss AS 7.0.2.Final "Arc", but  always failed.
     The console show nothing about webservice's detect and deployment,however, the serivice indeed is a webservice implementation.
     This has puzzled me for a few days.
     Any suggestion will be appreciated.

     below are the source codes:
     =============================================================
package com.wasu.as.sp.service.core;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@Stateless
@WebService(name="TestService",
            targetNamespace = " http://core.service.sp.as.wasu.com http://core.service.sp.as.wasu.com",
            serviceName = "TestService")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)  
public class TestService implements ITestServiceLocal, ITestServiceRemote {
 @Override
 @WebMethod
 public int add(int i, int j) {
  return i+j;
 }
 @Override
 @WebMethod
 public int dec(int i, int j) {
  return i - j;
 }
}
===================================================================

for detail, pls refer to the TestService.zip and the logs.

Many thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/639776#639776]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111205/9c256d80/attachment.html 


More information about the jboss-user mailing list