Long rVal
Powerobject lp_obj
The soapconnection lsc_conn
Service1 lsrv_obj//generated proxy object name
Lsc_conn=create the soapconnection
Lsc_conn. Createinstance (lsrv_obj, "service1")
Ls_countryname=lsrv_obj. GetStringCountryNameById (as_countryid);
Return ls_countryname;
Perform to lsc_conn. The createinstance (lsrv_obj, "service1) times bad runtime function reference, consult ace, urgent
CodePudding user response:
PbsoapclientXXX. PBX and pbsoapclientXXX. PBD included in the application directory, and in the application to load pbsoapclientXXX. The PBDCodePudding user response:
In the code in the try... Createinstance () wrapped up,,,Such as:
Try
Li_ret=myconn. Createinstance (webs, 'n_aeupms is_wsdl)
The catch (soapexception SEC)
Messagebox (' error, the SEC. Text)
Return
End the try
CodePudding user response: