🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Importing WDSL

#116
From: Puri Vidal
Date: Tue, 23 Nov 2004 18:48
37 lines
2561 bytes
Hi all!!

I am starting with soap web services and I have some problems. Perhaps
somebody can help me.

When I use the WSDL Importer included in C++ Builder 6 to import the wsdl of
one web service, I get the following error:

// [WARNINGS]**************************************************************
//
// Warning: Literal parameters of MyFunction() cannot be unwound
// ************************************************************************
//

MyFunction has one input param and one output param. Both are "structures"
or complex types. Why am I getting that error? Is there a way to import
automatically that information (I have both wsdl and xsd files....)?

I tried to create those classes deriving from TRemotable, but I do not know
if I am doing it right because some fields of the structure are other
structures themselves, so I need to derive them too and, as VCL classes, I
have to use them as pointers. Can the published properties be pointers?

The output parameter has the following structure:
Attribute      Type                            Mult
Header        HeaderStructure           1
Success       SuccessStructure          0..1
Error           ErrorStructure               0..1
Header is always present and mus contain either success or error, but not
both... How do I define this in my class?

Sorry for all the questions, but the examples included works with "simple",
not complex types and I do not know where I can solve these doubts.

Thanks in advance for your help!!!

Puri
Technical Details
Message-ID: <41a38615@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,a874905c1ccc0d90,start
X-Google-Attributes: gid11096a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Puri Vidal" <pvidal@kilowattsa.es>
Newsgroups: borland.public.cppbuilder.webservices.soap
Subject: Importing WDSL 
Date: Tue, 23 Nov 2004 19:48:47 +0100
Lines: 39
Organization: Kilowatt S.A.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 80.224.0.116
Message-ID: <41a38615@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101235733 80.224.0.116 (23 Nov 2004 10:48:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail