on 10-28-2011 11:48 AM
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="http://sap.com/xi/ME" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>
<wsse:UsernameToken wsu:Id="UsernameToken-35" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
<wsse:Username>ME_INTEGRATOR_USER</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MyPassword</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">r9ccFMjiZgrvpfsqTIceig==</wsse:Nonce>
<wsu:Created>2011-10-26T13:12:06.268Z<;/wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
...
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,
Martin
This was a problem with the new LoginModule for Webservices introduced in SAP ME 6.0.2. Is was removed in SAP ME 6.0.2.2 again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.