Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting Unable to read WSDL error
    primarykey
    data
    text
    <p>This is first time I'm using SOAP.I'm trying to invoke a webservice using cfinvoke which is as follows:</p> <pre><code>&lt;cfinvoke webservice="https://xyz/infoLookup.php?wsdl" method="infoLookup" returnVariable="info" &gt; &lt;cfinvokeargument name="phoneNumber" value="7182973186"/&gt; &lt;cfinvokeargument name="userName" value="12345"/&gt; &lt;cfinvokeargument name="password" value="password"/&gt; &lt;/cfinvoke&gt; &lt;cfdump var="#info#"&gt; </code></pre> <p>And here is a part of the message name from the WSDL :</p> <pre><code>&lt;message name="infoLookupRequest"&gt; &lt;part name="phoneNumber" type="xsd:string" /&gt; &lt;part name="userName" type="xsd:string" /&gt; &lt;part name="password" type="xsd:string" /&gt; &lt;/message&gt; </code></pre> <p>And here is a part of Operation name from WSDL:</p> <pre><code> &lt;portType name="vtsInfoLookupPortType"&gt; - &lt;operation name="infoLookup"&gt; &lt;documentation&gt;Get phone number information.&lt;/documentation&gt; &lt;input message="tns:infoLookupRequest" /&gt; &lt;output message="tns:infoLookupResponse" /&gt; &lt;/operation&gt; &lt;/portType&gt; </code></pre> <p>I'm getting the following error:</p> <pre><code>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 37 35 : &lt;cfinvokeargument name="phoneNumber" value="7182973186"/&gt; 36 : &lt;cfinvokeargument name="userName" value="12345"/&gt; 37 : &lt;cfinvokeargument name="password" value="password"/&gt; 38 : &lt;/cfinvoke&gt; 39 : </code></pre> <p>I have tried to search for the error online but couldn't figure how what's wrong in my code. Please let me know if I'm doing something wrong</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload