I’m trying to expose a simple Restful service using WM Integration server, but I couldn’t find any samples or document apart from Restful service developer guide. Appreciate your guidance.
As per the document, I have created a folder ‘Program’ and trying to expose it’s resources through the Restful methods. Attaching the screen shot for your ref. What should do next? how do I expose these services for client? do I need to use web-service descriptors ? how to integrate the authentication?
That link seems to imply that the consumer is posting an XML document to the service, which as Dinesh has already discovered, is not always the case.
One of the better ways for you to get familiar with how it works is to run some data through it. My favorite option is to use something like soapUI in conjunction with services like savePipeline/restorePipeline.
From soapUI, play around with changing the HTTP method from GET to POST to whatever and notice different services being called. Also, play around with passing data to the service and changing the content-type around, such as text/xml, application/json, etc, etc.
Percy Castro,
Thanks. I’m able to validate the _get method using your guidance.
However, the response is in HTML format and expectation is to get it in JSON format. Please advise if I need to do any specific configuration while creating the _get service.