×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




"security" doesn't tell us much...

We've got SOAP services that use Web Service Security..
https://en.wikipedia.org/wiki/WS-Security

Basically it requires sending a header before the body...

Here's some good info
https://stackoverflow.com/questions/3448498/example-of-soap-request-authenticated-with-ws-usernametoken


This requirement doesn't show in the WSDL, you'd need to talk to the
provider of the service to find out what's needed.

Charles


On Thu, Jun 6, 2019 at 7:34 AM Kerwin Crawford via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

I have a RPGLE program that is using HTTPAPI to send a SOAP request to a
web service. This is my first SOAP request I have done a few REST.

The message I am getting back is (I get the same message using SoapUI and
my program):
InvalidSecurity
An error occurred when verifying security for the message.

My contact at that company said:
The error is being caused by the signature is missing from the SOAP
request.

I have the certificate created and we have exchanged the certificate
information.
I am assuming that I need to change something in the Digital Certificate
Manager (DCM). Can someone point me in the correct direction?

If I need to post this question on a different list let me know.

P#
Kerwin Crawford
IBMi Programming Team Leader
IBMi Systems/Applications Programmer
n
ASI (Application Software Inc.)

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.