cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication error when connecting to oData service SMP 3.0

sravanthi_polu
Contributor
0 Kudos

Hi Experts,

We have updated the server from SMP 3.0 SP04 PL2 --> SMP 3.0 SP10 --> SP10 PL1 – PL9 --> SMP 3.0 SP11.


The flow of request/response is as below

Rest Client-> SMP->ODATA project (ODATA from SOAP Services)->Adapter (Java Code deployed as WAR files in SMP)->Backend


Adapter Code(xxxx.war) which exposes SOAP WSDL for OData project


We have an application configured in SMP which had its more than one endpoint, which are from OData services deployed in SMP, which will call One WAR file for Backend data.

And the security profile for this application is HTTP/HTTPS Authentication (which is a URL from xxxx-app.war)

When connecting to the app we are encountring 401 error.

016 06 30 19:49:07#+0700#ERROR#com.sap.gateway.core.ip.provider.data.CamelDataProvider##R7arpZfzVxxA/1u58BJWig==#output##90e35473-3804-485e-8a83-be7d67d5a5f0#xxx.app.xxx#855c2a69-0245-4987-a7ba-c20693006bac#RequestResponse##{SMPARCH-5069-Runtime-changes-to-check-CSRF-token=true, SMPARCH-5015-otp-two-factor-authentication=false, SMPSRVRUN2-1755-use-start-pattern-for-rewriting=false, SMPSRVRUN4-636-HTTP-Traffic-Tracing=false, SMPARCH-5684-tenant-cors-configuration=true}##[Gateway][BUSINESS][CreateEntityFailed]:Data Provider - createEntity: service = XXXX ,  entity set = Login , request content type =  application/json , message =  com.sap.gateway.core.api.exception.IGWException: Could not send Message. : Transaction ID: f8b147b9-b2fc-41be-9578-e37fede8a9fa |

Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with http://localhost:8080/XXXX/ws/meap/XXXX

Also we can find the error below in the stacktrace_blob_db.log.

org.apache.olingo.odata2.api.exception.ODataApplicationException: Could not send Message.

Caused by: com.sap.gateway.core.api.exception.IGWException

Adapter transfer Backend to SOAP;   IGW transfer  SOAP to OData. On the IGW part, there is something wrong happend. Might be related to security issue.

Requesting your support to identify the root cause of the issue.Thanks in advance.

Thanks & Regards,

Sravanthi Polu

Accepted Solutions (0)

Answers (1)

Answers (1)

Kevin_SAP
Advisor
Advisor
0 Kudos

Perhaps check the IGW security configuration, you can test connect in SMP?

Regards,

Kevin