Invoking a webmethods service from unix script.

I need to write a shell script to invoke a webmethods service. could you plz. tell me how to do this. this is required for control M scheduler. thank you.

Use Developer to generate a java application that will invoke your service from the command line and then code your script to do so.

In Developer, go to Tools->Generate Code->For calling this service from a client->Java.

Mark

Another option is to use perl and the LWP library to do an HTTP get/post to the Integration Server service of interest.

Or cURL.

MCarlson,

Do you have an example of a shell scipt that uses cURL? Instead of wM scheduler, we’re trying a different method of automating or scheduling a services to run every 30 seconds.

You can also simple call your service using wget.