Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DynamicArray<double> is not parsed correctly

7 views
Skip to first unread message

enzo

unread,
Jul 31, 2007, 12:02:07 PM7/31/07
to
I'm using c++builder 6 and I'm trying to build a server soap.
I make I simple one, using the demo function provided by the ide.
and I gor the interface reported belowe:

__interface INTERFACE_UUID("{A39C5376-783B-4D5A-989E-85EA03B5FA33}")
IGeneralInterface : public IInvokable
{
public:
virtual SampleEnum echoEnum(SampleEnum eValue) = 0;
virtual TDoubleArray echoDoubleArray(const TDoubleArray daValue)
= 0;
virtual TSampleStruct* echoStruct(const TSampleStruct* pEmployee) =
0;
virtual double echoDouble(double dValue) = 0;
};
typedef DelphiInterface<IGeneralInterface> _di_IGeneralInterface;

Strange enough, it seems that TDoubleArray, defined as DinamycArray (
typedef DynamicArray<double> TDoubleArray; ) is not parsed correctly.
The error reported by the browser when I try to get the wsdl file is:

http://localhost/soap-test/testSoapInterface.exe/wsdl/IGeneralInterface

Error: This name may not contain the ':' character:
-->:<--n1/EOleException

some suggestions about this probles ?
regards, Enzo Arlati


Omar Zelaya

unread,
Aug 1, 2007, 6:08:01 PM8/1/07
to
Hi Enzo,

IIRC, there are some unoficial updates to the wsdlnode.pas and xmldoc.pas
files for C++ Builder 6, i think i had the same problems and after updating
the files and included them on my webservice app, it worked ok.

Dont remember the exact changes to these files :(, but i have the updated
ones :)

Omar Zelaya

"enzo" <enzo....@aesys.it> wrote in message
news:mn.fc3a7d773...@aesys.it...

enzo

unread,
Aug 2, 2007, 3:52:01 AM8/2/07
to
I've tried the belowe:
http://dn.codegear.com/article/28514#WideStringLeak
but it didn't work.
mybe there should be revision compatibility my C++builder 6 is build
10.166 ( no service pack )
what service pack you have installed ?

regards, Enzo


Omar Zelaya ha spiegato il 02/08/2007 :

0 new messages