TestWService.java 753 B

1234567891011121314151617181920212223242526272829303132
  1. package camel.demo.api7.processor;
  2. import javax.jws.WebMethod;
  3. import javax.jws.WebParam;
  4. import javax.jws.WebService;
  5. /**
  6. * @author HZY
  7. * @vsrsion 1.0
  8. * Created at 2017/4/14.
  9. */
  10. @WebService(name = "testWService")
  11. public interface TestWService {
  12. @WebMethod
  13. public Object test();
  14. @WebMethod
  15. public Object requestWs (
  16. @WebParam(name = "api") String api,
  17. @WebParam(name = "param") String param,
  18. @WebParam(name = "timestamp") String timestamp,
  19. @WebParam(name = "v") String v,
  20. @WebParam(name = "appKey") String appKey,
  21. @WebParam(name = "sign") String sign
  22. );
  23. @WebMethod
  24. public Object AddProvider (@WebParam(name = "doctor_id") long doctor_id );
  25. }