OpenJDK中的soap响应为空

时间:2019-01-25 06:27:43

标签: java soap

我已经开发了访问SOAP服务的程序,并且我的Mac桌面使用oracle jdk-1.8,这是正确的,但是当我使用openjdk-1.8运行该程序时,出现了问题。

程序调试日志显示以下信息:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
    <getVerificationCodeResponse xmlns="http://tempuri.org/">
        <getVerificationCodeResult xmlns:a="http://schemas.datacontract.org/2004/07/CN.Focusmedia.Fum.Application.Model" 
            xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:Code>2000</a:Code>
            <a:Result>FAIL</a:Result>
            <a:ReturnMessage>Invalid Param</a:ReturnMessage>
        </getVerificationCodeResult>
    </getVerificationCodeResponse>
</s:Body>

所以我实际上从soap服务器获得了响应信息,但是从反序列化的java对象中得到了null。 我认为openjdk中缺少某些内容。

我的oracle jre库是这样的 enter image description here

和openjdk jre libs是 enter image description here

无明显差异。可能有人可以帮助我。

0 个答案:

没有答案
相关问题