Java 如何读取客户端应用程序通过url发送的XML SOAP数据?
基本上,我需要读取客户端通过URL发送的XML SOAP数据。 我需要使用java来读取XML SOAP数据,并将整个XML插入到数据中 客户机提供的示例XML格式如下所示:Java 如何读取客户端应用程序通过url发送的XML SOAP数据?,java,web-services,servlets,soap,Java,Web Services,Servlets,Soap,基本上,我需要读取客户端通过URL发送的XML SOAP数据。 我需要使用java来读取XML SOAP数据,并将整个XML插入到数据中 客户机提供的示例XML格式如下所示: <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="WebService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<soapenv:Header/>
<soapenv:Body>
<web:StatusUpdate soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Order xsi:type="xsd:string">?</Order>
</web:StatusUpdate>
</soapenv:Body>
</soapenv:Envelope>
?
您的通信是通过SOAP进行的..或者REST(正如您提到的URL)通信是通过SOAP进行的。是否有人建议上述解决方案?