Skip to content

Instantly share code, notes, and snippets.

View jlmonteiro's full-sized avatar

Jorge Luiz Monteiro jlmonteiro

View GitHub Profile
@jlmonteiro
jlmonteiro / pre-commit-hook.groovy
Created September 10, 2012 18:16
pre-commit-hook
/**
* User: jorge.monteiro
* Date: 02/08/12
* Time: 09:52
*/
@Grapes([
@Grab(group = 'org.tmatesoft.svnkit', module = 'svnkit', version = '1.7.5'),
@Grab(group='log4j', module='log4j', version='1.2.17')
])
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fac="http://facade.sga.componente.anp.gov.br/">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username><![CDATA[usuario]]></wsse:Username>
<wsse:Password><![CDATA[senha]]></wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>