2014-02-21 3 views
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; 
    } 
} 
+0

Java입니까? 그렇다면 [tag : java] 태그를 사용해야합니다. –

답변

0

우선 모든 웹 서비스 중 클래스가 제안하지 않는 서비스 인터페이스를 구현해야하며, 또한 이것을 으로 지정해야합니다. @WebService (endpointInterface = "xyz", serviceName = "abc") this