🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Builder 6 and soap security wsse

#91
From: Mike Ruiz
Date: Mon, 14 May 2007 20:03
20 lines
1582 bytes
Hi,

We currently use C++ Builder 6 and need to use web services from a client that requires the wsse soap security packet in the header (as follows):

<soapenv:Header>
   <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/secext" soapenv:mustUnderstand="1">
<wsse:UsernameToken>
   <wsse:Username>"username goes here"</wsse:Username>
   <wsse:Password>"password goes here"</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>

The import from the WSDL works fine - all the functions are there. If I try to make a call, I get a security token error, due to the soap security header packet not being there (I've traced the packet and verified it's not there). I've tried everything I can to see if I can add this to the soap packet, but to no avail.

Anyone with any ideas??

Thanks in advance,
Mike Ruiz
Technical Details
Message-ID: <4648c077$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,2763311ba04b2ccc,start
X-Google-Attributes: gid11096a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Ruiz" <miker@washnet.com>
Sender: "Mike Ruiz" <miker@washnet.com>
Reply-To: "Mike Ruiz" <miker@washnet.com>
Subject: Builder 6 and soap security wsse
Newsgroups: borland.public.cppbuilder.webservices.soap
X-User-Info: 64.111.143.130     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4648c077$1@newsgroups.borland.com>
Date: 14 May 2007 13:03:03 -0700
X-Trace: newsgroups.borland.com 1179172983 207.105.83.66 (14 May 2007 13:03:03 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail