2019-11-27AxisCallback学习

Axis2是Web Services / SOAP / WSDL引擎,是广泛使用的Apache Axis SOAP堆栈的后继者。

Apache Axis2 Web服务引擎有两种实现-Apache Axis2 / Java和Apache Axis2 / C,您将在此处找到有关Apache Axis2 / Java的所有信息。

onMessage(当接收到消息时执行的方法)

void onMessage(MessageContextmsgContext)

This is called when we receive a message.

Parameters:(参数)

msgContext - the (response) MessageContext  响应的context,包含所以返回的信息


onFault

void onFault(MessageContextmsgContext)

This gets called when a fault message is received.(当返回错误消息时,执行的方法)

Parameters:

msgContext - the MessageContext containing the fault.

onError

void onError(Exceptione)

This gets called ONLY when an internal processing exception occurs.(当axis2调用webservice方法报错时执行的方法,)

Parameters:

e - the Exception which caused the problem

onComplete

void onComplete()

This is called at the end of the MEP no matter what happens, quite like a finally block.

(不管发生什么,这都是在MEP的末尾调用的,类似于finally块。)

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,872评论 0 10
  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 9,932评论 0 13
  • 我是否还爱着自己 为什么那份忧伤挥洒不去 我抱着自己 给自己温度 那份体温仿佛是在梦里 你是否还爱着我 你给我的...
    兔子的幸福生活阅读 1,064评论 23 34
  • 忆(1) “秋裤”,一座建筑物,一座城市。 此处正是霓虹闪烁,流光溢彩的金鸡湖景区。 在这座城里...
    兮美君阅读 276评论 0 6
  • 长大了 心里念的过年 再也不像小时候那么期待 但是呢 还是会有过年的模样与气氛 今年二姐没有回家 因为有了小宝宝 ...
    韩安生阅读 538评论 0 1

友情链接更多精彩内容