Commit b0231d77 by cjh

更新eibs.xml配置中resourcePath属性

parent 09af2590
......@@ -29,7 +29,7 @@ public class NoUiUtils {
public static long[] millises;
public static boolean debugMode;
public static String rootPath;
// public static String resourcePath;
public static String resourcePath;
public static ICodetable tbl;
public static II18n i18n;
public static IFilter passwordFilter;
......
......@@ -42,8 +42,8 @@
<property name="debugMode" value="false" class="boolean" />
<!-- WAR包本身的目录为变量$ROOT,WAR/WEB-INF/classes目录为变量$HOME -->
<property name="rootPath" value="$ROOT" />
<!-- 外部资源目录
<property name="resourcePath" value="$ROOT/upload" /> -->
<!-- 外部资源目录 -->
<property name="resourcePath" value="$ROOT/upload" />
<!-- 代码转换的实现(可替换,但必须实现ICodetable接口) -->
<property name="tbl" class="org.sss.common.impl.CodetableImpl"
methodName="getInstance">
......
......@@ -8,11 +8,14 @@ import java.net.URLConnection;
public class ESBClientTest {
public static final String addr = "http://localhost:8080/eps/ESBServer";
public static final String addr = "http://localhost:8080/nouiWithESB/ESBServer";
public static final String userId = "test3";
public static final String eventType = "ON_CLICK";
public static final String mappingUrl = "dbcact/_select";
// public static final String mappingUrl = "cptimp/_sav1";
public static final String requestData = "{\"data\":{\"cur\":\"CNY\"}}";
// public static final String requestData = "{\"data\":{\"accamt\":\"200.00\",\"credat\":\"2020/05/20\",\"foract\":\"EFS2005200006\",\"ownref\":\"EFS2005200006\",\"doctxt\":\"bbbbbbbbbb\",\"acccur\":\"USD\",\"doclst\":\"aaaaaaaaaaa\",\"rmbact\":\"EFS2005200006\",\"bchcod\":\"4144620185\",\"jwhtyp\":\"1\",\"outacttyp\":\"1\"}}";
// public static final String requestData = "{\"data\":{\"implst\":[{\"fxact\":\"11111112\",\"puract\":\"\",\"othact\":\"\",\"remcur\":\"USD\",\"remamt\":\"300\",\"cuscod\":\"4144620185\",\"pyenam\":\"LDA\",\"acwnam\":\"CITI\",\"swtcod\":\"CITIUS33XXX\",\"pyeact\":\"6226000\",\"rcpnam\":\"\",\"rcpswtcod\":\"\",\"rcpact\":\"\",\"detchgcod\":\"BEN\",\"pyecry\":\"USA\",\"inoutflg\":\"out\",\"paytyp\":\"A\",\"paytyptxt\":\"2\",\"reminf\":\"2\",\"cavpayflg\":\"\",\"invno\":\"\",\"conno\":\"\",\"supno\":\"\",\"fmdno\":\"\",\"bopcod1\":\"\",\"bopamt1\":\"0.00\",\"bopcur1\":\"\",\"bopinf1\":\"1\",\"remark\":\"1\",\"ownref\":\"EOR2005250009\",\"acttyp\":\"NRA\"},{\"fxact\":\"11111112\",\"puract\":\"\",\"othact\":\"\",\"remcur\":\"USD\",\"remamt\":\"200\",\"cuscod\":\"4144620185\",\"pyenam\":\"LDA\",\"acwnam\":\"CITI\",\"swtcod\":\"CITIUS33XXX\",\"pyeact\":\"6226000\",\"rcpnam\":\"\",\"rcpswtcod\":\"\",\"rcpact\":\"\",\"detchgcod\":\"BEN\",\"pyecry\":\"USA\",\"inoutflg\":\"out\",\"paytyp\":\"A\",\"paytyptxt\":\"2\",\"reminf\":\"2\",\"cavpayflg\":\"\",\"invno\":\"\",\"conno\":\"\",\"supno\":\"\",\"fmdno\":\"\",\"bopcod1\":\"\",\"bopamt1\":\"0.00\",\"bopcur1\":\"\",\"bopinf1\":\"1\",\"remark\":\"1\",\"ownref\":\"EOR2005250010\",\"acttyp\":\"NRA\"}]}}";
//ESB接入相关参数,当前测试已将验签流程屏蔽,后续到行内测试环境,根据实际情况修改下列参数
public static final String flag = "noL";
......@@ -115,8 +118,8 @@ public class ESBClientTest {
" </body>\n" +
"</service>";
out.writeInt(xml.length());
out.write(xml.getBytes());
out.writeInt(xml.getBytes("utf-8").length);
out.write(xml.getBytes("utf-8"));
in = new DataInputStream(new BufferedInputStream(conn.getInputStream()));
int length = in.readInt();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment