- 浏览: 258426 次
- 性别:
- 来自: 福州
文章分类
最新评论
-
zwhc:
finalerboy 写道有问题的。。。而且问题多得很,你自己 ...
将数字转为指定长度的字符串,如果位数不够,添加前缀 0 -
finalerboy:
有问题的。。。而且问题多得很,你自己试试
for(int j ...
将数字转为指定长度的字符串,如果位数不够,添加前缀 0 -
a542435582:
没有考虑中文哦,实现了三分之一
以 UE 十六进制编辑模式的显示方式显示数据 -
white_crucifix:
kyfxbl 写道左耳朵耗子这人感觉挺装的,发的帖子也没什么营 ...
atoi -
kyfxbl:
左耳朵耗子这人感觉挺装的,发的帖子也没什么营养,我已经取消关注 ...
atoi
经过反复跟踪,这段代码比较重要:
org.apache.axis.Message.java
另外,贴一些通过 Thread.dumpStack() 打印出来的程序流程:
org.apache.axis.Message.java
public void writeTo(java.io.OutputStream os) throws SOAPException, IOException { //Do it the old fashion way. Thread.dumpStack(); if (getSendType() == Attachments.SEND_TYPE_NONE || mAttachments == null || 0 == mAttachments.getAttachmentCount()) { try { String charEncoding = XMLUtils.getEncoding(this, msgContext);; mSOAPPart.setEncoding(charEncoding); mSOAPPart.writeTo(os); System.out.println("(Message.java:540)"); } catch (java.io.IOException e) { log.error(Messages.getMessage("javaIOException00"), e); } } else { try { mAttachments.writeContentToStream(os); //BufferedOutputStream bos = new BufferedOutputStream(); ByteArrayOutputStream bos = new ByteArrayOutputStream(); mAttachments.writeContentToStream(bos); //String str = bos.toString(); System.out.println("(Message.java:553) mAttachments:" + bos.toString()); System.out.println("(Message.java:554) " + mAttachments); } catch (java.lang.Exception e) { log.error(Messages.getMessage("exception00"), e); } } }
另外,贴一些通过 Thread.dumpStack() 打印出来的程序流程:
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:189) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.access$2(EngineConfigurationFactoryFinder.java:163) at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:128) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160) at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.mns.SendMessageServiceLocator.<init>(SendMessageServiceLocator.java:12) at com.mns.ZTestSendMsg.test_main1(ZTestSendMsg.java:114) at com.mns.ZTestSendMsg.main(ZTestSendMsg.java:55) java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at org.apache.axis.client.Call.invokeEngine(Call.java:2816) at org.apache.axis.client.Call.invoke(Call.java:2799) at org.apache.axis.client.Call.invoke(Call.java:2444) at org.apache.axis.client.Call.invoke(Call.java:2367) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.mns.SendMessageBindingStub.sendMessage(SendMessageBindingStub.java:442) at com.mns.ZTestSendMsg.test_main1(ZTestSendMsg.java:278) at com.mns.ZTestSendMsg.main(ZTestSendMsg.java:55)2817:service.getEngine():org.apache.axis.client.AxisClient@5812f9ee java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at org.apache.axis.attachments.MimeUtils.createMP(MimeUtils.java:248) at org.apache.axis.attachments.AttachmentsImpl.getContentType(AttachmentsImpl.java:567) at org.apache.axis.Message.getContentType(Message.java:489) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:175) at org.apache.axis.client.Call.invokeEngine(Call.java:2818) at org.apache.axis.client.Call.invoke(Call.java:2799) at org.apache.axis.client.Call.invoke(Call.java:2444) at org.apache.axis.client.Call.invoke(Call.java:2367) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.mns.SendMessageBindingStub.sendMessage(SendMessageBindingStub.java:442) at com.mns.ZTestSendMsg.test_main1(ZTestSendMsg.java:278) at com.mns.ZTestSendMsg.main(ZTestSendMsg.java:55) java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at org.apache.axis.Message.writeTo(Message.java:536) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:514) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:175) at org.apache.axis.client.Call.invokeEngine(Call.java:2818) at org.apache.axis.client.Call.invoke(Call.java:2799) at org.apache.axis.client.Call.invoke(Call.java:2444) at org.apache.axis.client.Call.invoke(Call.java:2367) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.mns.SendMessageBindingStub.sendMessage(SendMessageBindingStub.java:442) at com.mns.ZTestSendMsg.test_main1(ZTestSendMsg.java:278) at com.mns.ZTestSendMsg.main(ZTestSendMsg.java:55) java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:520) at org.apache.axis.Message.writeTo(Message.java:548) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:514) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:175) at org.apache.axis.client.Call.invokeEngine(Call.java:2818) at org.apache.axis.client.Call.invoke(Call.java:2799) at org.apache.axis.client.Call.invoke(Call.java:2444) at org.apache.axis.client.Call.invoke(Call.java:2367) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.mns.SendMessageBindingStub.sendMessage(SendMessageBindingStub.java:442) at com.mns.ZTestSendMsg.test_main1(ZTestSendMsg.java:278) at com.mns.ZTestSendMsg.main(ZTestSendMsg.java:55) (org.apache.axis.attachments.AttachmentsImpl.java:522)
发表评论
-
递归查找指定的目录,将所有的md转换成html
2015-02-16 13:33 1648在 github.com fork 了 markdown2ht ... -
弈城围棋棋谱下载,附源码
2014-06-10 21:55 2447弈城围棋的解说用的好象是 sgf 第一版的。 平时我们用的 s ... -
appfuse 非常棒
2014-05-31 14:17 1220appfuse 非常棒 【1】在线 demo http:// ... -
stripes spring annotation
2014-05-02 14:19 773stripes 源码阅读 stripes-code-1527 ... -
junit annotation
2014-05-02 01:15 1197写了个简单的 junit 启动器。 package ... -
一种变形全排列算法
2013-06-07 17:39 1411public static boolean next(i ... -
typoglycemia
2012-11-05 23:52 1510单词里面字母乱序不影响阅读的现象,学名叫做Typoglycem ... -
电信彩信附件,webservice HttpURLConnection
2012-10-16 15:26 1729电信彩信附件,webservice HttpURLConnec ... -
java final parameter
2012-09-14 19:28 1077一些代码里,参数前加了 final 修饰符,不太明白这样做的原 ... -
hibernate like in 多表 查询
2012-09-07 12:24 1550public List getMaintainList( ... -
学一篇韵文,识天下汉字
2012-08-20 15:49 1669学一篇韵文,识天下汉字 http://blog.renren. ... -
简易建表工具
2012-07-19 16:56 0简易建表工具 生成 oracle 表。 -
正则表达式测试工具。
2012-05-29 17:47 1152http://docs.oracle.com/javase/t ... -
关于 《Java 性能优化之 String 篇》 的疑问
2012-05-18 11:55 1132原文地址在: http://www.ibm.com/devel ... -
java char
2012-04-24 09:30 3043刚才简单研究了一下 char 。 比想象的复杂得多。主要应该 ... -
java 与 iso-8859-1 编码
2012-04-20 10:58 11573今天又研究了一下字符编码。写了些测试代码,算是比较了解了。 ... -
java 死循环
2012-03-08 15:46 1010写了这么段代码,居然出现死循环了。真晕。 /** ... -
利息计算
2011-11-29 01:00 1236/** * 利息计算: * 借款 12000,一年 ... -
Enum 如何继承?
2011-11-08 20:30 2927Enum 如何继承? public abstract clas ... -
enum 的 name 是如何传进去的呢?
2011-11-08 17:48 1353enum 的 name 是如何传进去的呢? public e ...
相关推荐
axis源码
axis2 包括源码 文档
axis1.4 源码包,亲测,好用,放心下载,不必再进行反编译工作
axis2源码
axis源码,用于发布webservice
axis2源码~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
axis发布webservice教程axis发布webservice教程axis发布webservice教程axis发布webservice教程
axis 完整源码 目录结构 axis 1.3 -----docs -----lib -----samples -----webapps -----xmls -----LICENSE.txt -----README release-notes.html
axis.jar的源码
Axis2WebService源码。本地测试通过。
axis2-1.5.6-src, webservice实现axis2源码
我已经止传了,这是一个示例源码。大家下载后在eclipse中直接导入到工程就可以了,编码用gbk吧,本项目可以部署在纯java工程项目中,可以不用web容器。文档在本人的资源中也有,找一下,名字为axis2_webservice.doc...
Axis2已编译通过并正常工程源码--------------------
spring集成axis发布webservice源码 spring集成axis发布webservice源码 spring集成axis发布webservice源码 spring集成axis发布webservice源码
axis web service client 源码
Tomcat+Axis+WebService 入门实例,讲述如何实现WebService的传递信息,
AXIS2 最新版本1.7.3的源码 WAR BIN包,分三个压缩包:axis2-1.7.3-bin.zip,axis2-1.7.3-src.zip,axis2-1.7.3-war.zip
axis2 1.6.2 官方源码包 官方下载的,上传上来给无法从官方下载的朋友
axis2服务端源码,带用户身份认证
基于java的开发源码-Web服务框架 Apache Axis.zip 基于java的开发源码-Web服务框架 Apache Axis.zip 基于java的开发源码-Web服务框架 Apache Axis.zip 基于java的开发源码-Web服务框架 Apache Axis.zip 基于java的...