在我本地根据wsdl生成
QUERY = interface(IInvokable)
['{667B1D77-AE8B-67FF-2662-63F398D93566}']
function getRows(const parameters: getRows): getRowsResponse; stdcall;
procedure queryDataBase(const parameters: queryDataBase); stdcall;
function getCols(const parameters: getCols): getColsResponse; stdcall;
function getData(const parameters: getData): getDataResponse; stdcall;
我调用的时候
var
testbean:query;
temp_queryDataBase:queryDataBase;
begin
testbean:=httpRio1 as query;
temp_querydatabase:=querydatabase.Create;
testbean.querydatabase:=testbean.getRows(temp_queryDataBase);
错误提示“Received content of invalid content-Type setting:text/plain-SOAP expects "text/xml"”,请教是什么原因?
偶的querydatabse在服务端EJB里只是查询数据库的操作,不返回数据的