🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.webservices.soap
2 messages
2 total messages Started by Mike Ruiz Mon, 14 May 2007 20:03
Builder 6 and soap security wsse
#91
Author: 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
Re: Builder 6 and soap security wsse
#93
Author: Jean-Marie Babet
Date: Mon, 04 Jun 2007 19:45
13 lines
1349 bytes
Hello Mike,

My apologies for the delay (the past weeks were so focused on finishing
C++Builder that I had absolutely no time for reading the newsgroups).

You may have found this already... there's a 'OnBeforeExecute' event that
should allow you to modify the XML packet being sent. It's typically the
approach used to tweak the packet of a SOAP request. If you need more
information please let me know.

Cheers,

Bruneau.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads