I'm using NetExpress v3.10 and doing a web service application. Created a COM and already in my registry, created WSDL using MSSOAP toolkit v3.0, and now I want to call the web service thru NetExpress application. Code is as below;
$set ooctrl( p)
environment division.
special-names.
call-convention 74 is winAPI.
object section.
class-control.
entrycallback is class "entrycll"
exceptMgr is class "exptnmgr"
oleExceptMgr is class "oleexpt"
MSSOAP is class "$OLE$MSSOAP.SoapClient"
olesup is class "olesup".
:
:
:
78 wsdlURL value z"www.mysite.com/.../" &
"myservice.wsdl".
01 Soap object reference.
01 wsmlURL pic x value x"00".
:
:
:
*>configure WSDL/SOAP using myService module
invoke MSSOAP "new" returning Soap *>ERROR here
invoke Soap "mssoapinit" using wsdlURL
z"myService"
z"myservicesSoapPort"
wsmlURL.
Executed the application (using animate), and the first invoke MSSOAP "new" statement error below message appears;
Exception 65537 not trapped by the class oleexceptionmanager.
Description; "Server defined OLE exception"
Cannot bind to server MSSOAP.SoapClient
Hit T to terminate program. Hit any other key to continue.
What is wrong with it??
#NetExpressSOAPWebservice




