Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 SOAPMessage 对象。我想解析并将其转换为一组 Jaxb 类。如何将消息转换为 Jaxb 可以解组的格式?
javax.xml.bind.Unmarshaller.unmarshal(??)
SOAP 消息的主体包含实际数据及其要解组的位。您可以执行以下操作:
Node node = soapMessage.getSOAPBody(); unmarshaller.unmarshal(node)(