login about faq

I have a simple SOAP request but the server is expecting the Password Type to be PasswordText. The request with SOAP-UI (if WSS-Password Type=PasswordText in the property panel) works. I'm stumped on setting the Password Type in HTTP Chilkat component. Thanks for any Help

asked Jan 02 at 13:16

Simon56's gravatar image

Simon56
112


The WSS-Password is just part of the SOAP message (XML) that is the body of the HTTP request..

See https://docs.oracle.com/cd/E21455_01/common/tutorials/authn_ws_user.html

link

answered Jan 06 at 14:46

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

The problem is that it seems I have to add WS-Security UserNamePassword Token to the outgoing request. To be honest I have no idea how to do that.

link

answered Jan 18 at 13:55

Simon56's gravatar image

Simon56
112

Let me know which programming language/operating system build you need for a pre-release, if you need to do the example below..

(Jan 18 at 18:26) chilkat ♦♦

I created an example for you, but it requires Chilkat v9.5.0.66 (I'm also going to post another example that doesn't require computing a hash, and simply adds the password directly..)

Android: SOAP WS-Security UsernameToken

Classic ASP: SOAP WS-Security UsernameToken

C: SOAP WS-Security UsernameToken

C++: SOAP WS-Security UsernameToken

C#: SOAP WS-Security UsernameToken

C# UWP/WinRT: SOAP WS-Security UsernameToken

DataFlex: SOAP WS-Security UsernameToken

Delphi ActiveX: SOAP WS-Security UsernameToken

Delphi DLL: SOAP WS-Security UsernameToken

.NET Core C#: SOAP WS-Security UsernameToken

Excel: SOAP WS-Security UsernameToken

Visual FoxPro: SOAP WS-Security UsernameToken

Java: SOAP WS-Security UsernameToken

Lianja: SOAP WS-Security UsernameToken

MFC: SOAP WS-Security UsernameToken

Mono C#: SOAP WS-Security UsernameToken

Node.js: SOAP WS-Security UsernameToken

Objective-C: SOAP WS-Security UsernameToken

Perl: SOAP WS-Security UsernameToken

PHP ActiveX: SOAP WS-Security UsernameToken

PHP Extension: SOAP WS-Security UsernameToken

PowerBuilder: SOAP WS-Security UsernameToken

PowerShell: SOAP WS-Security UsernameToken

PureBasic: SOAP WS-Security UsernameToken

Python: SOAP WS-Security UsernameToken

Ruby: SOAP WS-Security UsernameToken

SQL Server: SOAP WS-Security UsernameToken

Swift: SOAP WS-Security UsernameToken

Tcl: SOAP WS-Security UsernameToken

Unicode C: SOAP WS-Security UsernameToken

Unicode C++: SOAP WS-Security UsernameToken

Visual Basic 6.0: SOAP WS-Security UsernameToken

VB.NET: SOAP WS-Security UsernameToken

VB.NET UWP/WinRT: SOAP WS-Security UsernameToken

VBScript: SOAP WS-Security UsernameToken

Xojo Plugin: SOAP WS-Security UsernameToken

link

answered Jan 18 at 18:26

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Here's the other example that uses the password directly rather than a password digest:

Android: SOAP WS-Security Username Authentication

Classic ASP: SOAP WS-Security Username Authentication

C: SOAP WS-Security Username Authentication

C++: SOAP WS-Security Username Authentication

C#: SOAP WS-Security Username Authentication

C# UWP/WinRT: SOAP WS-Security Username Authentication

DataFlex: SOAP WS-Security Username Authentication

Delphi ActiveX: SOAP WS-Security Username Authentication

Delphi DLL: SOAP WS-Security Username Authentication

.NET Core C#: SOAP WS-Security Username Authentication

Excel: SOAP WS-Security Username Authentication

Visual FoxPro: SOAP WS-Security Username Authentication

Java: SOAP WS-Security Username Authentication

Lianja: SOAP WS-Security Username Authentication

MFC: SOAP WS-Security Username Authentication

Mono C#: SOAP WS-Security Username Authentication

Node.js: SOAP WS-Security Username Authentication

Objective-C: SOAP WS-Security Username Authentication

Perl: SOAP WS-Security Username Authentication

PHP ActiveX: SOAP WS-Security Username Authentication

PHP Extension: SOAP WS-Security Username Authentication

PowerBuilder: SOAP WS-Security Username Authentication

PowerShell: SOAP WS-Security Username Authentication

PureBasic: SOAP WS-Security Username Authentication

Python: SOAP WS-Security Username Authentication

Ruby: SOAP WS-Security Username Authentication

SQL Server: SOAP WS-Security Username Authentication

Swift: SOAP WS-Security Username Authentication

Tcl: SOAP WS-Security Username Authentication

Unicode C: SOAP WS-Security Username Authentication

Unicode C++: SOAP WS-Security Username Authentication

Visual Basic 6.0: SOAP WS-Security Username Authentication

VB.NET: SOAP WS-Security Username Authentication

VB.NET UWP/WinRT: SOAP WS-Security Username Authentication

VBScript: SOAP WS-Security Username Authentication

Xojo Plugin: SOAP WS-Security Username Authentication

link

answered Jan 18 at 18:50

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×22

Asked: Jan 02 at 13:16

Seen: 2,552 times

Last updated: Jan 18 at 18:50

powered by OSQA