🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Cannot Access Web Service

#75
From: Jean-Marie Babet
Date: Thu, 15 Mar 2007 22:08
31 lines
2301 bytes
Hello Matthew,

Can you post some additional information about the WebService? I know of
couple of issues that will cause problems. They are related to namespaces.
Basically, the support in CBuilder6 for document|literal services [default
for .NET WebServices] was rudimentary. If the service, for example, uses an
unqualified element, CBuilder6 always assumed qualified element. The net
result is that the XML sent to the service would not match what was
described in the WSDL, and the service will be unable to deserialize the
data.

If you control the WebService, you can maximize compatibility with CBuilder6
by using an Rpc style service. However, if you don't control the WebService
side, then we would need to find out a little more before coming up with a
solution/workaround.

If you can post (or email me if it contains sensitive data) the WSDL, we can
diagnose the problem a little more. Alternatively, .NET Webservices are
typically good at showing a sample of the XML they expect. You can compare
that with the one CBuilder6 is generating (you can peek at the XML by
handling the OnBeforeExecute event on the THTTPRIO) and often the issue will
be evident.

There were also some issues with cases where the method or parameters were
renamed (say because they conflict with a C++ keyword)...in these cases
C++Builder6 did not always renamed the identifier properly in the XML. Again
the WSDL will reveal if that's the issue.

Cheers,

Bruneau.
Technical Details
Message-ID: <45f9c3f3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45f9b458$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,95284ef13cb11f9f
X-Google-Attributes: gid11096a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jean-Marie Babet" <bbabet@borland.com>
Newsgroups: borland.public.cppbuilder.webservices.soap
References: <45f9b458$1@newsgroups.borland.com>
Subject: Re: Cannot Access Web Service
Date: Thu, 15 Mar 2007 14:08:50 -0800
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 10.143.19.52
Message-ID: <45f9c3f3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1173996531 10.143.19.52 (15 Mar 2007 15:08:51 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail