axis2如何处理soap信息?
如图所示:
两端都是应用,客户端和服务端不必部署在相同平台,也无需是相同应用,中间可以通过axis2进行处理。处理过程描述如下:
- 发送端创建SOAP信息
- axis处理器对该信息进行封装处理:Axis "handlers" perform any necessary actions on that messagesuch as encryption of WS-Security related messages.
- 发送器通过如http发送信息。The transport sender sends the message.
- 接收端监听到该信息On the receiving end, the transport listener detects themessage.
- 监听器将该信息传递给接收端的处理器,对信息解封装The transport listener passes the message on to any handlers onthe receiving side.
- 根据信息内容发送给相应的应用程序。Once the message has been processed in the "pre-dispatch"phase, it is handed off to the dispatchers, which pass it on to theappropriate application.