java
文章平均质量分 83
xxwenu_
这个作者很懒,什么都没留下…
展开
-
cxf动态调用webService
public static String callLis(String url, String reqStr,String method) throws Exception { String resStr = invokeRemoteFuc(url, method, reqStr); return resStr;}public static String invokeRem...原创 2018-09-30 13:48:02 · 350 阅读 · 0 评论 -
xml转DTO
public static String toXml(String name, Object obj) { XStream xstream = new XStream(new DomDriver()); xstream.processAnnotations(new Class[] {}); //xstream.alias(obj.getClass().getSimpleNa...转载 2018-09-30 13:50:36 · 1376 阅读 · 0 评论