Upgrade SAP S/4HANA SOAP Connector to 2.x - Mule 4
Upgrade Anypoint Connector for SAP S/4HANA SOAP to take advantage of the increased security offered by using OAuth 2.0 authentication to connect to SAP S/4HANA SOAP.
This is a direct upgrade from version 1.0.0 version to 2.x.x.
|From Version||To Version|
OAuth 2.0 is supported.
The OAuth 2.0 Application Connection Provider option has been added to Connection types. For information about the configuration parameters for this connection type, see SAP S/4HANA SOAP Connector Reference.
Mule runtime engine (Mule) 4.2.1 or later is required.
The base package name has been changed to
com.mulesoft.connector.sap.s4hana.soapso that all exported classes now have different fully qualified names.
Before you upgrade, create a backup of your files, data, and configurations in case you need to restore to them.
Follow these steps to perform the upgrade:
In Anypoint Studio, create a Mule project.
In Mule Palette, click Search in Exchange.
In Add Dependencies to Project, enter
SAP S/4HANA SOAPin the search field.
In Available modules, select SAP S/4HANA SOAP Connector and click Add.
Verify that the
mule-sap-s4hana-soap-cloud-connectordependency version is the one you are upgrading to in the
pom.xmlfile in the Mule project.
Studio upgrades the connector automatically.
After you install the latest version of the connector, verify the upgrade:
In Studio, verify that there are no errors in the Problems or Console views.
Verify that there are no problems in the project
Test the connection and verify that the operations work.
If there are problems with caching the parameters and metadata, try restarting Studio.
If you must revert to your previous version of SAP S/4HANA SOAP Connector, change the
mule-sap-s4hana-soap-cloud-connector dependency version 2.x.x in the project’s
pom.xml to the previous version.