Created
August 8, 2012 21:45
-
-
Save abadongutierrez/3299067 to your computer and use it in GitHub Desktop.
Ejemplo SOAP Envelope usando UsernameToken
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<soapenv:Envelope xmlns:sch="http://www.itbrain.com.mx/vacaciones/schemas" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soapenv:Header> | |
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-1"> | |
<wsse:Username>Rafael</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">rafael</wsse:Password> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soapenv:Header> | |
<soapenv:Body> | |
<sch:SolicitudVacacionesRequest> | |
<!--You may enter the following 4 items in any order--> | |
<sch:nombre>Rafael Gutierrez</sch:nombre> | |
<sch:noDias>14</sch:noDias> | |
<sch:fechaInicio>2012/02/12</sch:fechaInicio> | |
<sch:descripcion>Necesito descansar</sch:descripcion> | |
</sch:SolicitudVacacionesRequest> | |
</soapenv:Body> | |
</soapenv:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment