0
我試圖做一個WS但是當我打開它在控制檯上出現以下消息:WS SOAP空操作
WARN [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for {http://webService.algunDominio.app/}WSLicenciaServService has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: No such operation: DOMnull (HTTP GET PATH_INFO: /BSAnull)
包含WS的類是:
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
use=SOAPBinding.Use.LITERAL,
parameterStyle=SOAPBinding.ParameterStyle.BARE)
@WebService(name="WSLicenciaServ")
public class WSLicenciaServ {
@WebMethod(operationName="saludo")
public String saludo(String name) throws Exception{
return "saludo "+name;
}
}
這是Java嗎?如果是這樣,那麼你應該使用[tag:java]標籤。 –