on 2023 Jan 08 12:22 PM
Hello Experts
I am developing a spring boot application that integrates with S/4Hana on premise
I am already done with the basic steps of enabling the cloud connector and adding the connectivity destination to my ERP, the application is up and and running on the cloud foundry platform and I am already calling the OData API services
how can I call the SOAP services using the SAP Java Cloud SDK ?!
Request clarification before answering.
I would suggest you check the answers to Integration between the SAP Cloud SDK and the Apache Axis2 framework for consuming SOAP APIs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SoapQuery has been renamed to SoapRequest but remained otherwise unchanged. Other than that I'd hope that this blog post is still somewhat up to date. Any changes (like the class renaming) would likely be mentioned here or in the release notes here. Other than that I am currently not aware of more detailed documentation, sorry.
Thank you for the response Mr Kuhr
I followed the steps carefully and figured out one thing: apache axis 2 kernel has to be version 1.7.9 other than that it won't work 🙂
Now I got to this point => "Transport error: 403 Error: HTTP/1.1 403 Forbidden" and figured out I have to do something from the ERP configurations, any tips on what to do ? I'm still new to the whole integration thing
Okay, so in case of a 403 I'd double check the permissions of the user. Also, make sure you are targeting the correct system by making sure the sap client is correct. Also double check that the path is allowed in the Cloud Connector.
You can also enable debug logs, specifically for org.apache.http.wire. That will print out more information about e.g. the response headers, where you should see the name of the system that answered your request.
If none of this helps I think you would have to check the error logs on server side. Naturally, to not give any information to a potential attacker, 4xx errors like 403 contain little information.
User | Count |
---|---|
58 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.