Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/SOAP/WSDL Importer- BCB    [ Add a report in this area ]  
Report #:  27661   Status: Closed
(Pulled) (After fix 237549)    Import ebay webservice (attached) in BCB project do not generate classes correct.    Steps :    Unzip the
Project:  C++Builder Build #:  
Version:    10.0 Submitted By:   John Kaster
Report Type:  Basic functionality failure Date Reported:  3/15/2006 12:00:00 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   239229
Resolution: Fixed (Resolution Comments) Resolved in Build: : 10.0.2288.42451
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
(After fix 237549)

Import ebay webservice (attached) in BCB project do not generate classes correct.

Steps :

Unzip the attachment it will create a new directory, 21908 (the QC number). In that directory you will find the .doc file and two project .zip files. Unzipping the project zip files will create two directories, TestAppBCBWSDL and TestAppDelphiWSDL.

then go to steps

Steps to Reproduce:
1) Open the project in DeXter.
2) Remove eBaySvc.cpp from the project and save it.
3) Delete eBaySvc.cpp and eBaySvc.h from the directory. There's a copy of these files in BCBWSDL, so you don't have to worry about saving them.
4) File/New/Other/WebServices. Double-click on WSDL Importer.
5) Browse to the eBaySvc.wsdl file in the TestAppBCBWSDL directory.
6) Click the Finish button. When processing finishes, click it again.
7) Your project will now contain a new eBaySvc.cpp file. SaveAll, then Save to save the files.
8) Build the project.
[C++ Error] Main.cpp(76): E2034 Cannot convert 'GeteBayOfficialTimeRequestType *' to 'GeteBayOfficialTimeRequestType'
[C++ Error] Main.cpp(76): E2342 Type mismatch in parameter 'GeteBayOfficialTimeRequest' (wanted 'const GeteBayOfficialTimeRequestType', got 'GeteBayOfficialTimeRequestType *')
[C++ Error] Main.cpp(78): E2451 Undefined symbol 'e'

case 2:
1) Open the TestAppDelphiWSDL project in DeXter.
2) Remove eBaySvc.pas and eBaySvc.h from the project.
3) Save the project and close it.
4) Delete eBaySvc.pas, eBaySvc.h and eBaySvc.hpp from the project directory.
5) File/New/VCL Forms Application - Delphi for Win32
6) Save the new project to some junk directory.
7) File/New/Other/Delphi Projects/WebServices, double-click WSDL Importer.
8) Browse to the eBaySvc.wsdl file in the TestAppDelphiWSDL directory.
9) Click the Finish button. When processing finishes, click it again.
10) Save eBaySvc.pas to the TestAppDelphiWSDL directory.
11) Close the Delphi project.
12) Open the TestAppDelphiWSDL project.
13) Add eBaySvc.pas to the project and save it.
14) Open eBaySvc.pas in the IDE and press Alt-F9 to build it.
15) In the project directory, rename eBaySvc.hpp to eBaySvc.h.
16) Build the project. Note that it builds without error.
17) In Main.cpp, uncomment the last line in the constructor.
18) Build the project again. I get:

[C++ Error] Main.cpp(53): E2316 'RequesterCredentials' is not a member of 'eBayAPIInterface'

19) Close the project.


Server Response from: ETNACODE01