🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TSOAPAttachment changing content ID (CID)

#51
From: Ronald Stubbe
Date: Mon, 04 Aug 2008 11:25
20 lines
1622 bytes
It is possible to change the content ID that the TSOAPAttachment generates. 

The reason is that the server that the application is talking to rejects the attachtment (wihout given a proper error message). 

Tracing back the differences between what my applicaion sends out and what there apps sends, is the Content ID lines

There apps:
<documentFile href='cid:http://082142CB-493B-7DD9-B700-949C0E0D272B'>
Content-ID: <http://082142CB-493B-7DD9-B700-949C0E0D272B>

My apps:
<documentFile href="cid:BF16F1CE-418A-4FD0-8FF8-58218E33615A"/>
Content-ID: <BF16F1CE-418A-4FD0-8FF8-58218E33615A>

The only difference is the "http://" bit which is missing and needs to be added.

Can this be done??

Thanks
Technical Details
Message-ID: <4896e71b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,bccda9417af17791,start
X-Google-Attributes: gid11096a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ronald Stubbe" <rstubbe@nospam.nospam>
Sender: "Ronald Stubbe" <rstubbe@nospam.nospam>
Reply-To: "Ronald Stubbe" <rstubbe@nospam.nospam>
Subject: TSOAPAttachment changing content ID (CID)
Newsgroups: borland.public.cppbuilder.webservices.soap
X-User-Info: 195.169.141.54     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4896e71b@newsgroups.borland.com>
Date: 4 Aug 2008 04:25:15 -0700
X-Trace: newsgroups.borland.com 1217849115 207.105.83.66 (4 Aug 2008 04:25:15 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1386