Board index » delphi » Fix for using Delphi 6/7 client with ASP.NET 2.0 Web Service
Brett Bartholomew
![]() Delphi Developer |
Brett Bartholomew
![]() Delphi Developer |
Fix for using Delphi 6/7 client with ASP.NET 2.0 Web Service2005-12-06 03:47:13 AM delphi172 The Delphi 6/7 WSDL importer fails to add the following line to newly created webservice units for any .NET 2.0 webservice: InvRegistry.RegisterInvokeOptions(TypeInfo(Service1Soap), ioDocument); To fix, simply copy this line (replacing Service1 with your webservice name) into the Service unit's initialization section BELOW InvRegistry.RegisterInterface and InvRegistry.RegisterDefaultSOAPAction. The cause of the problem relates to document-based vs RPC soap rules. Brett www.autoglasscenter.com www.arniesautoglass.com www.oneilsglass.com www.jcglass.com www.nwautoglass.com |
danny heijl
![]() Delphi Developer |
2005-12-06 04:07:45 AM
Re:Fix for using Delphi 6/7 client with ASP.NET 2.0 Web Service
Brett Bartholomew schreef:
QuoteThe Delphi 6/7 WSDL importer fails to add the following line to newly --- |
Thomas G
![]() Delphi Developer |
2005-12-30 06:43:33 PM
Re:Fix for using Delphi 6/7 client with ASP.NET 2.0 Web Service
Many Thanks.
I searched a lot. Works for Delphi 2005 too. "Brett Bartholomew" <XXXX@XXXXX.COM> schrieb im Newsbeitrag news:4394990f$XXXX@XXXXX.COM... QuoteThe Delphi 6/7 WSDL importer fails to add the following line to newly |
Thomas Phaneuf
![]() Delphi Developer |
2006-02-26 12:51:40 PM
Re:Fix for using Delphi 6/7 client with ASP.NET 2.0 Web Service
Brett!
THANK YOU! Was tearing my hair out wondering where the parameters I was sending to the web service were going. This fixed it. -Tom "Brett Bartholomew" <XXXX@XXXXX.COM> writes news:4394990f$XXXX@XXXXX.COM... QuoteThe Delphi 6/7 WSDL importer fails to add the following line to newly |
stijnster
![]() Delphi Developer |
2006-03-03 11:25:32 PM
Re:Fix for using Delphi 6/7 client with ASP.NET 2.0 Web Service
Thanks for sharing that info.
|
Ivan Paulovich
![]() Delphi Developer |
2008-01-15 09:36:44 PM
Re:Fix for using Delphi 6/7 client with ASP.NET 2.0 Web ServiceQuoteThe Delphi 6/7 WSDL importer fails to add the following line to newly www.topxml.com/biztalkutilities |