Article View: borland.public.cppbuilder.internet.web
Article #170Re: HELP - AV when calling a web-service from inside a web-service
From: const * const char ME
Date: Tue, 25 Sep 2007 14:11
Date: Tue, 25 Sep 2007 14:11
35 lines
2175 bytes
2175 bytes
"Brian" <brian@nospam.net> wrote
> Check pIPS - it's obviously not NULL but I don't think your constructor is
> working properly. Can you post your constructor code?
It is the auto generated one that the IDE creates when you import a
web-service. This kind of constructor I have used for years on several
web-services with no issue.... Hmmm
//
_di_IMyWebService2 GetIMyWebService2 (bool useWSDL, AnsiString addr)
{
static const char* defWSDL=
"http://changed.for.privacy.reasons/isapimodule.dll/wsdl/IMyWebService2";
static const char* defURL =
"http://changed.for.privacy.reasons/isapimodule.dll/soap/IMyWebService2";
static const char* defSvc = "IMyWebService2";
static const char* defPrt = "IMyWebService2";
if (addr=="")
addr = useWSDL ? defWSDL : defURL;
THTTPRIO* rio = new THTTPRIO(0);
if (useWSDL) {
rio->WSDLLocation = addr;
rio->Service = defSvc;
rio->Port = defPrt;
} else {
rio->URL = addr;
}
_di_ISSPartnerSecurity service;
rio->QueryInterface(service);
if (!service)
delete rio;
return service;
}
Technical Details
Message-ID:
<46f9172d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46f3b594$1@newsgroups.borland.com> <2f97fdd05ed08c9ccae9e1b9950@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8954c6db24489fb1 X-Google-Attributes: gidfeeec,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "const * const char ME" <smakjasdhfg@iuyd.com> Newsgroups: borland.public.cppbuilder.internet.web References: <46f3b594$1@newsgroups.borland.com> <2f97fdd05ed08c9ccae9e1b9950@newsgroups.borland.com> Subject: Re: HELP - AV when calling a web-service from inside a web-service Date: Tue, 25 Sep 2007 07:11:01 -0700 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 NNTP-Posting-Host: 209.17.173.11 Message-ID: <46f9172d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1190729517 209.17.173.11 (25 Sep 2007 07:11:57 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail