Skip to Content
0

SOAP call failed with HTTP 401 Unauthorised error.

Oct 26, 2016 at 07:38 AM

484

avatar image
Former Member

We have a scenario of FILE to Proxy where the receiver channel is connecting well to the back-end system .Channels ping doesn't through any error.While trying to send messages the SOAP call fails with the following error.

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 401 Unauthorized

SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 401 Unauthorized

Failed to call the endpoint: Error in call over HTTP: HTTP 401 Unauthorized

We have checked the authorization of all users and roles everything is fine.

On running XPI inspector over the SOAP adapter found following error.Don know what this error is about.

598 PICK: I/O problem: 598 I/O Error java.io.FileNotFoundException: E:\usr\sap\POD\SYS\global\DAS\xi_af_msg\2014\08\jk6gdgy4vmi6jty4aaabznqblg\message_ad29263e-0757-11e4-c046-00001cb6015e_outbound.xml (The system cannot find the file specified) 17:18:22:005 ezt Thread[HTTP Worker [@1978659017],5,~ com.sap.archtech.daservice 598 PICK: I/O problem: 598 I/O Error java.io.FileNotFoundException: E:\usr\sap\POD\SYS\global\DAS\xi_af_msg\2014\08\jk6gdgy4vmi6jty4aaabznqblg\message_ad29263e-0757-11e4-c046-00001cb6015e_outbound.xml (The system cannot find the file specified): I/O problem: 598 I/O Error java.io.FileNotFoundException: E:\usr\sap\POD\SYS\global\DAS\xi_af_msg\2014\08\jk6gdgy4vmi6jty4aaabznqblg\message_ad29263e-0757-11e4-c046-00001cb6015e_outbound.xml (The system cannot find the file specified)
[EXCEPTION]
java.io.IOException: I/O problem: 598 I/O Error java.io.FileNotFoundException: E:\usr\sap\POD\SYS\global\DAS\xi_af_msg\2014\08\jk6gdgy4vmi6jty4aaabznqblg\message_ad29263e-0757-11e4-c046-00001cb6015e_outbound.xml (The system cannot find the file specified)
at com.sap.archtech.daservice.commands.PickMethod.execute(PickMethod.java:238)
at com.sap.archtech.daservice.DASmain.doPost(DASmain.java:631)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.security.PrivilegedActionImpl.run(PrivilegedActionImpl.java:103)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:394)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Can anyone shed light on this issue ,not sure at which point the call is failing.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raghuraman S Oct 26, 2016 at 07:42 AM
0

Hello,

Check if the User is locked and destination/endpoint in the Soap channel is correct.

If everything is fine,check if the below note helps

SAP Note 821026 - Adapter Engine messaging URL returns HTTP 401 under high load since you encounter the error 'sometimes'.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 04, 2016 at 03:26 AM
0

Hi Raghuraman,

We have checked and the user has not been locked and the system is not under heavy load as it is a Non-production system.URL used is also correct

Regards,

Philo

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello,

Check if the user has below roles as mentioned.and also confirm if the XI 3.0 protocol is used in the channel.

https://archive.sap.com/discussions/thread/3500645

0