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",
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.