SOAP Message programming

xiaoxiao2021-03-06  102

Since SOAP is a simple protocol for exchange information through XML, it is easy to exchange information through XML exchange information. Apache SOAP also provides a simple-oriented programming mechanism to use for asynchronous calls.

Realization of the service takes a few steps:

1. Write the Message Service to handle the user's message request, process the content of the message, respond to user requests by related SOAPCONTEXT.

2.soap message client

a. This is to describe the message service.

b. Construct an org.apache.soap.Envelop to encapsulate the message.

c instantiate a org.apache.soap.Message.Message class

d. Call Message's Send method to send a message

3. Then it is to compile the file, release it.

转载请注明原文地址:https://www.9cbs.com/read-124780.html

New Post(0)