摘要: javascript switch 相等用的是 ,就是说不进值相同,类型也要相同 用string的时候,发现无论如何都不满足条件,后来发现是类型不同 string有对象string,还有基本类型string,这2个是不同的 var s="xx"; 这个是基本类型 var s = new String 阅读全文
posted @ 2017-12-21 10:28 lost in java 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 错误 wso2 WARN {org.apache.synapse.transport.passthru.SourceHandler} - Illegal incoming connection state: REQUEST_READY . Possibly two send backs are ha 阅读全文
posted @ 2017-12-13 15:44 lost in java 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 把数据拆成200个一组 阅读全文
posted @ 2017-12-07 11:07 lost in java 阅读(126) 评论(0) 推荐(0) 编辑
摘要: wso2ei-6.1.0 运行axis2server报下面找个错误 Server could not start due to class loading issue java.lang.NoSuchMethodException: samples.util.SampleAxis2Server.st 阅读全文
posted @ 2017-05-04 10:42 lost in java 阅读(208) 评论(0) 推荐(0) 编辑
摘要: cisco vpn client 不能保存密码,每次都要输入太麻烦了写了个wsh,可以自动输入密码,并登陆'需要一个好听的名字'使用VB脚本cisco vpn client 改为3.1 之后,更新了登陆脚本 阅读全文
posted @ 2015-10-16 20:15 lost in java 阅读(270) 评论(0) 推荐(0) 编辑
摘要: sample date2015-09-10 00:00:002015-09-09 00:00:00.000expect iso date, add time zone2015-09-10T00:00:00+0800function convertDate(x){ return x.substrin... 阅读全文
posted @ 2015-09-20 09:21 lost in java 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 拿到一个证书,里面有私钥和公钥,合在一起,pkc12的格式转的pem格式,有密码,现在需要把密码去掉1.分离公钥和私钥openssl x509 -in cert2.pem -out cert2.crtopenssl rsa -in cert2.pem -out cert2.key2. 去掉私钥密码o... 阅读全文
posted @ 2015-04-22 15:30 lost in java 阅读(5088) 评论(1) 推荐(0) 编辑
摘要: centos curl 默认使用nss,而不是openssl升级curl让curl支持opensslrpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-12.rhel6.noarch.rpmyum ... 阅读全文
posted @ 2015-04-17 11:18 lost in java 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 先创建wsdl,然后生成class1. 下载HRData.xsd 和HRDataService.wsdlhttp://yunpan.cn/Q4zBXC4fvC74xhttp://yunpan.cn/Q4zB9BywMtYCg2.依次把HTTP, SOAP, Data Mapper组件拖入3. HTTP组件参数 host: localhost port: 8087 path:hrdataservice4. SOAP组件,选择JAX-WS, 把HRData.xsd 和HRDataService.wsdl两个文件放到resources目录下 service class后面点generate ... 阅读全文
posted @ 2014-03-12 14:48 lost in java 阅读(456) 评论(0) 推荐(0) 编辑
摘要: Mulesoft是使用CXF来支持web service,有三种方式1.JAX-WS2.Simple, POJO3. Proxy, pass-throught本文介绍POJO,最简单的方式1。首先创建接口跟实现类,接口可以不用package com.justin.mule.pojo;public interface TotalPrice { public float cal(float price, int amount);}package com.justin.mule.pojo;public class TotalPriceImp implements TotalPrice { ... 阅读全文
posted @ 2014-03-11 17:23 lost in java 阅读(910) 评论(0) 推荐(0) 编辑