🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.webservices.soap
1 messages
1 total messages Started by Stephane Wirtel Wed, 24 Aug 2005 14:22
DynamicArray and "WSDL" link faild
#136
Author: Stephane Wirtel
Date: Wed, 24 Aug 2005 14:22
32 lines
2060 bytes
Hi all,

I have TRemoteFile class, based on TInvokable :

class TRemotableFile : public TRemotable
{
private:
     WideString mFilename;
     TByteDynArray mContentFile;
     AnsiString mMd5File;
__published:
     __property WideString filename = {read = mFilename, write = mFilename };
     __property TByteDynArray contentFile = {read = mContentFile, write = mContentFile };
     __property AnsiString md5File = { read = mMd5File, write = mMd5File };
};

I defined a dynamicarray with TRemotableFile,

typedef DynamicArray <TRemotableFile *> ArrayOfFile;

In my RegTypes (), I added the following instructions :
   RemClassRegistry()->RegisterXSClass(__classid(TRemotableFile), L"", L"File", L"File");
   RemClassRegistry()->RegisterXSInfo(__arrayTypeinfo(ArrayOfFile), L"", L"FileArray", L"FileArray");

But If I try to get my wsdl file from IIS, the link is broken, with this error :
	Error : This name may not contain the ':' character: -->:<--n1/EOleException

A solution for my problem ?

Thanks,

Stephane
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads