Server was unable to process request. ---> Object reference not set to an instance of an object解决

调用webService报Server was unable to process request. ---> Object reference not set to an instance of an object.解决

 

需要在生成的接口单元的initialization部分加上一句:InvRegistry.RegisterInvokeOptions(TypeInfo(ServiceSoap), ioDocument);

你可能感兴趣的:(WebService,Delphi,webService)