|  | @ -19,8 +19,8 @@ public class RPCUtil {
 | 
	
		
			
				|  |  |         String SERVER_URL = Config.url;
 | 
	
		
			
				|  |  |         String appId = Config.appId;
 | 
	
		
			
				|  |  |         return ServiceBus.getInstance(
 | 
	
		
			
				|  |  |                 "172.18.20.123:8085",
 | 
	
		
			
				|  |  |                 "EsbCloud").call(apiName, apiparam);
 | 
	
		
			
				|  |  |                 Config.url,
 | 
	
		
			
				|  |  |                 Config.appId).call(apiName, apiparam);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
	
		
			
				|  | @ -79,16 +79,17 @@ public class RPCUtil {
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | */
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      *
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public static void main(String[] args) {
 | 
	
		
			
				|  |  |         // TODO Auto-generated method stub
 | 
	
		
			
				|  |  |         String apiName="ZEUS.HosHOPWs.GetReportInfo";
 | 
	
		
			
				|  |  |         String apiName = "ZEUS.HosHOPWs.GetReportInfo";
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         String param = "";
 | 
	
		
			
				|  |  |         param = "<Req><TransactionCode>5001</TransactionCode><Data><ReportId>8F5F14C2-FAB8-4CB5-BB91-AECF0EC64E69</ReportId><ReportType>1</ReportType></Data></Req>";
 | 
	
		
			
				|  |  |          String apiparam = "{\"ChannelId\"=\"100123\"," +
 | 
	
		
			
				|  |  |         apiName = "ZEUS.HosHOPWs.GetReportInfo";
 | 
	
		
			
				|  |  |         String param = "<Req><TransactionCode>5001</TransactionCode><Data><ReportId>201405228-A-110B</ReportId><ReportType>0</ReportType></Data></Req>";
 | 
	
		
			
				|  |  |         String apiparam = "{\"ChannelId\"=\"" + Config.channelId + "\"," +
 | 
	
		
			
				|  |  |                 "\"ParamType\"=1," +
 | 
	
		
			
				|  |  |                 "\"Params\"=\"" + param + "\"," +
 | 
	
		
			
				|  |  |                 "\"Guid\"=\"" + "00000001111111" + "\"," +
 | 
	
	
		
			
				|  | @ -100,12 +101,12 @@ public class RPCUtil {
 | 
	
		
			
				|  |  |             result = ServiceBus.getInstance(
 | 
	
		
			
				|  |  |                     "172.18.20.21:2181",
 | 
	
		
			
				|  |  |                     "EsbCloud").call(apiName, apiparam);
 | 
	
		
			
				|  |  |             System.out.println("返回的数据:"+result);
 | 
	
		
			
				|  |  |             System.out.println("返回的数据:" + result);
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             // TODO Auto-generated catch block
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         System.out.println("result="+result);
 | 
	
		
			
				|  |  |         System.out.println("result=" + result);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  |     /*
 | 
	
		
			
				|  |  |     public static void main(String[] args) {
 |