Switching consuming Corticon web service from Soap to Restfu

Posted by navjot on 10-Jun-2019 14:45

I am using Corticon 5.5.2 and i have some services deployed on my corticon server. Earlier i was consuming those services as a SOAP but now i want to consume the same services as a Restful/Json services. Please provide me the sample code (Progress code will work) which will consume the corticon service as a restful/JSON.

Note: -  I am curious to know what will be URL for same service in Restful/JSON. For Eample if my service name is Order then will be the URL for that Service if i want to hit the service from SOAP UI.

Please provide me anything that you have to consume restful service.

All Replies

Posted by James Arsenault on 10-Jun-2019 15:12

If you upgrade to Corticon 5.6.1 or later you’ll benefit from Corticon’s inclusion of Swagger. This makes it much easier to learn and explore the REST API.
 
If you can’t upgrade, have a look at the client samples in
 
                <Corticon_work>/Samples/Clients
 
In their you’ll find samples for calling Corticon. In 5.6 and later you’ll find more even client samples.
 

This thread is closed