0

There is a big and old WebSphere service in my hand. This service basically working for most of the account operations like open,close,update etc. We use the Spring - Core project on the IBM WebSphere servers and as you know this is kind a little old. One of our goals is to transfer this architecture to REST Services. But I am confused, how should I start the road, all your recommendations would appreciated.

By the way, for me the main problem is WAS Service unfortunately it is not build on the local like Spring REST service, we can not debug on local. So we develop and transfer to UAT environment and test it. It is not a good practice because sometimes this causes huge costs.

You can see below this is the folder structure of service;

enter image description here

And in the web layer there is some WSDL per enviroment and binding stuff to server. I can not completely figure out how they are working, you can see this also below,

enter image description here

I know all of information given to you may not enough but at least you one of us show me the path , how to convert this Soap service to modern REST Spring Boot service,

Kind Regards,

dbreaux
  • 4,982
  • 1
  • 25
  • 64

1 Answers1

1

You should first start with analyzing whether it is really needed. WebServices are still pretty wide and robust standard, so unless you observe some critical issues with it dont change it.

Second, you have to check what WS features are currently used in your implementation, as some like message signing and encryption are quite hard to implement in REST.

Finally, if you still decide to change the architecture, I would use "strangler" approach, so slowly replace services one by one, as you will have to change both ends (client and server parts in your app), and you may have many apps/modules who act as clients to your services. You could even first create parallel REST endpoint, so you can fix also client by client and not all at the same time.

Gas
  • 17,601
  • 4
  • 46
  • 93
  • You point out important things , but there is still a big problem when it comes to WAS services which is How can I debug this services like using tomcat and make request from postman etc and finally debug ? – Ahmet Tarık Bostan Aug 01 '23 at 11:13
  • You can have WAS on your local machine and debug it like any java application when you run it in debug mode. I dont know which WAS version you are running and what WService version are you using, but you could also use lightweight WebSphere Liberty on your local machine. (depends what kind of WAS APIs are you using). – Gas Aug 01 '23 at 22:40
  • There is migration toolkit (https://www.ibm.com/support/pages/migration-toolkit-application-binaries) that can scan your application ear/war, if it is suitable for Liberty. – Gas Aug 01 '23 at 22:42
  • Thanks for your great support @Gas, I will have a look at this link – Ahmet Tarık Bostan Aug 02 '23 at 08:21
  • Here is download link for WebSphere Liberty for developers - https://www.ibm.com/support/pages/websphere-liberty-developers – Gas Aug 02 '23 at 10:36