🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Builder and SOAP request format

#94
From: Don Wilcox
Date: Thu, 28 Jun 2007 20:48
40 lines
2320 bytes
I am trying to interact with a web service using Builder 6. The service 
publishes that it wants the xml:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CreateAccessKey xmlns="https://gateway.acheck21.com/">
      <FrontEndID>string</FrontEndID>
      <ClientID>string</ClientID>
      <Username>string</Username>
      <Password>string</Password>
    </CreateAccessKey>
  </soap:Body>
</soap:Envelope>

But Builder formats it as:

<?xml version="1.0"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body 
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
   <NS1:CreateAccessKey xmlns:NS1="https://gateway.acheck21.com">
    <FrontEndID>string</FrontEndID>
    <ClientID>string</ClientID>
    <Username>string</Username>
    <Password>string</Password>
  </NS1:CreateAccessKey>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I'm sure there is a name for this, but I don't know what it is. Is there 
anyone who can help me fix it? Thanks.

Don 
Technical Details
Message-ID: <46841eab$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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

Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,af06090e442ba767,start
X-Google-Attributes: gid11096a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Don Wilcox" <don@drdwilcox.com>
Newsgroups: borland.public.cppbuilder.webservices.soap
Subject: Builder and SOAP request format
Date: Thu, 28 Jun 2007 13:48:43 -0700
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
NNTP-Posting-Host: 72.201.86.103
Message-ID: <46841eab$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183063723 72.201.86.103 (28 Jun 2007 13:48:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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: 2173