Wrong "org. Apache. Axis. AxisFault: Access violation at address 0232 a764 module in 'project1. DLL'. Read of address" trouble which used
Delphi7 development webservice expert help to see, what I use is wsCaller. The jar to test, and is there a better way of testing webservice
The function Tmain. Deduction (Shopno, openid: string; Money: integer) : string;
Var
Bs, cardid: string;
Jifen, kj_money: integer;
Sjkj_money: integer;
The begin
/////if not perform this is normal
WebModule1. ADOQuery1. Close;
WebModule1. ADOQuery1. SQL. The Clear;
WebModule1. ADOQuery1. SQL. The Add (' select * from Wechatinfo where WCIOPENID='" + trim (openid) + "' ");
WebModule1. ADOQuery1. Open;
/////if not perform this is normal
Result:='aaaaa
end
CodePudding user response:
Try to join CoInitialize and CoUninitialize up and downCodePudding user response:
The to jjpwebOr an error, please help to see again, thank you
CodePudding user response:
For the most part is TADOConnection connection is not successful, the open will go wrong,The database connection, find the reason,
CodePudding user response:
Problem solved; I also encountered similar problems, solvingCodePudding user response:
http://blog.csdn.net/pcwe2002/article/details/52527782Included in the sample back to HTTP by writing stored procedures provide json, than webservice efficiently