🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problems calling Dr.Bob's Temperature Converter Web Service

#10
From: Stephen Craig
Date: Wed, 12 Sep 2007 06:13
53 lines
2735 bytes
Thanks Bob,
That worked perfectly. Your help is very much appreciated.
This is an area that I have regrettably avoided for the past years and that 
was so easy (although you did all the work).

Steve

"Bob Swart" <Bob@BobSwart.com> wrote in message 
news:46E77DB5.7050906@BobSwart.com...
> Hi Stephen,
>
>> I am playing with Web Services and as a starter I am following a tutorial 
>> by Dr.Bob http://www.drbob42.com/examines/examin44.htm
>
> OK ;-)
>
>> http://www.eBob42.com/cgi-bin/Celsius42.asmx?wsdl
>>
>> This all works very nicely except that the remote function calls are 
>> returning values that indicate that I am sending an argument of zero.
>
> I can explain that: the Celsius42.asmx is hosted on a web server where the 
> virtual directories are configured as ASP.NET 2.0 - which was ASP.NET 1.1 
> in the past.
>
>> Any ideas?
>
> This is a known issue, described in more detail at
>
> http://www.bobswart.nl/Weblog/Blog.aspx?RootId=5:798
>
> Basically, you need to add a line to RegisterInvokeOptions for the 
> ioDocument on the just imported type.
>
> In the RegTypes() function, add the following line:
>
> InvRegistry()->RegisterInvokeOptions(__interfaceTypeinfo(Celsius42Soap), 
> ioDocument);
>
>
> > I am using the WSDL Import Wizard and BCB 6
>
> C++Builder 2007 does a correct import of this web service.
>
>> Steve
>
> Groetjes,
>           Bob Swart
>
> -- 
> Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
> CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
> Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml 
Technical Details
Message-ID: <46e7836d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46e68954@newsgroups.borland.com> <46E77DB5.7050906@BobSwart.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,4471dc1d0b747d41
X-Google-Attributes: gid11096a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stephen Craig" <stevecraig@wipethisout.ozemail.com.au>
Newsgroups: borland.public.cppbuilder.webservices.soap
References: <46e68954@newsgroups.borland.com> <46E77DB5.7050906@BobSwart.com>
Subject: Re: Problems calling Dr.Bob's Temperature Converter Web Service
Date: Wed, 12 Sep 2007 16:13:08 +1000
Lines: 55
Organization: Cubic Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 124.171.176.11
Message-ID: <46e7836d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1189577581 124.171.176.11 (11 Sep 2007 23:13:01 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 2594