WoNiu преди 4 години
родител
ревизия
13375c9a71
променени са 1 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. 9 1
      src/main/java/com/galaxis/manatee/webservice/CountryEndpoint.java

+ 9 - 1
src/main/java/com/galaxis/manatee/webservice/CountryEndpoint.java

@@ -18,7 +18,7 @@ public class CountryEndpoint {
 	public CountryEndpoint(CountryRepository countryRepository) {
 		this.countryRepository = countryRepository;
 	}
-
+//
 //	@PayloadRoot(namespace = NAMESPACE_URI, localPart = "getCountryRequest")
 //	@ResponsePayload
 //	public GetCountryResponse getCountry(@RequestPayload GetCountryRequest request) {
@@ -27,22 +27,30 @@ public class CountryEndpoint {
 //		return response;
 //	}
 
+	@PayloadRoot(namespace = NAMESPACE_URI, localPart = "getSchemaRequest")
+	@ResponsePayload
 	public String GetSchema(String schemaCode)
 	{
 		return null;
 	}
 
+	@PayloadRoot(namespace = NAMESPACE_URI, localPart = "getSchemaListRequest")
+	@ResponsePayload
 	public String GetSchemaList()
 	{
 		return null;
 	}
 
+	@PayloadRoot(namespace = NAMESPACE_URI, localPart = "getListRequest")
+	@ResponsePayload
 	public String GetList(String userCode, String schemaCode, String filter)
 	{
 		return null;
 	}
 
     //氚云后端调用的方法名
+	@PayloadRoot(namespace = NAMESPACE_URI, localPart = "invokeRequest")
+	@ResponsePayload
 	public String Invoke(String userCode, String schemaCode, String methodName, String param)
 	{
         //书写调用第三方接口方法