Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Builder 6 and soap security wsse

21 views
Skip to first unread message

Mike Ruiz

unread,
May 14, 2007, 4:03:03 PM5/14/07
to

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

Jean-Marie Babet

unread,
Jun 4, 2007, 3:45:43 PM6/4/07
to
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.


0 new messages