共 108 篇文章 |
|
阅1245 转5 评0 公众公开 19-05-14 17:35 |
阅287 转2 评0 公众公开 19-02-26 10:42 |
WebService异常Unexpected wrapper element ...found. Expected ...Unexpected wrapper element {http://service.faced.wsdl.bigaka.com/}sysOrder found. Expected {http://server.bigaka.com/}sysOrder.错误的意思是:期望地址是http://server.bigaka.com ,但是意外出现了http://service.faced.wsdl.bigaka.com这个地址。 阅4150 转0 评0 公众公开 19-01-30 16:35 |
cxf设置代理访问webservice接口。import org.apache.cxf.endpoint.import org.apache.cxf.frontend.import org.apache.cxf.transport.http.import org.apache.cxf.transports.http.configuration.factoryBean.setAddress("http://xxx.xxx.xxx.xxx/webservice?wsdl");import org.apache.cxf.jaxws.endpoint.dynamic.public MyAuthenti... 阅705 转1 评0 公众公开 19-01-30 16:35 |
hibernate原生sql封装,报错信息:could not find setter for rownum报错信息:could not find setter for rownum_当firstResult为0的时候,一切正常,当firstResult不为0的时候报 “could not find setter for rownum_”的错误如果不setResultTransformer,设置的firstResult和MaxResult不受影响。 阅308 转0 评0 公众公开 19-01-16 10:08 |
阅2281 转21 评0 公众公开 19-01-15 10:39 |
阅1875 转3 评0 公众公开 19-01-08 13:37 |
httpClient如何设置代理。String password = "*******“ httpClient.getCredentialsProvider().setCredentials( new AuthScope(proxyHost, proxyPort), new UsernamePasswordCredentials(userName, password)); HttpHost proxy = new HttpHost(proxyHost,proxyPort); httpClient.getParams().setParameter(ConnRouteParams.DEFAULT_PR... 阅1658 转5 评0 公众公开 19-01-07 09:23 |
hibernate 注释 唯一键约束 uniqueConstraints.@Table 注解包含一个schema和一个catelog 属性,使用@UniqueConstraints 可以定义表的唯一约束。@Table(name="tbl_sky", uniqueConstraints = {@UniqueConstraint(columnNames={"month", "day"})})@Table(name="tbl_sky", uniqueConstraints = {@Uniqu... 阅13 转0 评0 公众公开 19-01-02 16:40 |
xml字符串和java实体类相互转换JaxbXmlUtil工具类 附java实体类生成soap接口报文案例。<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:eapp="http://wx.gmw9.com"> <soapenv:Header> </soapenv:Header> <soapenv:Body> <eapp:aaaaaa> <eapp:aa1>... 阅2601 转26 评0 公众公开 18-12-29 16:55 |