Quantcast
Channel: iPaaS@ORACLE.CLOUD
Viewing all articles
Browse latest Browse all 872

#371 how to execute a shell script command from SOA Suite

$
0
0
Simple approach here -

execute the shell cmd from Java.
Expose the Java class as a web service.
Invoke from BPEL.

I got the Java code from here
Essentially the web service operation accepts in a website as string.
All I do is execute a ping and then return the result.

I massaged it a bit and then deployed as a web service to Weblogic.

I then created the composite -







Deploy and test -












Java project here
SOA project there

Viewing all articles
Browse latest Browse all 872

Trending Articles