cancel
Showing results for 
Search instead for 
Did you mean: 

Error while executing Secure SOAP web service from Web Service Navigator

Amey-Mogare
Contributor
0 Kudos

Hi All,

I have created a web service for a stateless session bean choosing option "Secure SOAP".

When I am testing it through web service navigator, it is showing following error:-

Security: Authentication expected but missing

And in response text it is showing following :-


HTTP/1.1 500 Internal Server Error
Connection: close
Server: SAP J2EE Engine/7.00
Content-Type: text/xml; charset=UTF-8
Date: Wed, 17 Dec 2008 05:42:10 GMT
Set-Cookie: <value is hidden>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Security: Authentication expected but missing</faultstring><detail><ns1:com.sap.engine.interfaces.webservices.runtime.ProtocolException xmlns:ns1='http://sap-j2ee-engine/error'>Security: Authentication expected but missing</ns1:com.sap.engine.interfaces.webservices.runtime.ProtocolException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

Can anybody help me with above thing?

And my second question : I have created web service with "Basic Auth SOAP" option. and while executing at web service navigator, its asking for username & password.

What role / right should be granted to this user so as to make him able to execute this web service? This user must be a UME user, correct?

Pls help me in resolving this.

Thanks and regards,

Amey Mogare

Accepted Solutions (1)

Accepted Solutions (1)

former_member201361
Active Contributor
0 Kudos

Hi Amey,

refer this thread

[]

Thanks and Regards

Amey-Mogare
Contributor
0 Kudos

Hi Fazal,

I have read the thread, but my questions are still unanswered.

1. I know how to set username and password while using "Basic Auth SOAP" protocol. But my question in this case is what are the accesses user requires to be able to execute web service.

2. And about Secure SOAP, why is above mentioned error is appearing?

Thanks and regards,

Amey Mogare

Answers (0)