springrestweb-servicessap-commerce-cloudwebservices-client

Create a web service client in Hybris


Im new in Hybris and I need to build a web service client that consumes a web service rest.

Someone have an example? or something that give me an idea, I dont know if is the same like build a web service client in spring.

Thank you.


Solution

  • For REST you can use the default Spring framework for rest client. See this tutorial. here You can create a new extension or use one of yours. See below for more info.

    I used Apache Axis2 for consuming the WSDL (the web service). There are a lot of examples and tutorials on the internet for this. It can easily be integrated in Hybris.