开发者

Web Reference Access Violation in Delphi 2005 .NET

开发者 https://www.devze.com 2023-02-14 20:57 出处:网络
I am creating an application that consumes a web-service in Delphi-2005 .NET. How I am doing it is adding a web-reference to the project and then supplying the url to the wsdl. This seems to work fi

I am creating an application that consumes a web-service in Delphi-2005 .NET.

How I am doing it is adding a web-reference to the project and then supplying the url to the wsdl. This seems to work fine in that a pas file is generated and added to the project but as soon as I compile the project I get and access violation in the Ide in dcc开发者_开发百科90il.dll

Anyone know how to solve this?


I suspect a fundamental .net interop, IDE, or RTL bug in Delphi2005.net. Can you download the trial version of Delphi2007.net and try it there?


I have been unable to get this to work or even determine why it is failing. I ended up generating code from the wsdl using wsdl.exe from MS and then compiled the source to an assembly using csc.exe.

The assembly works fine but Delphi generates obscure errors if an error is returned from the server.

imo Delphi sucks.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号