How to fix this problem?
Error description: Error TOleAuto/65535 : TOLEAUTO:NEW
Args:
[ 1] = C MSSOAP.SoapClient30
Stack Calls
===========
Called from: => THROW( 0 )
Called from: source\rtl\win32ole.prg => TOLEAUTO:NEW( 0 )
Called from: source\rtl\win32ole.prg => CREATEOBJECT( 0 )
- Code: Select all Expand view
FUNCTION testurl()
LOCAL cJson:='{"sHospID":"1536151042","sHcaID":"D101460924","sPatID":"B120506881","sub":[{"sType":"0","sub":[{"sOrder":"C09DX03"},{"sOrder":"G04CA03"}]}]}'
local cUrl:="ttps://medcloudws.nhi.gov.tw:7008/imie0000/NHIIMI01.asmx"
oSoapClient:=CreateObject( "MSSOAP.SoapClient30" )
oSoapclient:MsSoapInit(cUrl)
oSoapclient:GetMedPrtData(cjson)
RETURN Nil