摘要
简单对象访问协议(SOAP)是一种标准化的通信协议,在煤炭企业的信息管理中,它提供一种简单、可扩展以及丰富的XML消息框架,被广泛应用于网络Web服务中。文章通过设计客户端程序调用Web服务的试验,发现客户端从SOAP中解析服务端的可空字段以及将客户端的子类对象以基类的形式封装进SOAP中存在问题,然后结合客户端自带的对SOAP消息进行处理的代码,提出了相应的解决方案。
Simple Object Access Protocol (SOAP) is a standardized communication protocol which provides a simple, extensibility, rich XML messaging framework and used widely in Web service. This paper designs an experiment related to call web service from client program and gets there exists some problems when client side analyze null-able fields at service side from SOAP and encapsulate sub-class as base class at client side into SOAP, then combine with client own code used to deal with SOAP message, implement a solution accordingly.
出处
《煤炭技术》
CAS
北大核心
2013年第12期215-216,共2页
Coal Technology