Question
· Aug 16, 2023

Web client from SOAP Service

I created a web service and used the Studio SOAP Wizard to generate a client from the WSDL file of the service. But the client is throwing the error as shown below

 WebServiceClientClass '' could not be instantiated, or the WebServiceURL Location could not be determined

What have I missed?

Is there a better way to create a client?

Product version: HealthShare 2019.1
$ZV: HealthShare 2019.1 [HealthShare Modules: Core:17.2.1012 + Linkage Engine:15.03.1009 + Patient Index:17.1.1012 + Clinical Viewer:17.1.1012 + Active Analytics:17.2.1012] - Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2018.1.2 (Build 310_6_19928U) Th
Discussion (2)2
Log in or sign up to continue

Interesting, I see this error: Illegal CSP Request : CSP Error  and here is the stack trace

11 DO zProcessRequest+1^%CSP.Request.1
    12 PARAMETER ?
    13 NEW NEW %SYSLOG
     14 ERROR TRAP S $ZTRAP="+117^%SYS.cspServer2"
     15 DO Request+25^%SYS.cspServer2
     16 DO Request+645^%SYS.cspServer2
    17 PARAMETER .?,?,?
     18 DO zProcessRequest+1^%CSP.Session.1
    19 PARAMETER .?,?,?
    20 NEW NEW %request,%response,%session,%cspdebug,%cspsoapservice,%SYSLOG
     21 NEW $ NEW $ETRAP
     22 ERROR TRAP S $ZTRAP="+1031^%SYS.cspServer"
     23 DO CSPDispatch+275^%SYS.cspServer
     24 NEW $ NEW $ROLES
     25 $$EXTFUNC CSPDispatch+466^%SYS.cspServer
    26 PARAMETER ?
    27 NEW NEW %CSPsc
     28 $$EXTFUNC zPage+8^%CSP.ErrorLog.1
     29 PARAMETER
     30 NEW $ NEW $ETRAP
     31 DO zOnPage+2^%CSP.ErrorLog.1
     32 DO zLogError+7^%CSP.ErrorLog.1
    33 PARAMETER %00000
     34 ERROR TRAP S $ZTRAP="LOGE^%ETN"
     35 DO LOG+7^%ETN ~d BACK
    36 NEW NEW %00000
     37 ERROR TRAP S $ZTRAP="ETNERRB^%ETN"

Is there something I need to change in the web gateway?

Thanks