REST Webservice

Hi everybody! :slight_smile:

I would like to know if there is any way to invoke a REST - webservice from within the Integration Server?
Thanks in advance.

Patrick

Patrick,

It sounds like you are asking if the Integration Server can be used as a client to a REST server. The answer is yes. The four HTTP methods required for full REST compliance (get, put, post, delete) are all available through the pub.client:http service. pub.client:http also makes all the data returned by a server - the response header fields and the response body - available to applications. You can use pub.client:http to issue requests to and get responses from a REST server.

Regards,
Michael

Hi Patrick/Michael,

Did you end up creating the REST client ?
I am new to webMethods and I am trying to create a REST client in webMethods 8.2 and I was wondering if you can share what all you did to achieve this?

Thanks
Surbhi

Surubhi – You can use “pub.client:http” service to call up your REST service. You can also use Soap tool, any browser has its own client to invoke REST services. Please give a try.

Thanks,

Thank you for your reply.
Can you please send a screen shot of what you did to consume the REST service ? Or the next steps in this process?
I am new to webMethods and I am trying to understand the process.

Thanks,
Surbhi

Surbhi – Download chrome rest client from below link.

chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo/RestClient.html#RequestPlace:history/130

After above step, you can use the attached snapshot to further proceed. Please let us know if you come across any issues.

As you are new to webMethods, better go through REST development guide to understand more on it.

Thanks,

Thanks for your help! I used “pub.client:http” and it worked!! :slight_smile:

Thanks for your help! I used “pub.client:http” and it worked!! :slight_smile:

Thanks for your help! I used “pub.client:http” and it worked!! :slight_smile:

Glad to hear.

Thanks,

I tried using the pub.client:http with method delete, but it does not seem to pass the data properly. The pipline on the called service remains blank

Hi

I am new to webMethods and i want to know step by step implementation of REST -webservice in webMethods-9.5can some one help me regarding this.

Thanks in advance.

Sai – Search in this community, you will find some threads which are really helpful.

Thanks,