论文部分内容阅读
简单对象访问协议(SOAP)是一种标准化的通信协议,在煤炭企业的信息管理中,它提供一种简单、可扩展以及丰富的XML消息框架,被广泛应用于网络Web服务中。文章通过设计客户端程序调用Web服务的试验,发现客户端从SOAP中解析服务端的可空字段以及将客户端的子类对象以基类的形式封装进SOAP中存在问题,然后结合客户端自带的对SOAP消息进行处理的代码,提出了相应的解决方案。
Simple Object Access Protocol (SOAP) is a standardized communication protocol that provides a simple, extensible and rich XML message framework for information management in coal enterprises and is widely used in web-based web services. Through designing the client program to invoke the Web service experiment, the article finds that the client parses the nullable fields of the server from SOAP and encapsulates the subclass objects of the client into SOAP in the form of a base class. Then, combining with the client’s own The SOAP message processing code, put forward the corresponding solution.