search

Home  >  Q&A  >  body text

spring - How to parse SOAP message into map object or json string without declaring java type?

RT, I have recently come into contact with web services. My understanding of web services is that the server declares the message format through the wsdl list, and the two parties use this format to send and receive soap messages for communication.

The problem now is that the methods I found on the Internet for parsing messages are to use third-party tools to generate java classes from xsd/wsdl files, and then convert the soap messages into java classes before operating. Is there any way to directly How to convert soap message into Map object?

过去多啦不再A梦过去多啦不再A梦2747 days ago1016

reply all(1)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-06-12 09:28:51

    When transmitting, just pass the map directly, and then use map to obtain it

    reply
    0
  • Cancelreply