iT邦幫忙

0

[已解決]asp 接 webservice

大家好:

將https 修改成http 但不知道為什麼..

我照這篇教學,呼叫hello,本機測試正常顯示hello
https://ithelp.ithome.com.tw/articles/10212151
https://ithelp.ithome.com.tw/upload/images/20210522/20097057WAaxpgc0DG.png
我把http://localhost:12611/WebService1.asmx?WSDL 另存成ss.wsdl檔
https://ithelp.ithome.com.tw/upload/images/20210522/20097057EnUXphEfIn.png

再到IIS站台新增應用程式
https://tsv3.com.tw/sso/ss.wsdl

接著用asp用soap讀取,但不能連會產生以下字串,想請問是不是我web service有做錯..
之前連另一個公司給的wsdl檔是沒問題的,謝謝!

WSDLReader 錯誤 '80020009'
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: 要求的安全性封裝不存在 HRESULT=0x1: 功能錯誤。 - WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: 參數錯誤。 - Client:One of the parameters supplied is invalid. HRESULT=0x80070057: 參數錯誤。
/yy1/t3.asp, 行10

<%
   
 dim SoapClient
  set SoapClient = CreateObject("MSSOAP.soapClient30")
 const WSDL_URL="https://tsv3.com.tw/sso/ss.wsdl"
 SoapClient.ClientProperty("ServerHTTPRequest") = True
 SoapClient.mssoapinit WSDL_URL
%> 
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答