dev
dev

Reputation: 11

Using my Rest Service with WSO2 API Manager

I have my REST Service name getRates. Which accepts few inputs and gives out the loan rates. I wanted to use the API that I have with WSO2 Api Manager. I am not able to do it. I am not sure where and how to define the sample request/response code to check if my service is being hit or not. I have a URL to my Service but I want it to be used via WSO2 APi manager. Help me out with this

Upvotes: 1

Views: 163

Answers (1)

Question is too generic to give an exact answer. Please follow this guide to create a new API from scratch and add your backend service URL as 'Production Endpoint'. If you already have set this up and want to get an idea if the message flow is working correctly, enable wire logs as follows,

  • open log4j.properties file from a text editor. log4j.properties file is located in /repository/conf directory.
  • Un-comment the following entry.

log4j.logger.org.apache.synapse.transport.http.wire=DEBUG

Get an idea about the wire logs from here. Explain the steps you tried already and mention if you get any errors.

Upvotes: 0

Related Questions