Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
SOAP
Client Applications
Components
Interface
Interoperability
Server Applications
Transfers
UDDI
Wizards
WSDL Importer
WSDL Importer- BCB
WSDLImp.exe
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/SOAP/Components
[ Add a report in this area ]
Report #:
5737
Status:
Closed
Generating WSIL from Service Page Info causes Access Violation
Project:
Delphi
Build #:
7.0.4.453
Version:
10.0
Submitted By:
Petr Vones
Report Type:
Crash / Data loss / Total failure
Date Reported:
8/27/2003 5:37:46 AM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
173994
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
Generating WSIL from Service Page Info causes Access Violation exception under Apache 2 (and possibly other web servers).
The bug is in TWSDLHTMLPublish.WSILInfo method. It calls CoUninitialize too early so the hidden interface cleanup code inserted by the compiler may touch invalid references because COM has been already terminated.
Steps to Reproduce:
1. Create simple Apache 2 shared module webservice
2. Run in under the server
3. Launch web browser and open webservice's info page
4. Click on "Link to WS-Inspection document of Services here" link
exp: WSIL document displayed
act: Internal Server Error 500 or other error message
Possible fix (WSDLPub unit) - tested on Apache 2.0.47
procedure TWSDLHTMLPublish.WSILInfo(const HostScriptBaseURL: string; Request: TWebRequest;
Response: TWebResponse; var Handled: Boolean);
procedure GenerateWSIL;
(original var declarations)
begin
(original code except CoInitialize/CoUninitialize )
end;
begin
CoInitialize(nil);
try
GenerateWSIL;
finally
CoUninitialize;
end;
end;
Workarounds
None
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us