ik heb een webservice welke manueel correcte resultaten laten zien als ik via Internet explorer naar de webservice ga en vervolgens het webform invul en een invoke geef.
Als ik in delphi 6 de webservice importeer en uitvoer krijg ik een foutmelding.
Dit heb ik in delphi code
interface:
delphi Code:
GetConnectorSoap = interface(IInvokable)
['{89EB0994-6689-CC59-E572-D749D106864C}']
function GetData(const environmentId: String; const userId: String; const password: String; const logonAs: String; const connectorId: String; const filtersXml: String): String; stdcall;
function GetDataCollection(const environmentId: String; const userId: String; const password: String; const logonAs: String; const getConnectorsXml: String): String; stdcall;
end;
function GetGetConnectorSoap(UseWSDL: Boolean=System.False; Addr: string=''): GetConnectorSoap;
delphi Code:
memo1.lines.text := GetGetConnectorSoap.GetData('ERPDemo', '', '', '', 'ProfitCountries', '');
ik krijg de volgende foutmelding:
Project Project1.exe raised exception class ERemotableException with message 'Server was unable to process request. ---> Object reference not set to an instance of an object.'
heeft iemand een idee wat ik fout doe.
Bookmarks