Skip to Content
Former Member
Oct 28, 2011 at 10:48 AM

Unexpected WebService SOAP Message Authentication Error


NetWeaver 7.3 -> NWA -> SOAP -> Single Service Administration

What might be the problem if I can't use the SOAP "Message Authentication" with "User ID/Password"?

I want to call a WebService from SAP ME 6.0, which requires BASIC authentication level. I activated the "User ID/Password" for "Message Authentication". Afterwards you should be able to call the WebService with SOAP Authentication.

SOAP Authentication Example

<soapenv:Envelope xmlns:me="" xmlns:soapenv="">
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="";>
      <wsse:UsernameToken wsu:Id="UsernameToken-35" xmlns:wsu="";>
        <wsse:Password Type="">MyPassword</wsse:Password>
        <wsse:Nonce EncodingType="">r9ccFMjiZgrvpfsqTIceig==</wsse:Nonce>

But if I call the WebService with SOAP authentication, NetWeaver sends an HTML ⚠️ error page indicating an "401 Unauthorized" error. The user is a technical user with all SAP ME rolles and the administrator group assigned.

+ Why does the authorization not work?

+ Why was an HTML error page delivered instead of a SOAP error message?

+ Does NetWeaver produce this page or might it be a problem within the WebService implementation?

Best regards,