与过去的java版本不同,java 11没有下载jre.运行一些基于java的软件时,我收到错误"没有java运行时环境".为了解决这个问题,我不得不安装java 8 jre.
鉴于没有更多的jre 11下载,如何让我的PC运行java 11 jre?
我使用的是Windows 10.
这是我第一次使用 SOAP。我正在尝试使用 cfinvoke 调用 web 服务,如下所示:
<cfinvoke
webservice="https://xyz/infoLookup.php?wsdl"
method="infoLookup"
returnVariable="info"
>
<cfinvokeargument name="phoneNumber" value="7182973186"/>
<cfinvokeargument name="userName" value="12345"/>
<cfinvokeargument name="password" value="password"/>
</cfinvoke>
<cfdump var="#info#">
Run Code Online (Sandbox Code Playgroud)
这是来自 WSDL 的消息名称的一部分:
<message name="infoLookupRequest">
<part name="phoneNumber" type="xsd:string" />
<part name="userName" type="xsd:string" />
<part name="password" type="xsd:string" />
</message>
Run Code Online (Sandbox Code Playgroud)
这是来自 WSDL 的操作名称的一部分:
<portType name="vtsInfoLookupPortType">
- <operation name="infoLookup">
<documentation>Get phone number information.</documentation>
<input message="tns:infoLookupRequest" />
<output message="tns:infoLookupResponse" />
</operation>
</portType>
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Unable to read WSDL from URL: https://xyz/infoLookup.php?wsdl.
Error: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.
The error occurred in C:\XYZ\A\Soap\soapreq.cfm: line …Run Code Online (Sandbox Code Playgroud)