I have an app with a lot of methods (invoked by POST request). I need
to add another method and call it via GET request. If a try to call
the method from the browser
(http://localhost:8080/SFAS/SFAService?_method=sonda) I get the
following error:
<soap:Envelope>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>No such operation: (HTTP GET PATH_INFO:
/SFAS/SFAService)</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
I'm using Spring.
Cfg:
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<jaxws:endpoint id="sfaServiceEndPoint" implementor="#sfaService"
address="/SFAService" />
Interface:
@WebService
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
use=SOAPBinding.Use.LITERAL,parameterStyle=ParameterStyle.BARE)
public interface SFAService {
..........
Class:
@WebService(endpointInterface="ar.com.link.sfaservices.wss.services.SFAService")
public class SFAServicesImpl implements SFAService{
..........
Can't someone help me?
Thank you very much.
Best regards