Showing results for 
Search instead for 
Did you mean: 

SOAMANAGER - WS security option

Former Member
0 Kudos

Dear guru,

i'm working with SAP web service technology. I build twe web service:

  • 1 WS consumer starting from WSDL file
  • 1 WS provider starting from WSDL file

Both services are up and running.

From security point of view i have a tricky requirement: both the WS must respect these features:

  1. transport channel security: http (not SSL required) with http login (userID and password)
  2. message security: WS secuirty is needed (WS username token: WS user and and password via soap header)

For the first point: no problem, i've been able to set up http login as requested.

After a lot of trials (changing security setting in SOAMANAGER and in ABAP WS definition - see enclosed pictures) , i didn't find out how to set up the WS security in addition to the http login security setting. It seems that the two security setting cannot be activated together.

For example, for the consumer WS, i'd like to obtain a message like the one attached to the message (sample.xml) where the WS credentials are passed via SOAP header. On the other hand, for the WS provider, i'd like to configure the security setting in order SAP can handle the WS security authentication check.

Any suggestion?

Thanks in advance



Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ehy guru,

no one ever tried to configure a web service provider with ws security (header security) to accept message payload like this:

<S:Envelope xmlns:S="" xmlns:wsse="" xmlns:wsu="" xmlns:xs="">


<wsse:Security S:mustUnderstand="1">

<wsu:Timestamp xmlns:ns15="" xmlns:ns14="" xmlns:ns13="" wsu:Id="_1">




<wsse:UsernameToken xmlns:ns15="" xmlns:ns14="" xmlns:ns13="" wsu:Id="uuid_ecbd28b7-4fb5-45e4-9054-6fd8ee5ba598">


<wsse:Password Type="">xxxxx</wsse:Password>









Fabrizio Gemma

Active Contributor
0 Kudos

First and foremost - never start the question on SCN with "dear guru". It's a sure way to get your question ignored.

You can't have different security level for the same web service, as far as I recall. Whenever we required different security we created different web services.

Not sure if it's an ABAP question though, you might want to check in the Basis forum for more up-to-date information.