can you tell me how to integrate paytm API in spring boot and how to add paytm checksum in pom.xml
first of all you need to read paytm's api documentation and then u can use these to consume the restful web service of paytm , just make your own classes for receiving and sending objects to the service:
Consuming restful web services in spring boot
by the way if you dont like making classes u can just retrieve the response in the form of String.class and just parse them with a json parser lib
Related
Please help me to integrate paypal payment gateway using rest api. I used react js as frontend. Spring boot as backend. Need to implement validate payment by paypal rest sdk from backend side
Implementation rest api papal payment gateway with react and spring boot
Looking thru i was able to see this https://www.baeldung.com/java-stripe-api
and this video https://www.youtube.com/watch?v=tTm3hPzBRgg
Then this https://erpsolutions.oodles.io/developer-blogs/Integrating-Stripe-Payment-Gateway-Using-Spring-Boot/
And this is more explanatory https://attacomsian.com/blog/stripe-integration-with-spring-boot
I have a Rest Spring boot application, I need to invoke external SOAP webservice in my Rest Spring boot application - similar question asked in stackoverflow - Calling a SOAP service using REST service but didn't get any exact steps. One blog I found the solution but don't know whether it right approach or not - https://docs.oracle.com/cd/E19340-01/820-6767/aeqgc/index.html
Let me know if anyone knows the solution. Whether need to create wsdl in Spring boot rest application or directly convert the json to xml and invoke the endpoint ?
The WSDL is provided by the SOAP Web service. You can get it by visiting its WSDL endpoint url.
The idea is that once you get the WSDL , copy it to your project folder and then use some maven plugin to generate a SOAP client from the WSDL. Here is the spring official guide for how to do it.
You operate the generated client in the java object level and it will help to format the SOAP request in the correct XML format and then send out .So you do not need to manually create the XML request by yourself.
I am using spring cloud for API gateway I want to know how can we communicate one microservice to another also fetch data from any other microservices
Use OpenFeign, Check the documentation in spring
Spring Documentation for OpenFeign
I have set up a basic soap spring boot web service using the spring initializer.
I have set up a user endpoint and user service as well as a soap web service config. when sending the soap request in postman I get an empty response back
The sample you have posted seems to be inspired from the spring Spring Sample
There is every step explained.
I'd recommend SopaUI too as #earandap mentioned.
I need to create a SOAP based Web Service using Spring Integration which will process the request payload in a Service Activator and then generate and send the appropriate response.
WSDL file is in my hand along with XSDs for request and response message. So I need to create the web service using WSDL.
If anyone can provide any example or tutorial on this subject??
Looks like Spring Integration Sample on the matter gives you answers.
And some info in the Reference Manual
You need to configure Spring WS infrastructure (see its documentations).
Refer your <int-ws:inbound-gateway> to the org.springframework.ws.server.endpoint.mapping.UriEndpointMapping as defaultEndpoint.
And go ahead with other your business logic.