🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.webservices.soap
Article #136

DynamicArray and "WSDL" link faild

#136
From: 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
Technical Details
Message-ID: <430c82c8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!atl-c07.usenetserver.com!news.usenetserver.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,32214bc1526b53a5,start
X-Google-Attributes: gid11096a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 24 Aug 2005 16:22:08 +0200
From: Stephane Wirtel <stephane.wirtel@descasoft.com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: fr, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.webservices.soap
Subject: DynamicArray  and "WSDL" link faild
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.68.194.197
Message-ID: <430c82c8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124893384 212.68.194.197 (24 Aug 2005 07:23:04 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!atl-c07.usenetserver.com!news.usenetserver.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail